9 #ifndef PNDSDSMCPOINT_H 10 #define PNDSDSMCPOINT_H 26 out <<
"-I- PndSdsMCPoint: PndSds Point for track " << point.GetTrackID() <<
" in detector " << point.GetDetectorID() <<
" with sensor " << point.
GetSensorID() << std::endl;
27 out <<
" Position in (" << point.GetX() <<
", " << point.GetY() <<
", " << point.GetZ() <<
") cm" << std::endl;
28 out <<
" Position out (" << point.
GetXOut() <<
", " << point.
GetYOut() <<
", " << point.
GetZOut() <<
") cm" << std::endl;
29 out <<
" Momentum (" << point.GetPx() <<
", " << point.GetPy() <<
", " << point.GetPz() <<
") GeV" << std::endl;
30 out <<
" Time " << point.GetTime() <<
" ns, Length " << point.GetLength() <<
" cm, Energy loss " << point.GetEnergyLoss() * 1.0e06 <<
" keV" << std::endl;
50 PndSdsMCPoint(Int_t trackID, Int_t detID, Int_t sensorID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss);
64 virtual void SetTrackID(Int_t
id) { FairMCPoint::SetTrackID(
id); };
67 virtual void Print(
const Option_t *opt =
nullptr)
const;
PndSdsMCPoint(const PndSdsMCPoint &point)
virtual void SetTrackID(Int_t id)
Int_t GetSensorID() const
friend std::ostream & operator<<(std::ostream &out, const PndSdsMCPoint &point)
basic_ostream< char, char_traits< char > > ostream
void SetSensorID(Int_t sensorID)