6 #ifndef PNDSDSMERGEDHIT_H 7 #define PNDSDSMERGEDHIT_H 24 out <<
"PndSdsMergedHit in " << hit.
GetSensorID() <<
" at" << std::endl;
25 out <<
"(" << hit.GetX() <<
", " << hit.GetY() <<
", " << hit.GetZ() <<
") cm " 27 <<
" at Time: " << hit.GetTimeStamp() <<
" +/- " << hit.GetTimeStampError() <<
" , Cluster No. " << hit.
GetClusterIndex();
30 if (hit.GetRefIndex() > -1)
31 out <<
", mc point id = " << hit.GetRefIndex();
35 out <<
", noise hit without mc poit";
39 out <<
"hit.GetBotIndex() " << hit.
GetBotIndex() << std::endl;
40 out <<
"hit.GetRefIndex() " << hit.GetRefIndex() << std::endl;
41 out <<
"hit.GetNDigiHits() " << hit.
GetNDigiHits() << std::endl;
42 out <<
"hit.GetCharge() " << hit.
GetCharge() <<
"(" << hit.
GetEloss() <<
" GeV)" << std::endl;
43 out <<
"hit.GetSensorID() " << hit.
GetSensorID() << std::endl;
44 out <<
"Error values in FairHit part: (dx,dy,dz) = (" << hit.GetDx() <<
"," << hit.GetDy() <<
"," << hit.GetDz() <<
")" << std::endl;
61 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)