StRoot
1
|
Public Member Functions | |
StETofDigi () | |
Default constructor. | |
StETofDigi (const unsigned int sector, const unsigned int zPlane, const unsigned int counter, const unsigned int strip, const unsigned int side, const double &time, const double &tot) | |
Constructor with detailled assignment. More... | |
StETofDigi (const unsigned int rocId, const unsigned int get4Id, const unsigned int elChan, const double &time, const double &tot) | |
Constructor with detailled assignment. More... | |
StETofDigi (const StETofDigi &) | |
Copy constructor. | |
~StETofDigi () | |
Destructor. | |
double | rawTime () const |
Raw Time. | |
double | calibTime () const |
calibrated time | |
double | rawCharge () const |
Alias for GetRawTot. | |
double | rawTot () const |
Getter for uncalibrated Tot. | |
double | calibCharge () const |
Alias for GetRawTot. | |
double | calibTot () const |
Getter for calibrated Tot. | |
unsigned int | sector () const |
Sector. | |
unsigned int | zPlane () const |
ZPlane. | |
unsigned int | counter () const |
Counter. | |
unsigned int | strip () const |
Strip. | |
unsigned int | chan () const |
Alias for strip. | |
unsigned int | side () const |
Side. | |
unsigned int | elChan () const |
electronic Channel. | |
unsigned int | get4Id () const |
get4Id. | |
unsigned int | rocId () const |
RocId. | |
StETofHit * | associatedHit () |
pointer to the hit which has been reconstructed from this digi | |
StETofHit * | associatedHit () const |
pointer to the hit which has been reconstructed from this digi | |
bool | operator< (const StETofDigi &rhs) const |
Sorting using the time, assumes Digis are in same reference frame (e.g. same epoch). | |
int | compare (const StObject *obj) const |
int | compare (const StETofDigi *digi) const |
void | setGeoAddress (const unsigned int iSector, const unsigned int iZPlane, const unsigned int iCounter, const unsigned int iChannel, const unsigned int iSide) |
void | setHwAddress (const unsigned int iRocId, const unsigned int iGet4Id, const unsigned int iElChan) |
void | setRawTime (const double &time) |
void | setRawTot (const double &tot) |
void | setCalibTime (const double &time) |
void | setCalibTot (const double &tot) |
void | setAssociatedHit (StETofHit *hit) |
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 StETofDigi.h.
StETofDigi::StETofDigi | ( | const unsigned int | sector, |
const unsigned int | zPlane, | ||
const unsigned int | counter, | ||
const unsigned int | strip, | ||
const unsigned int | side, | ||
const double & | time, | ||
const double & | tot | ||
) |
Constructor with detailled assignment.
[in] | sector | sector Id. |
[in] | zPlane | eTof Z-plane. |
[in] | counter | counter Id. |
[in] | strip | strip Id. |
[in] | side | channel Side (optional, used for strips). (cf CbmTofAddress) |
[in] | time | absolute raw time [ns]. |
[in] | tot | raw Time Over Threshold [ns]. |
Definition at line 43 of file StETofDigi.cxx.
StETofDigi::StETofDigi | ( | const unsigned int | rocId, |
const unsigned int | get4Id, | ||
const unsigned int | elChan, | ||
const double & | time, | ||
const double & | tot | ||
) |
Constructor with detailled assignment.
[in] | rocId | Readout Controller Id. |
[in] | get4Id | Get4 Chip Id. |
[in] | elChan | Get4 Channel Id (electronic channel). |
[in] | time | Absolute raw time [ns]. |
[in] | tot | raw Time Over Threshold [ns]. |
Definition at line 64 of file StETofDigi.cxx.
void StETofDigi::setGeoAddress | ( | const unsigned int | iSector, |
const unsigned int | iZPlane, | ||
const unsigned int | iCounter, | ||
const unsigned int | iChannel, | ||
const unsigned int | iSide | ||
) |
Modifiers
Definition at line 152 of file StETofDigi.cxx.