31 out <<
"PndSdsHit in " << hit.
GetSensorID() <<
" at" << std::endl;
32 out <<
"(" << hit.GetX() <<
", " << hit.GetY() <<
", " << hit.GetZ() <<
") cm " 34 <<
" at Time: " << hit.GetTimeStamp() <<
" +/- " << hit.GetTimeStampError() <<
" , Cluster No. " << hit.
GetClusterIndex();
37 if (hit.GetRefIndex() > -1)
38 out <<
", mc point id = " << hit.GetRefIndex();
40 out <<
", noise hit without mc poit";
44 out <<
"hit.GetBotIndex() " << hit.
GetBotIndex() << std::endl;
45 out <<
"hit.GetRefIndex() " << hit.GetRefIndex() << std::endl;
46 out <<
"hit.GetNDigiHits() " << hit.
GetNDigiHits() << std::endl;
47 out <<
"hit.GetCharge() " << hit.
GetCharge() <<
"(" << hit.
GetEloss() <<
" GeV)" << std::endl;
48 out <<
"hit.GetSensorID() " << hit.
GetSensorID() << std::endl;
49 out <<
"Error values in FairHit part: (dx,dy,dz) = (" << hit.GetDx() <<
"," << hit.GetDy() <<
"," << hit.GetDz() <<
")" << std::endl;
66 PndSdsHit(Int_t detID, Int_t sensorID, TVector3 &pos, TVector3 &dpos, Int_t clindex, Double_t charge, Int_t NDigiHits, Int_t mcindex);
75 void SetCharge(Double_t charge) { fCharge = charge; }
77 void SetClusterIndex(Int_t datasource, Int_t
id, Int_t fileId = -1, Int_t evtId = -1)
80 SetLink(FairLink(fileId, evtId, datasource,
id));
93 Double_t
GetEloss()
const {
return (fCharge * 3.61e-9); }
109 #ifndef __CINT__ // for BOOST serialization 110 template <
class Archive>
113 ar &boost::serialization::base_object<FairHit>(*this);
121 #endif // for BOOST serialization 124 virtual void Print(
const Option_t *opt =
nullptr)
const;
128 #ifndef __CINT__ // for BOOST serialization 131 #endif // for BOOST serialization void SetCharge(Double_t charge)
virtual void Print(const Option_t *opt=nullptr) const
Int_t GetSensorID() const
Int_t GetNDigiHits() const
Int_t GetClusterIndex() const
void SetClusterIndex(Int_t datasource, Int_t id, Int_t fileId=-1, Int_t evtId=-1)
Int_t GetBotIndex() const
friend std::ostream & operator<<(std::ostream &out, const PndSdsHit &hit)
Double_t GetEloss() const
friend class boost::serialization::access
Int_t GetTopIndex() const
Double_t GetCharge() const
void SetNDigiHits(Int_t pixel)
void SetBotIndex(Int_t id)
void serialize(Archive &ar, const unsigned int version)
TVector3 GetPosition() const
void SetSensorID(Int_t sensorID)
void SetCov(TMatrixD cov)
TMatrixT< double > TMatrixD