14 #ifndef PNDGEMMCPOINT_H 15 #define PNDGEMMCPOINT_H 30 out <<
"-I- PndGemMCPoint: PndGem Point for track " << point.GetTrackID() <<
" in detector " << point.GetDetectorID() <<
" with sensorID " << point.
GetSensorId() << std::endl;
31 out <<
" Position in (" << point.GetX() <<
", " << point.GetY() <<
", " << point.GetZ() <<
") cm" << std::endl;
32 out <<
" Position out (" << point.
GetXOut() <<
", " << point.
GetYOut() <<
", " << point.
GetZOut() <<
") cm" << std::endl;
33 out <<
" Momentum (" << point.GetPx() <<
", " << point.GetPy() <<
", " << point.GetPz() <<
") GeV" << std::endl;
34 out <<
" Time " << point.GetTime() <<
" ns, Length " << point.GetLength() <<
" cm, Energy loss " << point.GetEnergyLoss() * 1.0e06 <<
" keV" << std::endl;
54 PndGemMCPoint(Int_t trackID, Int_t detID, Int_t sensID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss);
69 virtual void Print(
const Option_t *opt =
nullptr)
const;
Int_t GetSensorId() const
friend std::ostream & operator<<(std::ostream &out, const PndGemMCPoint &point)
void SetSensorId(Int_t sensId)
PndGemMCPoint(const PndGemMCPoint &point)
basic_ostream< char, char_traits< char > > ostream