#include <DataFormats/MuonReco/interface/MuonTimeExtra.h>
Public Types | |
enum | Direction { OutsideIn = -1, Undefined = 0, InsideOut = 1 } |
Public Member Functions | |
Direction | direction () const |
direction estimation based on time dispersion | |
float | freeInverseBeta () const |
float | freeInverseBetaErr () const |
float | inverseBeta () const |
float | inverseBetaErr () const |
MuonTimeExtra () | |
int | nDof () const |
number of measurements used in timing calculation | |
void | setFreeInverseBeta (const float iBeta) |
void | setFreeInverseBetaErr (const float iBetaErr) |
void | setInverseBeta (const float iBeta) |
void | setInverseBetaErr (const float iBetaErr) |
void | setNDof (const int nDof) |
void | setTimeAtIpInOut (const float timeIp) |
void | setTimeAtIpInOutErr (const float timeErr) |
void | setTimeAtIpOutIn (const float timeIp) |
void | setTimeAtIpOutInErr (const float timeErr) |
float | timeAtIpInOut () const |
float | timeAtIpInOutErr () const |
float | timeAtIpOutIn () const |
b) particle is moving from outside in | |
float | timeAtIpOutInErr () const |
Private Attributes | |
float | freeInverseBeta_ |
unconstrained 1/beta (time is free) | |
float | freeInverseBetaErr_ |
float | inverseBeta_ |
1/beta for prompt particle hypothesis | |
float | inverseBetaErr_ |
int | nDof_ |
number of measurements used in timing calculation | |
float | timeAtIpInOut_ |
time of arrival at the IP for the Beta=1 hypothesis | |
float | timeAtIpInOutErr_ |
float | timeAtIpOutIn_ |
float | timeAtIpOutInErr_ |
A class holding timing information calculated for a muon.
Definition at line 16 of file MuonTimeExtra.h.
Definition at line 20 of file MuonTimeExtra.h.
MuonTimeExtra::MuonTimeExtra | ( | ) |
Definition at line 4 of file MuonTimeExtra.cc.
References freeInverseBeta_, freeInverseBetaErr_, inverseBeta_, inverseBetaErr_, nDof_, timeAtIpInOut_, timeAtIpInOutErr_, timeAtIpOutIn_, and timeAtIpOutInErr_.
{ nDof_=0; inverseBeta_=0.; inverseBetaErr_=0.; freeInverseBeta_=0.; freeInverseBetaErr_=0.; timeAtIpInOut_=0.; timeAtIpInOutErr_=0.; timeAtIpOutIn_=0.; timeAtIpOutInErr_=0.; }
Direction reco::MuonTimeExtra::direction | ( | ) | const [inline] |
direction estimation based on time dispersion
Definition at line 55 of file MuonTimeExtra.h.
References InsideOut, nDof_, OutsideIn, timeAtIpInOutErr_, timeAtIpOutInErr_, and Undefined.
Referenced by MuonTimingFiller::fillTiming().
{ if (nDof_<2) return Undefined; if ( timeAtIpInOutErr_ > timeAtIpOutInErr_ ) return OutsideIn; return InsideOut; }
float reco::MuonTimeExtra::freeInverseBeta | ( | ) | const [inline] |
unconstrained 1/beta (time is free) Sign convention: positive - outward moving particle negative - inward moving particle
Definition at line 37 of file MuonTimeExtra.h.
References freeInverseBeta_.
Referenced by MuonTimingFiller::fillTiming().
{ return freeInverseBeta_; };
float reco::MuonTimeExtra::freeInverseBetaErr | ( | ) | const [inline] |
Definition at line 38 of file MuonTimeExtra.h.
References freeInverseBetaErr_.
Referenced by MuonTimingFiller::fillTiming().
{ return freeInverseBetaErr_; };
float reco::MuonTimeExtra::inverseBeta | ( | ) | const [inline] |
1/beta for prompt particle hypothesis (time is constraint to the bunch crossing time)
Definition at line 28 of file MuonTimeExtra.h.
References inverseBeta_.
Referenced by MuonTimingFiller::fillTiming().
{ return inverseBeta_; };
float reco::MuonTimeExtra::inverseBetaErr | ( | ) | const [inline] |
Definition at line 29 of file MuonTimeExtra.h.
References inverseBetaErr_.
Referenced by MuonTimingFiller::fillTiming().
{ return inverseBetaErr_; };
int reco::MuonTimeExtra::nDof | ( | ) | const [inline] |
number of measurements used in timing calculation
Definition at line 23 of file MuonTimeExtra.h.
References nDof_.
Referenced by MuonIdVal::analyze(), MuonTimingFiller::fillTiming(), MuonIdProducer::produce(), and setNDof().
{ return nDof_; };
void reco::MuonTimeExtra::setFreeInverseBeta | ( | const float | iBeta | ) | [inline] |
Definition at line 39 of file MuonTimeExtra.h.
References freeInverseBeta_.
Referenced by MuonTimingFiller::fillTimeFromMeasurements().
{ freeInverseBeta_=iBeta; };
void reco::MuonTimeExtra::setFreeInverseBetaErr | ( | const float | iBetaErr | ) | [inline] |
Definition at line 40 of file MuonTimeExtra.h.
References freeInverseBetaErr_.
Referenced by MuonTimingFiller::fillTimeFromMeasurements().
{ freeInverseBetaErr_=iBetaErr; };
void reco::MuonTimeExtra::setInverseBeta | ( | const float | iBeta | ) | [inline] |
Definition at line 30 of file MuonTimeExtra.h.
References inverseBeta_.
Referenced by MuonTimingFiller::fillTimeFromMeasurements().
{ inverseBeta_=iBeta; };
void reco::MuonTimeExtra::setInverseBetaErr | ( | const float | iBetaErr | ) | [inline] |
Definition at line 31 of file MuonTimeExtra.h.
References inverseBetaErr_.
Referenced by MuonTimingFiller::fillTimeFromMeasurements().
{ inverseBetaErr_=iBetaErr; };
void reco::MuonTimeExtra::setNDof | ( | const int | nDof | ) | [inline] |
Definition at line 24 of file MuonTimeExtra.h.
Referenced by MuonTimingFiller::fillTimeFromMeasurements().
void reco::MuonTimeExtra::setTimeAtIpInOut | ( | const float | timeIp | ) | [inline] |
Definition at line 46 of file MuonTimeExtra.h.
References timeAtIpInOut_.
Referenced by MuonTimingFiller::fillTimeFromMeasurements().
{ timeAtIpInOut_=timeIp; };
void reco::MuonTimeExtra::setTimeAtIpInOutErr | ( | const float | timeErr | ) | [inline] |
Definition at line 47 of file MuonTimeExtra.h.
References timeAtIpInOutErr_.
Referenced by MuonTimingFiller::fillTimeFromMeasurements().
{ timeAtIpInOutErr_=timeErr; };
void reco::MuonTimeExtra::setTimeAtIpOutIn | ( | const float | timeIp | ) | [inline] |
Definition at line 51 of file MuonTimeExtra.h.
References timeAtIpOutIn_.
Referenced by MuonTimingFiller::fillTimeFromMeasurements().
{ timeAtIpOutIn_=timeIp; };
void reco::MuonTimeExtra::setTimeAtIpOutInErr | ( | const float | timeErr | ) | [inline] |
Definition at line 52 of file MuonTimeExtra.h.
References timeAtIpOutInErr_.
Referenced by MuonTimingFiller::fillTimeFromMeasurements().
{ timeAtIpOutInErr_=timeErr; };
float reco::MuonTimeExtra::timeAtIpInOut | ( | ) | const [inline] |
time of arrival at the IP for the Beta=1 hypothesis a) particle is moving from inside out
Definition at line 44 of file MuonTimeExtra.h.
References timeAtIpInOut_.
Referenced by MuonIdVal::analyze(), MuonTimingFiller::fillTiming(), and MuonIdProducer::produce().
{ return timeAtIpInOut_; };
float reco::MuonTimeExtra::timeAtIpInOutErr | ( | ) | const [inline] |
Definition at line 45 of file MuonTimeExtra.h.
References timeAtIpInOutErr_.
Referenced by MuonIdVal::analyze(), MuonTimingFiller::fillTiming(), and MuonIdProducer::produce().
{ return timeAtIpInOutErr_; };
float reco::MuonTimeExtra::timeAtIpOutIn | ( | ) | const [inline] |
b) particle is moving from outside in
Definition at line 49 of file MuonTimeExtra.h.
References timeAtIpOutIn_.
Referenced by MuonIdVal::analyze(), MuonTimingFiller::fillTiming(), and MuonIdProducer::produce().
{ return timeAtIpOutIn_; };
float reco::MuonTimeExtra::timeAtIpOutInErr | ( | ) | const [inline] |
Definition at line 50 of file MuonTimeExtra.h.
References timeAtIpOutInErr_.
Referenced by MuonIdVal::analyze(), MuonTimingFiller::fillTiming(), and MuonIdProducer::produce().
{ return timeAtIpOutInErr_; };
float reco::MuonTimeExtra::freeInverseBeta_ [private] |
unconstrained 1/beta (time is free)
Definition at line 72 of file MuonTimeExtra.h.
Referenced by freeInverseBeta(), MuonTimeExtra(), and setFreeInverseBeta().
float reco::MuonTimeExtra::freeInverseBetaErr_ [private] |
Definition at line 73 of file MuonTimeExtra.h.
Referenced by freeInverseBetaErr(), MuonTimeExtra(), and setFreeInverseBetaErr().
float reco::MuonTimeExtra::inverseBeta_ [private] |
1/beta for prompt particle hypothesis
Definition at line 68 of file MuonTimeExtra.h.
Referenced by inverseBeta(), MuonTimeExtra(), and setInverseBeta().
float reco::MuonTimeExtra::inverseBetaErr_ [private] |
Definition at line 69 of file MuonTimeExtra.h.
Referenced by inverseBetaErr(), MuonTimeExtra(), and setInverseBetaErr().
int reco::MuonTimeExtra::nDof_ [private] |
number of measurements used in timing calculation
Definition at line 65 of file MuonTimeExtra.h.
Referenced by direction(), MuonTimeExtra(), nDof(), and setNDof().
float reco::MuonTimeExtra::timeAtIpInOut_ [private] |
time of arrival at the IP for the Beta=1 hypothesis
Definition at line 76 of file MuonTimeExtra.h.
Referenced by MuonTimeExtra(), setTimeAtIpInOut(), and timeAtIpInOut().
float reco::MuonTimeExtra::timeAtIpInOutErr_ [private] |
Definition at line 77 of file MuonTimeExtra.h.
Referenced by direction(), MuonTimeExtra(), setTimeAtIpInOutErr(), and timeAtIpInOutErr().
float reco::MuonTimeExtra::timeAtIpOutIn_ [private] |
Definition at line 78 of file MuonTimeExtra.h.
Referenced by MuonTimeExtra(), setTimeAtIpOutIn(), and timeAtIpOutIn().
float reco::MuonTimeExtra::timeAtIpOutInErr_ [private] |
Definition at line 79 of file MuonTimeExtra.h.
Referenced by direction(), MuonTimeExtra(), setTimeAtIpOutInErr(), and timeAtIpOutInErr().