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()
28 <<
" at Time: " << hit.GetTimeStamp() <<
" +/- "
29 << hit.GetTimeStampError() <<
" , Cluster No. "
32 if (hit.GetRefIndex() > -1) out <<
", mc point id = " << hit.GetRefIndex();
36 out <<
", noise hit without mc poit";
40 out <<
"hit.GetBotIndex() " << hit.
GetBotIndex() << std::endl;
41 out <<
"hit.GetRefIndex() " << hit.GetRefIndex() << std::endl;
42 out <<
"hit.GetNDigiHits() " << hit.
GetNDigiHits() << std::endl;
44 <<
" GeV)" << std::endl;
45 out <<
"hit.GetSensorID() " << hit.
GetSensorID() << std::endl;
46 out <<
"Error values in FairHit part: (dx,dy,dz) = (" << hit.GetDx() <<
","
47 << hit.GetDy() <<
"," << hit.GetDz() <<
")" << std::endl;
65 Int_t clindex,
Double_t charge, Int_t NDigiHits,
66 Int_t mcindex, Int_t secMC);
Int_t fsecMC
unique sensor ID
Int_t GetNDigiHits() const
void SetSecondMCHit(Int_t secMChit)
Double_t GetEloss() const
Double_t GetCharge() const
friend std::ostream & operator<<(std::ostream &out, const PndSdsMergedHit &hit)
void SetIsMerged(bool fflag)
Int_t GetBotIndex() const
Int_t GetSecondMCHit() const
int hit(Int_t nEvents=0, TString inFile="sim.root", TString parFile="par.root", TString inDigi="digi.root", TString outFile="hit.root", Int_t timeBased=0)
ClassDef(PndSdsMergedHit, 1)
Int_t GetClusterIndex() const
Int_t GetSensorID() const
virtual ~PndSdsMergedHit()