StRoot
1
|
Holds information about the hit from MTD. More...
#include <StPicoMtdHit.h>
Public Member Functions | |
StPicoMtdHit () | |
Default constructor. | |
StPicoMtdHit (const StPicoMtdHit &hit) | |
Copy constructor. | |
virtual | ~StPicoMtdHit () |
Destructor. | |
virtual void | Print (const Char_t *option="") const |
Print the stored information. | |
Int_t | gChannel () const |
Int_t | backleg () const |
Return backleg number (1-30) of the MTD hit. | |
Int_t | module () const |
Return module number (1-5) of the MTD hit. | |
Int_t | cell () const |
Return cell number (0-11) of the MTD hit. | |
Int_t | triggerFlag () const |
std::pair< Float_t, Float_t > | leadingEdgeTime () const |
Return leading edge time. | |
std::pair< Float_t, Float_t > | trailingEdgeTime () const |
Return trailing edge time. | |
std::pair< Float_t, Float_t > | tot () const |
Return time-over-threshold of the MTD hit. | |
std::pair< Float_t, Float_t > | timeOverThreshold () const |
void | setTriggerFlag (Int_t const flag) |
void | setLeadingEdgeTime (std::pair< Float_t, Float_t > leadingEdgeTime) |
Set leading edge time. | |
void | setTrailingEdgeTime (std::pair< Float_t, Float_t > trailingEdgeTime) |
Set trailing edge time. | |
void | setHitChannel (Int_t backleg, Int_t module, Int_t cell) |
Encode global channel number as: (backleg-1) * 60 + (module-1) * 12 + cell. | |
Protected Attributes | |
Short_t | mgChannel |
Encoding: mgChannel = (backleg-1) * 60 + (module-1) * 12 + cell. | |
UChar_t | mTriggerFlag |
Number of hits in the corresponding trigger unit that fired the trigger. | |
std::pair< Float_t, Float_t > | mLeadingEdgeTime |
Leading-edge time for the hit. | |
std::pair< Float_t, Float_t > | mTrailingEdgeTime |
Trailing-edge time for the hit. | |
Holds information about the hit from MTD.
The class holds information about the hit from the Muon Telescope Detector (MTD)
Definition at line 18 of file StPicoMtdHit.h.
|
inline |
Return global channel number of the MTD hit Its defition is (backleg-1) * 60 + (module-1) * 12 + cell
Definition at line 37 of file StPicoMtdHit.h.
References mgChannel.
|
inline |
Set trigger flag of the MTD hit (corresponds to the number) of MTD hits matchedd to the same trigger unit that fired MTD trigger
Definition at line 65 of file StPicoMtdHit.h.
References mTriggerFlag.
|
inline |
Return trigger flag of the MTD hit. The returned value indicates the number of MTD hits matched to the same trigger unit that fired the MTD trigger.
Definition at line 47 of file StPicoMtdHit.h.
References mTriggerFlag.