18 #ifndef PNDSDSMERGEDHIT_H 19 #define PNDSDSMERGEDHIT_H 36 out <<
"PndSdsMergedHit in " << hit.
GetSensorID() <<
" at" << std::endl;
37 out <<
"(" << hit.GetX() <<
", " << hit.GetY() <<
", " << hit.GetZ() <<
") cm " 39 <<
" at Time: " << hit.GetTimeStamp() <<
" +/- " << hit.GetTimeStampError() <<
" , Cluster No. " << hit.
GetClusterIndex();
42 if (hit.GetRefIndex() > -1)
43 out <<
", mc point id = " << hit.GetRefIndex();
47 out <<
", noise hit without mc poit";
51 out <<
"hit.GetBotIndex() " << hit.
GetBotIndex() << std::endl;
52 out <<
"hit.GetRefIndex() " << hit.GetRefIndex() << std::endl;
53 out <<
"hit.GetNDigiHits() " << hit.
GetNDigiHits() << std::endl;
54 out <<
"hit.GetCharge() " << hit.
GetCharge() <<
"(" << hit.
GetEloss() <<
" GeV)" << std::endl;
55 out <<
"hit.GetSensorID() " << hit.
GetSensorID() << std::endl;
56 out <<
"Error values in FairHit part: (dx,dy,dz) = (" << hit.GetDx() <<
"," << hit.GetDy() <<
"," << hit.GetDz() <<
")" << std::endl;
73 PndSdsMergedHit(Int_t detID, Int_t sensorID, TVector3 &pos, TVector3 &dpos, Int_t clindex, Double_t charge, Int_t NDigiHits, Int_t mcindex, Int_t secMC);
Int_t GetSensorID() const
Int_t GetNDigiHits() const
Int_t GetClusterIndex() const
void SetSecondMCHit(Int_t secMChit)
Int_t GetSecondMCHit() const
Int_t GetBotIndex() const
virtual ~PndSdsMergedHit()
Double_t GetEloss() const
friend std::ostream & operator<<(std::ostream &out, const PndSdsMergedHit &hit)
Double_t GetCharge() const
void SetIsMerged(bool fflag)