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

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.
 
StETofHitassociatedHit ()
 pointer to the hit which has been reconstructed from this digi
 
StETofHitassociatedHit () 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)
 
StObjectoperator= (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
 

Detailed Description

Definition at line 35 of file StETofDigi.h.

Constructor & Destructor Documentation

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.

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 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.

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 64 of file StETofDigi.cxx.

Member Function Documentation

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.


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