Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Event
FourMom
src
EigenP4JacobianPxPyPzE2PxPyPzM.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
FourMom/EigenP4JacobianPxPyPzE2PxPyPzM.h
"
6
7
#include <cmath>
8
#include <algorithm>
9
10
EigenP4JacobianPxPyPzE2PxPyPzM::EigenP4JacobianPxPyPzE2PxPyPzM
(
double
px
,
11
double
py
,
12
double
pz
,
13
double
E
) :
14
AmgMatrix
(4,4)()
15
{
16
double
pt2 =
px
*
px
+
py
*
py
;
17
double
p2
= pt2 +
pz
*
pz
;
18
double
M = std::sqrt(
std::max
( 0.,
E
*
E
-
p2
));
19
this->setZero();
20
21
(*this)(0,0) = 1;
// dpx/dpx
22
(*this)(1,1) = 1;
// dpy/dpy
23
(*this)(2,2) = 1;
// dpz/dpz
24
25
(*this)(3,0) = -
px
/M;
// dM/dpx
26
(*this)(3,1) = -
py
/M;
// dM/dpy
27
(*this)(3,2) = -
pz
/M;
// dM/dpz
28
(*this)(3,3) =
E
/M;
// dM/dE
29
}
test_pyathena.px
px
Definition:
test_pyathena.py:18
EigenP4JacobianPxPyPzE2PxPyPzM.h
max
constexpr double max()
Definition:
ap_fixedTest.cxx:33
AmgMatrix
#define AmgMatrix(rows, cols)
Definition:
EventPrimitives.h:49
TRTCalib_cfilter.p2
p2
Definition:
TRTCalib_cfilter.py:131
Amg::pz
@ pz
Definition:
GeoPrimitives.h:40
Amg::py
@ py
Definition:
GeoPrimitives.h:39
VP1PartSpect::E
@ E
Definition:
VP1PartSpectFlags.h:21
EigenP4JacobianPxPyPzE2PxPyPzM::EigenP4JacobianPxPyPzE2PxPyPzM
EigenP4JacobianPxPyPzE2PxPyPzM(double px, double py, double pz, double E)
Definition:
EigenP4JacobianPxPyPzE2PxPyPzM.cxx:10
Generated on Fri Apr 25 2025 21:10:05 for ATLAS Offline Software by
1.8.18