16 #ifndef PNDGEMMCPOINT_H
17 #define PNDGEMMCPOINT_H
22 #include "FairMCPoint.h"
35 out <<
"-I- PndGemMCPoint: PndGem Point for track " << point.GetTrackID()
36 <<
" in detector " << point.GetDetectorID() <<
" with sensorID "
38 out <<
" Position in (" << point.GetX() <<
", " << point.GetY() <<
", " << point.GetZ() <<
") cm" << std::endl;
39 out <<
" Position out (" << point.
GetXOut() <<
", " << point.
GetYOut() <<
", " << point.
GetZOut() <<
") cm" << std::endl;
40 out <<
" Momentum (" << point.GetPx() <<
", " << point.GetPy() <<
", " << point.GetPz()
41 <<
") GeV" << std::endl;
42 out <<
" Time " << point.GetTime() <<
" ns, Length " << point.GetLength()
43 <<
" cm, Energy loss " << point.GetEnergyLoss()*1.0e06 <<
" keV" << std::endl;
65 TVector3 posIn, TVector3 posOut,
66 TVector3 momIn, TVector3 momOut,
72 fXfOut(0.), fYfOut(0.), fZfOut(0.),
73 fPxfOut(0.), fPyfOut(0.), fPzfOut(0.),
94 void PositionOut(TVector3&
pos)
const { pos.SetXYZ(fXfOut, fYfOut, fZfOut);};
95 void MomentumOut(TVector3&
mom)
const { mom.SetXYZ(fPxfOut,fPyfOut,fPzfOut); }
99 void SetPositionOut(TVector3
pos);
100 void SetMomentumOut(TVector3
mom);
105 virtual void Print(
const Option_t* opt = 0)
const;
void SetPositionOut(TVector3 pos)
std::ostream & operator<<(std::ostream &o, const PndEventInfo &a)
Double_t GetPxOut() const
void SetSensorId(Int_t sensId)
TVector3 GetPosition() const
Double_t GetPzOut() const
Int_t GetSensorId() const
Double_t GetPyOut() const
PndGemMCPoint(const PndGemMCPoint &point)
void PositionOut(TVector3 &pos) const
void SetMomentumOut(TVector3 mom)
void MomentumOut(TVector3 &mom) const
TVector3 GetPositionOut() const