#include <EigenP4JacobianEEtaPhiM2PxPyPzE.h>
◆ EigenP4JacobianEEtaPhiM2PxPyPzE()
| EigenP4JacobianEEtaPhiM2PxPyPzE::EigenP4JacobianEEtaPhiM2PxPyPzE |
( |
double | E, |
|
|
double | eta, |
|
|
double | phi, |
|
|
double | M ) |
Definition at line 10 of file EigenP4JacobianEEtaPhiM2PxPyPzE.cxx.
13 :
15{
16 double t = std::exp(-
eta);
17 double P = std::sqrt( std::max( 0., E*E - M*M));
19 double cosTheta = (1-
t*
t)/u;
20 double sinTheta = 2*
t/
u;
21 double sinPhi = std::sin(
phi);
22 double cosPhi = std::cos(
phi);
23 double pt =
P * sinTheta;
24
25 this->setZero();
26
27 (*this)(0,0) = E/
P * sinTheta*cosPhi;
28 (*this)(1,0) = E/
P * sinTheta*sinPhi;
29 (*this)(2,0) = E/
P * cosTheta;
30 (*this)(3,0) = 1;
31
32 (*this)(0,1) = -
P * cosPhi * cosTheta*sinTheta;
33 (*this)(1,1) = -
P * sinPhi * cosTheta*sinTheta;
34 (*this)(2,1) =
P * sinTheta*sinTheta;
35
36 (*this)(0,2) = -pt * sinPhi;
37 (*this)(1,2) = pt * cosPhi;
38
39 (*this)(0,3) = -M/
P * sinTheta*cosPhi;
40 (*this)(1,3) = -M/
P * sinTheta*sinPhi;
41 (*this)(2,3) = -M/
P * cosTheta;
42}
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
#define AmgMatrix(rows, cols)
@ u
Enums for curvilinear frames.
◆ ~EigenP4JacobianEEtaPhiM2PxPyPzE()
| EigenP4JacobianEEtaPhiM2PxPyPzE::~EigenP4JacobianEEtaPhiM2PxPyPzE |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: