29 virtual void Print(
const Char_t* option =
"")
const;
53 std::pair<Float_t, Float_t>
tot()
const
56 std::pair<Float_t, Float_t> timeOverThreshold()
const {
return tot(); }
std::pair< Float_t, Float_t > leadingEdgeTime() const
Return leading edge time.
std::pair< Float_t, Float_t > mTrailingEdgeTime
Trailing-edge time for the hit.
std::pair< Float_t, Float_t > trailingEdgeTime() const
Return trailing edge time.
Short_t mgChannel
Encoding: mgChannel = (backleg-1) * 60 + (module-1) * 12 + cell.
void setHitChannel(Int_t backleg, Int_t module, Int_t cell)
Encode global channel number as: (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.
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.
Int_t backleg() const
Return backleg number (1-30) of the MTD hit.
void setTriggerFlag(Int_t const flag)
Int_t module() const
Return module number (1-5) of the MTD hit.
virtual ~StPicoMtdHit()
Destructor.
std::pair< Float_t, Float_t > tot() const
Return time-over-threshold of the MTD hit.
Holds information about the hit from MTD.
Int_t triggerFlag() const
virtual void Print(const Char_t *option="") const
Print the stored information.
Int_t cell() const
Return cell number (0-11) of the MTD hit.
StPicoMtdHit()
Default constructor.