ATLAS Offline Software
Loading...
Searching...
No Matches
P4JacobianEEtaPhiM2PtEtaPhiM Class Reference

#include <P4JacobianEEtaPhiM2PtEtaPhiM.h>

Inheritance diagram for P4JacobianEEtaPhiM2PtEtaPhiM:
Collaboration diagram for P4JacobianEEtaPhiM2PtEtaPhiM:

Public Member Functions

 P4JacobianEEtaPhiM2PtEtaPhiM (double E, double eta, double phi, double M)

Detailed Description

Definition at line 10 of file P4JacobianEEtaPhiM2PtEtaPhiM.h.

Constructor & Destructor Documentation

◆ P4JacobianEEtaPhiM2PtEtaPhiM()

P4JacobianEEtaPhiM2PtEtaPhiM::P4JacobianEEtaPhiM2PtEtaPhiM ( double E,
double eta,
double phi,
double M )

Definition at line 10 of file P4JacobianEEtaPhiM2PtEtaPhiM.cxx.

13 :
14 HepMatrix(4,4,0)
15{
16 double t = exp(-eta); // == tg(theta/2)
17 double P = std::sqrt( std::max( 0., E*E - M*M));
18 double u = 1+t*t;
19 double cosTheta = (1-t*t)/u;
20 double sinTheta = 2*t/u;
21
22
23 (*this)[0][0] = E/P * sinTheta; // dPt/dE
24 (*this)[0][1] = -P * cosTheta*sinTheta; // dPt/deta
25 (*this)[0][3] = -M/P * sinTheta; // dPt/dM
26
27 (*this)[1][1] = 1; // deta/deta
28 (*this)[2][2] = 1; // dphi/dphi
29 (*this)[3][3] = 1; // dM/dM
30}
Scalar eta() const
pseudorapidity method
static Double_t P(Double_t *tt, Double_t *par)
@ u
Enums for curvilinear frames.
Definition ParamDefs.h:77

The documentation for this class was generated from the following files: