9 #ifndef DUNEANAOBJ_SRLORENTZVECTOR_H
10 #define DUNEANAOBJ_SRLORENTZVECTOR_H
12 #if !defined(__GCCXML__) && !defined(__castxml__)
18 #include "TLorentzVector.h"
33 #if !defined(__GCCXML__) && !defined(__castxml__)
38 operator TLorentzVector()
const;
44 float T()
const {
return E;}
45 float X()
const {
return px;}
46 float Y()
const {
return py;}
47 float Z()
const {
return pz;}
48 float Mag()
const {
return sqrt(px*px + py*py + pz*pz);}
49 float Beta()
const {
return Mag()/E;}
50 float Gamma()
const {
return 1.0/sqrt(1-Beta()*Beta());}
52 TVector3 Vect()
const {
return TVector3(px, py, pz);}
Definition: SRLorentzVector.h:28
Common Analysis Files.
Definition: SRBeamBranch.h:13