#include <PndSdsMergedHit.h>
|
| PndSdsMergedHit () |
|
| 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) |
|
| PndSdsMergedHit (PndSdsHit &c, Int_t secMC) |
|
virtual | ~PndSdsMergedHit () |
|
void | SetSecondMCHit (Int_t secMChit) |
|
Int_t | GetSecondMCHit () const |
|
void | SetIsMerged (bool fflag) |
|
bool | GetIsMerged () const |
|
| PndSdsHit () |
|
| PndSdsHit (Int_t detID, Int_t sensorID, TVector3 &pos, TVector3 &dpos, Int_t clindex, Double_t charge, Int_t NDigiHits, Int_t mcindex) |
|
virtual | ~PndSdsHit () |
|
void | SetSensorID (Int_t sensorID) |
|
void | SetCharge (Double_t charge) |
|
void | SetNDigiHits (Int_t pixel) |
|
void | SetClusterIndex (Int_t datasource, Int_t id, Int_t fileId=-1, Int_t evtId=-1) |
|
void | SetBotIndex (Int_t id) |
|
void | SetCov (TMatrixD cov) |
|
Int_t | GetSensorID () const |
|
Double_t | GetCharge () const |
|
Int_t | GetNDigiHits () const |
|
TVector3 | GetPosition () const |
|
Int_t | GetClusterIndex () const |
|
Int_t | GetTopIndex () const |
|
Int_t | GetBotIndex () const |
|
Double_t | GetEloss () const |
|
TMatrixD | GetCov () const |
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
virtual void | Print (const Option_t *opt=nullptr) const |
|
Definition at line 21 of file PndSdsMergedHit.h.
◆ PndSdsMergedHit() [1/3]
PndSdsMergedHit::PndSdsMergedHit |
( |
| ) |
|
Default constructor (not for use)
◆ PndSdsMergedHit() [2/3]
PndSdsMergedHit::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 |
|
) |
| |
Standard constructor with all paramneters
- Parameters
-
detID | Detector ID |
sensorID | Sensor ID |
pos | Position vector [cm] |
dpos | Position error vector [cm] |
index | Array index of ClusterCand |
charge | Charge measured in hit |
NDigiHits | Number of pixels fired for this event |
◆ PndSdsMergedHit() [3/3]
PndSdsMergedHit::PndSdsMergedHit |
( |
PndSdsHit & |
c, |
|
|
Int_t |
secMC |
|
) |
| |
◆ ~PndSdsMergedHit()
virtual PndSdsMergedHit::~PndSdsMergedHit |
( |
| ) |
|
|
virtual |
◆ GetIsMerged()
bool PndSdsMergedHit::GetIsMerged |
( |
| ) |
const |
|
inline |
◆ GetSecondMCHit()
Int_t PndSdsMergedHit::GetSecondMCHit |
( |
| ) |
const |
|
inline |
◆ SetIsMerged()
void PndSdsMergedHit::SetIsMerged |
( |
bool |
fflag | ) |
|
|
inline |
◆ SetSecondMCHit()
void PndSdsMergedHit::SetSecondMCHit |
( |
Int_t |
secMChit | ) |
|
|
inline |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const PndSdsMergedHit & |
hit |
|
) |
| |
|
friend |
Definition at line 22 of file 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;
Int_t GetSensorID() const
Int_t GetNDigiHits() const
Int_t GetClusterIndex() const
Int_t GetSecondMCHit() const
Int_t GetBotIndex() const
Double_t GetEloss() const
Double_t GetCharge() const
The documentation for this class was generated from the following file: