20 nModule(-1), nRow(-1), nCrystal(-1), nCopy(-1), fEntering(kFALSE), fExiting(kFALSE)
31 : FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss, evtID),
32 nModule(mod), nRow(row), nCrystal(crys), nCopy(copy), fEntering(entering), fExiting(exiting)
34 SetLink(FairLink(
"MCTrack", trackID));
40 :FairMCPoint(point.fTrackID, point.fDetectorID, TVector3(point.
fX, point.
fY, point.
fZ), TVector3(point.fPx, point.fPy, point.fPz),
41 point.fTime, point.fLength, point.fELoss, point.fEventId),
42 nModule(point.nModule), nRow(point.nRow), nCrystal(point.nCrystal), nCopy(point.nCopy), fEntering(point.fEntering), fExiting(point.fExiting)
45 SetLinks(point.GetLinks());
55 cout <<
"-I- PndEmcPoint: EMC Point for track " << fTrackID
56 <<
" in detector " << fDetectorID << endl;
57 cout <<
" Position (" <<
fX <<
", " <<
fY <<
", " <<
fZ
59 cout <<
" Momentum (" << fPx <<
", " << fPy <<
", " << fPz
61 cout <<
" Time " << fTime <<
" ns, Length " << fLength
62 <<
" cm, Energy loss " << fELoss*1.0e06 <<
" keV" << endl;
64 cout <<
" Particle entering the crystal!" << std::endl;
67 cout <<
" Particle exiting the crystal!" << std::endl;
represents a mc hit in an emc crystal
Short_t GetModule() const
Bool_t GetExiting() const
Short_t GetCrystal() const
Bool_t GetEntering() const
virtual void Print(const Option_t *opt) const