9 #ifndef StPicoMtdPidTraits_h
10 #define StPicoMtdPidTraits_h
27 virtual void Print(
const Char_t* option =
"")
const;
40 Int_t
backleg()
const {
return mMtdHitChan / 60 + 1; }
42 Int_t
module()
const {
return (mMtdHitChan % 60) / 12 + 1; }
44 Int_t
cell()
const {
return mMtdHitChan % 12; }
48 Float_t
deltaY()
const {
return (Float_t)mDeltaY / 200.; }
50 Float_t
deltaZ()
const {
return (Float_t)mDeltaZ / 200.; }
54 Float_t
beta()
const {
return (Float_t)mBeta / 20000.; }
90 Float_t mDeltaTimeOfFlight;
Float_t beta() const
Return beta.
Holds information about MTD-matched track.
virtual void Print(const Char_t *option="") const
Print MTD PID traits information.
Int_t cell() const
Return cell number.
Int_t gChannel() const
Return hit channel.
Int_t backleg() const
Return backleg number.
void setDeltaZ(Float_t dz)
Set delta Z.
Float_t deltaY() const
Return delta Y.
StPicoMtdPidTraits()
Default constructor.
Float_t deltaZ() const
Return delta Z.
Int_t mtdHitIndex() const
Return hit index.
Int_t trackIndex() const
Return assiciated track index.
void setHitChannel(Int_t backleg, Int_t module, Int_t cell)
Set hit channel: (backleg-1) * 60 + (module-1) * 12 + cell.
void setDeltaY(Float_t dy)
Set delta Y.
void setBeta(Float_t beta)
Set beta.
void setMatchFlag(Char_t flag)
Set match flag.
virtual ~StPicoMtdPidTraits()
Destructor.
void setMtdHitIndex(Int_t index)
Set MTD hit index.
void setTrackIndex(Int_t index)
Set track index of the associated track.
Int_t module() const
Return module number.
void setDeltaTimeOfFlight(Float_t t)
Set difference between measured and expected time of flight.
Int_t matchFlag() const
Return match flag.
Float_t deltaTimeOfFlight() const
Return difference between measured and expected time of flight.