28 out <<
"Gem hit" <<
" at (" << hit.GetX() <<
", " << hit.GetY() <<
", " << hit.GetZ() <<
") cm " 30 <<
", Cluster No. " << hit.GetRefIndex() << std::endl;
48 PndGemHit(Int_t detID, TVector3 &pos, TVector3 &dpos, Int_t index, Double_t charge, Int_t NDigiHits, TString fromStr =
"GEMPoint");
49 PndGemHit(Int_t detID, TVector3 &pos, TVector3 &dpos, Int_t digi1, Int_t digi2, Double_t dr, Double_t dp, Int_t index, TString fromStr =
"GEMCluster");
50 PndGemHit(Int_t detID, TVector3 &pos, TVector3 &dpos, Double_t charge, Double_t time, Int_t digi1, Int_t digi2, Double_t dr, Double_t dp, Int_t index,
51 TString fromStr =
"GEMCluster");
59 void SetCharge(Double_t charge) { fCharge = charge; }
77 Double_t
GetEloss()
const {
return (fCharge * 3.61e-9); }
79 Double_t
GetDr()
const {
return fDr; };
80 Double_t
GetDp()
const {
return fDp; };
83 if (iside * (iside - 1) == 0)
84 return fDigiNr[iside];
88 Int_t
GetSystemId()
const {
return ((fDetectorID & (31 << 27)) >> 27); }
89 Int_t
GetStationNr()
const {
return ((fDetectorID & (8191 << 8)) >> 8); }
92 return ((fDetectorID & (3 << 6)) >> 6);
109 virtual void Print(
const Option_t *opt =
nullptr)
const;
Int_t GetStationNr() const
void SetBotIndex(Int_t id)
void SetDigiNr(Int_t digi1, Int_t digi2)
Int_t GetSensorNr() const
Int_t GetNDigiHits() const
void SetErrors(Double_t dr, Double_t dp)
Int_t GetSystemId() const
TVector3 GetPosition() const
Int_t GetBotIndex() const
void SetNDigiHits(Int_t pixel)
friend std::ostream & operator<<(std::ostream &out, const PndGemHit &hit)
Double_t GetEloss() const
Double_t GetCharge() const
void SetCharge(Double_t charge)
Int_t GetDigiNr(Int_t iside) const
virtual void Print(const Option_t *opt=nullptr) const