StRoot
1
|
Public Member Functions | |
StETofHit () | |
Default constructor. | |
StETofHit (const unsigned int sector, const unsigned int zPlane, const unsigned int counter, const double &time, const double &tot, const unsigned int clusterSize, const double &localX, const double &localY) | |
Constructor with detailled assignment. More... | |
StETofHit (const StETofHit &) | |
Copy constructor. | |
~StETofHit () | |
Destructor. | |
unsigned int | sector () const |
Sector. | |
unsigned int | zPlane () const |
ZPlane. | |
unsigned int | counter () const |
Counter. | |
double | time () const |
Time. | |
double | totalTot () const |
Total Tot. | |
unsigned int | clusterSize () const |
Cluster size. | |
double | localX () const |
X-position. | |
double | localY () const |
Y-position. | |
StTrack * | associatedTrack () |
pointer to the track which has been matched to this hit | |
StTrack * | associatedTrack () const |
pointer to the track which has been matched to this hit | |
unsigned int | idTruth () const |
mc-true associated track id in simulation | |
unsigned int | qaTruth () const |
quality of this information (percentage of charge produced by mIdTruth) | |
bool | operator< (const StETofHit &rhs) const |
Sorting using the time, assumes Digis are in same reference frame (e.g. same epoch). More... | |
int | compare (const StObject *obj) const |
int | compare (const StETofHit *hit) const |
void | setHwAddress (const unsigned int iSector, const unsigned int iZPlane, const unsigned int iCounter) |
void | setSector (const unsigned int sector) |
void | setZPlane (const unsigned int zPlane) |
void | setCounter (const unsigned int counter) |
void | setTotalTot (const double &tot) |
void | setTime (const double &time) |
void | setClusterSize (const unsigned int clustSize) |
void | setLocalX (const double &X) |
void | setLocalY (const double &Y) |
void | setAssociatedTrack (StTrack *trk) |
void | setIdTruth (unsigned short idtruth, unsigned short qatruth=0) |
Public Member Functions inherited from StObject | |
StObject (const StObject &sto) | |
StObject & | operator= (const StObject &sto) |
virtual TObject * | clone () const |
Int_t | isZombie () const |
virtual void | makeZombie (int flg=1) |
UInt_t | Ztreamer (TBuffer &R__b) |
ClassDef (StObject, 3) static UInt_t fgTally | |
Definition at line 35 of file StETofHit.h.
StETofHit::StETofHit | ( | const unsigned int | sector, |
const unsigned int | zPlane, | ||
const unsigned int | counter, | ||
const double & | time, | ||
const double & | tot, | ||
const unsigned int | clusterSize, | ||
const double & | localX, | ||
const double & | localY | ||
) |
Constructor with detailled assignment.
[in] | sector | sector Id. |
[in] | zPlane | eTof Z-Plane. |
[in] | counter | counter Id. |
[in] | time | absolute raw time [ns]. |
[in] | tot | raw Time Over Threshold [ns]. |
[in] | clusterSize | number of strips that are clustered in one hit |
[in] | localX | local X position on detector [cm]. |
[in] | localY | local Y position on detector [cm]. |
Definition at line 42 of file StETofHit.cxx.
bool StETofHit::operator< | ( | const StETofHit & | rhs | ) | const |
Sorting using the time, assumes Digis are in same reference frame (e.g. same epoch).
ordering operators sorted by calibrated time.
Definition at line 86 of file StETofHit.cxx.
References time().
void StETofHit::setHwAddress | ( | const unsigned int | iSector, |
const unsigned int | iZPlane, | ||
const unsigned int | iCounter | ||
) |
Modifiers
Definition at line 118 of file StETofHit.cxx.