11 TVector3 pos, TVector3 mom, Double_t tof,
12 Double_t length, Double_t eLoss,
13 Int_t pdgcode, TVector3 Lpos, TVector3 Lmom)
14 : FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss, eventID),
16 fLpos{Lpos.X(), Lpos.Y(), Lpos.Z()},
17 fLmom{Lmom.X(), Lmom.Y(), Lmom.Z()} {}
21 TVector3 pos, TVector3 mom, Double_t tof,
22 Double_t length, Double_t eLoss,
24 : FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss, eventID),
26 fLpos{pos.X(), pos.Y(), pos.Z()},
27 fLmom{mom.X(), mom.Y(), mom.Z()} {}
31 LOG(info) <<
"-I- " << ClassName() <<
" point for track " << fTrackID
32 <<
" in detector " << fDetectorID;
33 LOG(info) <<
" Position (" << fX <<
", " << fY <<
", " << fZ <<
") cm";
34 LOG(info) <<
" Momentum (" << fPx <<
", " << fPy <<
", " << fPz <<
") GeV";
35 LOG(info) <<
" Time " << fTime <<
" ns, Length " << fLength
36 <<
" cm, Energy loss " << fELoss * 1.0e06 <<
" keV";
42 LOG(info) <<
"Nothing to see here";
virtual void Print() const
virtual void extraPrintInfo() const