ATLAS Offline Software
Public Member Functions | List of all members
EigenP4JacobianPxPyPzM2PxPyPzE Class Reference

#include <EigenP4JacobianPxPyPzM2PxPyPzE.h>

Inheritance diagram for EigenP4JacobianPxPyPzM2PxPyPzE:
Collaboration diagram for EigenP4JacobianPxPyPzM2PxPyPzE:

Public Member Functions

 EigenP4JacobianPxPyPzM2PxPyPzE (double px, double py, double pz, double M)
 
 ~EigenP4JacobianPxPyPzM2PxPyPzE ()
 

Detailed Description

Definition at line 10 of file EigenP4JacobianPxPyPzM2PxPyPzE.h.

Constructor & Destructor Documentation

◆ EigenP4JacobianPxPyPzM2PxPyPzE()

EigenP4JacobianPxPyPzM2PxPyPzE::EigenP4JacobianPxPyPzM2PxPyPzE ( double  px,
double  py,
double  pz,
double  M 
)

Definition at line 10 of file EigenP4JacobianPxPyPzM2PxPyPzE.cxx.

13  :
14  AmgMatrix(4,4)()
15 {
16  double pt2 = px*px + py*py;
17  double p2 = pt2 + pz*pz;
18  double E = std::sqrt( std::max( 0., M*M + p2));
19 
20  this->setZero();
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/E; // dM/dpx
26  (*this)(3,1) = py/E; // dM/dpy
27  (*this)(3,2) = pz/E; // dM/dpz
28  (*this)(3,3) = M/E; // dM/dE
29 }

◆ ~EigenP4JacobianPxPyPzM2PxPyPzE()

EigenP4JacobianPxPyPzM2PxPyPzE::~EigenP4JacobianPxPyPzM2PxPyPzE ( )
inline

Definition at line 14 of file EigenP4JacobianPxPyPzM2PxPyPzE.h.

14 {}

The documentation for this class was generated from the following files:
test_pyathena.px
px
Definition: test_pyathena.py:18
max
#define max(a, b)
Definition: cfImp.cxx:41
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