33 out <<
"PndSdsHit in " << hit.
GetSensorID() <<
" at" << std::endl;
34 out <<
"(" << hit.GetX() <<
", " << hit.GetY() <<
", " << hit.GetZ() <<
") cm "
35 <<
" with " << hit.
GetCharge() <<
" e" <<
" at Time: " << hit.GetTimeStamp() <<
" +/- " << hit.GetTimeStampError() <<
" , Cluster No. " << hit.
GetClusterIndex();
38 if (hit.GetRefIndex() > -1)
39 out <<
", mc point id = " << hit.GetRefIndex();
41 out <<
", noise hit without mc poit";
45 out <<
"hit.GetBotIndex() "<< hit.
GetBotIndex() <<std::endl;
46 out <<
"hit.GetRefIndex() "<< hit.GetRefIndex()<<std::endl;
47 out <<
"hit.GetNDigiHits() "<< hit.
GetNDigiHits()<<std::endl;
48 out <<
"hit.GetCharge() "<< hit.
GetCharge()<<
"("<<hit.
GetEloss()<<
" GeV)"<<std::endl;
49 out <<
"hit.GetSensorID() "<< hit.
GetSensorID()<<std::endl;
50 out <<
"Error values in FairHit part: (dx,dy,dz) = ("<< hit.GetDx()<<
","<<hit.GetDy()<<
","<<hit.GetDz()<<
")"<<std::endl;
70 TVector3&
pos, TVector3& dpos, Int_t clindex,
Double_t charge, Int_t NDigiHits, Int_t mcindex);
82 void SetClusterIndex(Int_t datasource, Int_t
id, Int_t fileId = -1, Int_t evtId = -1) {
84 SetLink(FairLink(fileId, evtId, datasource,
id));
114 #ifndef __CINT__ // for BOOST serialization
115 template<
class Archive>
116 void serialize(Archive & ar,
const unsigned int version)
118 ar & boost::serialization::base_object<FairHit>(*this);
126 #endif // for BOOST serialization
129 virtual void Print(
const Option_t* opt = 0)
const;
133 #ifndef __CINT__ // for BOOST serialization
136 #endif // for BOOST serialization
Int_t fBotIndex
top/pixel cluster index
void SetCharge(Double_t charge)
Int_t GetNDigiHits() const
virtual void Print(const Option_t *opt=0) const
TVector3 GetPosition() const
void SetClusterIndex(Int_t datasource, Int_t id, Int_t fileId=-1, Int_t evtId=-1)
Int_t fNDigiHits
deposited Charge
Double_t GetEloss() const
friend std::ostream & operator<<(std::ostream &out, const PndSdsHit &hit)
Int_t fClusterIndex
number of fired Digis for this hit,
Double_t GetCharge() const
friend class boost::serialization::access
void SetNDigiHits(Int_t pixel)
TMatrixD fCov
bottom side of strip clusters
Int_t GetBotIndex() const
void SetBotIndex(Int_t id)
void serialize(Archive &ar, const unsigned int version)
Int_t GetTopIndex() const
Int_t GetClusterIndex() const
void SetSensorID(Int_t sensorID)
ClassDef(PndSdsHit, 8)
Hit covariance Matrix.
Int_t GetSensorID() const
void SetCov(TMatrixD cov)
Int_t fSensorID
unique sensor ID
TMatrixT< double > TMatrixD