36 out <<
"Hyp hit in " << hit.
GetDetName() <<
" at" << std::endl;
37 out <<
"(" << hit.GetX() <<
", " << hit.GetY() <<
", " << hit.GetZ() <<
") cm "
38 <<
" with " << hit.
GetCharge() <<
" e" <<
", Cluster No. " << hit.GetRefIndex();
67 TVector3&
pos, TVector3& dpos, Int_t index,
Double_t charge, Int_t NDigiHits);
95 virtual void Print(
const Option_t* opt = 0)
const;
void SetNDigiHits(Int_t pixel)
TVector3 GetPosition() const
ClassDef(PndHypHit, 7)
bottom side of strip clusters
void SetBotIndex(Int_t id)
friend std::ostream & operator<<(std::ostream &out, const PndHypHit &hit)
Int_t GetNDigiHits() const
void SetCharge(Double_t charge)
virtual void Print(const Option_t *opt=0) const
Double_t GetEloss() const
TString GetDetName() const
Int_t GetBotIndex() 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)
void SetDetName(TString name)
Double_t GetCharge() const