StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
StMuETofDigi Class Reference
Inheritance diagram for StMuETofDigi:

Public Member Functions

 StMuETofDigi ()
 Default constructor.
 
 StMuETofDigi (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...
 
 StMuETofDigi (const unsigned int rocId, const unsigned int get4Id, const unsigned int elChan, const double &time, const double &tot)
 Constructor with detailled assignment. More...
 
 StMuETofDigi (const StMuETofDigi &)
 Copy constructor.
 
 StMuETofDigi (const StETofDigi *)
 Copy constructor from StEvent class to MuDst class.
 
 StMuETofDigi (const StETofDigi *, const int assocHitId)
 Copy constructor from StEvent class to MuDst class with assignment of associated hit index.
 
 ~StMuETofDigi ()
 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.
 
int associatedHitId () const
 
bool operator< (const StMuETofDigi &rhs) const
 Sorting using the time, assumes Digis are in same reference frame (e.g. same epoch).
 
int compare (const TObject *obj) const
 
int compare (const StMuETofDigi *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 setAssociatedHitId (const int &id)
 

Detailed Description

Definition at line 28 of file StMuETofDigi.h.

Constructor & Destructor Documentation

StMuETofDigi::StMuETofDigi ( 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.

Parameters
[in]sectorsector Id.
[in]zPlaneeTof Z-plane.
[in]countercounter Id.
[in]stripstrip Id.
[in]sidechannel Side (optional, used for strips). (cf CbmTofAddress)
[in]timeabsolute raw time [ns].
[in]totraw Time Over Threshold [ns].

Definition at line 44 of file StMuETofDigi.cxx.

StMuETofDigi::StMuETofDigi ( const unsigned int  rocId,
const unsigned int  get4Id,
const unsigned int  elChan,
const double &  time,
const double &  tot 
)

Constructor with detailled assignment.

Parameters
[in]rocIdReadout Controller Id.
[in]get4IdGet4 Chip Id.
[in]elChanGet4 Channel Id (electronic channel).
[in]timeAbsolute raw time [ns].
[in]totraw Time Over Threshold [ns].

Definition at line 65 of file StMuETofDigi.cxx.

Member Function Documentation

int StMuETofDigi::associatedHitId ( ) const
inline

of the hit which has been reconstructed from this digi

Definition at line 222 of file StMuETofDigi.h.

void StMuETofDigi::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 192 of file StMuETofDigi.cxx.


The documentation for this class was generated from the following files: