12 AtSiPoint::AtSiPoint(Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length,
14 :
AtMCPoint(trackID, detID, pos, mom, tof, length, eLoss)
18 AtSiPoint::AtSiPoint(Int_t trackID, Int_t detID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut,
19 Double_t tof, Double_t length, Double_t eLoss, TString VolName, Int_t detCopyID, Double_t EIni,
20 Double_t AIni, Int_t A, Int_t Z)
21 :
AtMCPoint(trackID, detID, posIn, posOut, tof, length, eLoss, VolName, detCopyID, EIni, AIni, A, Z)
29 cout <<
"-I- AtSiPoint: AtSiArray point for track " << fTrackID <<
" in detector " << fDetectorID << endl;
30 cout <<
" Position (" << fX <<
", " << fY <<
", " << fZ <<
") cm" << endl;
31 cout <<
" Momentum (" << fPx <<
", " << fPy <<
", " << fPz <<
") GeV" << endl;
32 cout <<
" Time " << fTime <<
" ns, Length " << fLength <<
" cm, Energy loss " << fELoss * 1.0e06 <<
" keV"
41 if ((
fZ_out - z) * (fZ - z) >= 0.)
44 return (fX + (z - fZ) / dz * (
fX_out - fX));
51 if ((
fZ_out - z) * (fZ - z) >= 0.)
55 return (fY + (z - fZ) / dz * (
fY_out - fY));