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

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
 
StMuTrackprimaryTrack () const
 
StMuTrackglobalTrack () 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
 

Detailed Description

Definition at line 30 of file StMuETofHit.h.

Constructor & Destructor Documentation

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.

Parameters
[in]sectorsector Id.
[in]zPlaneeTof Z-Plane.
[in]countercounter Id.
[in]timeabsolute raw time [ns].
[in]totraw Time Over Threshold [ns].
[in]clusterSizenumber of strips that are clustered in one hit
[in]localXlocal X position on detector [cm].
[in]localYlocal Y position on detector [cm].

Definition at line 44 of file StMuETofHit.cxx.

Member Function Documentation

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.

References counter(), sector(), and zPlane().


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