StRoot
1
|
Public Member Functions | |
StMuETofHit () | |
Default constructor. | |
StMuETofHit (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... | |
StMuETofHit (const StMuETofHit &) | |
Copy constructor. | |
StMuETofHit (const StETofHit *) | |
Copy constructor from StEvent class to MuDst class. | |
~StMuETofHit () | |
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. | |
int | associatedTrackId () const |
id to the track which has been matched to this hit | |
int | index2Primary () const |
int | index2Global () const |
StMuTrack * | primaryTrack () const |
StMuTrack * | globalTrack () const |
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 StMuETofHit &rhs) const |
Sorting using the time, assumes Digis are in same reference frame (e.g. same epoch). More... | |
int | compare (const TObject *obj) const |
int | compare (const StMuETofHit *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 | setAssociatedTrackId (const int &id) |
void | setIndex2Primary (const int &id) |
void | setIndex2Global (const int &id) |
void | setIdTruth (unsigned short idtruth, unsigned short qatruth=0) |
Friends | |
class | StMuDst |
Definition at line 30 of file StMuETofHit.h.
StMuETofHit::StMuETofHit | ( | 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 44 of file StMuETofHit.cxx.
bool StMuETofHit::operator< | ( | const StMuETofHit & | 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 115 of file StMuETofHit.cxx.
References time().
void StMuETofHit::setHwAddress | ( | const unsigned int | iSector, |
const unsigned int | iZPlane, | ||
const unsigned int | iCounter | ||
) |
Modifiers
Definition at line 147 of file StMuETofHit.cxx.