CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
reco::MuonTimeExtra Class Reference

#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 More...
 
float freeInverseBeta () const
 
float freeInverseBetaErr () const
 
float inverseBeta () const
 
float inverseBetaErr () const
 
 MuonTimeExtra ()
 
int nDof () const
 number of measurements used in timing calculation More...
 
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 More...
 
float timeAtIpOutInErr () const
 

Private Attributes

float freeInverseBeta_
 unconstrained 1/beta (time is free) More...
 
float freeInverseBetaErr_
 
float inverseBeta_
 1/beta for prompt particle hypothesis More...
 
float inverseBetaErr_
 
int nDof_
 number of measurements used in timing calculation More...
 
float timeAtIpInOut_
 time of arrival at the IP for the Beta=1 hypothesis More...
 
float timeAtIpInOutErr_
 
float timeAtIpOutIn_
 
float timeAtIpOutInErr_
 

Detailed Description

A class holding timing information calculated for a muon.

Author
Piotr Traczyk, CERN
Version
Id:
MuonTimeExtra.h,v 1.1 2009/03/27 02:35:08 ptraczyk Exp

Definition at line 16 of file MuonTimeExtra.h.

Member Enumeration Documentation

Enumerator
OutsideIn 
Undefined 
InsideOut 

Definition at line 20 of file MuonTimeExtra.h.

Constructor & Destructor Documentation

MuonTimeExtra::MuonTimeExtra ( )

Definition at line 4 of file MuonTimeExtra.cc.

References freeInverseBeta_, freeInverseBetaErr_, inverseBeta_, inverseBetaErr_, nDof_, timeAtIpInOut_, timeAtIpInOutErr_, timeAtIpOutIn_, and timeAtIpOutInErr_.

5 {
6  nDof_=0;
7 
8  inverseBeta_=0.;
10 
13 
14  timeAtIpInOut_=0.;
16  timeAtIpOutIn_=0.;
18 }
float inverseBeta_
1/beta for prompt particle hypothesis
Definition: MuonTimeExtra.h:68
float timeAtIpInOut_
time of arrival at the IP for the Beta=1 hypothesis
Definition: MuonTimeExtra.h:76
float freeInverseBeta_
unconstrained 1/beta (time is free)
Definition: MuonTimeExtra.h:72
int nDof_
number of measurements used in timing calculation
Definition: MuonTimeExtra.h:65

Member Function Documentation

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().

56  {
57  if (nDof_<2) return Undefined;
59  return InsideOut;
60  }
int nDof_
number of measurements used in timing calculation
Definition: MuonTimeExtra.h:65
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 BeamHaloAnalyzer::analyze(), CSCHaloAlgo::Calculate(), and MuonTimingFiller::fillTiming().

37 { return freeInverseBeta_; };
float freeInverseBeta_
unconstrained 1/beta (time is free)
Definition: MuonTimeExtra.h:72
float reco::MuonTimeExtra::freeInverseBetaErr ( ) const
inline

Definition at line 38 of file MuonTimeExtra.h.

References freeInverseBetaErr_.

Referenced by MuonTimingFiller::fillTiming().

38 { 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().

28 { return inverseBeta_; };
float inverseBeta_
1/beta for prompt particle hypothesis
Definition: MuonTimeExtra.h:68
float reco::MuonTimeExtra::inverseBetaErr ( ) const
inline

Definition at line 29 of file MuonTimeExtra.h.

References inverseBetaErr_.

Referenced by MuonTimingFiller::fillTiming().

29 { 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().

23 { return nDof_; };
int nDof_
number of measurements used in timing calculation
Definition: MuonTimeExtra.h:65
void reco::MuonTimeExtra::setFreeInverseBeta ( const float  iBeta)
inline

Definition at line 39 of file MuonTimeExtra.h.

References freeInverseBeta_.

Referenced by MuonTimingFiller::fillTimeFromMeasurements().

39 { freeInverseBeta_=iBeta; };
float freeInverseBeta_
unconstrained 1/beta (time is free)
Definition: MuonTimeExtra.h:72
void reco::MuonTimeExtra::setFreeInverseBetaErr ( const float  iBetaErr)
inline

Definition at line 40 of file MuonTimeExtra.h.

References freeInverseBetaErr_.

Referenced by MuonTimingFiller::fillTimeFromMeasurements().

40 { freeInverseBetaErr_=iBetaErr; };
void reco::MuonTimeExtra::setInverseBeta ( const float  iBeta)
inline

Definition at line 30 of file MuonTimeExtra.h.

References inverseBeta_.

Referenced by MuonTimingFiller::fillTimeFromMeasurements().

30 { inverseBeta_=iBeta; };
float inverseBeta_
1/beta for prompt particle hypothesis
Definition: MuonTimeExtra.h:68
void reco::MuonTimeExtra::setInverseBetaErr ( const float  iBetaErr)
inline

Definition at line 31 of file MuonTimeExtra.h.

References inverseBetaErr_.

Referenced by MuonTimingFiller::fillTimeFromMeasurements().

31 { inverseBetaErr_=iBetaErr; };
void reco::MuonTimeExtra::setNDof ( const int  nDof)
inline

Definition at line 24 of file MuonTimeExtra.h.

References nDof(), and nDof_.

Referenced by MuonTimingFiller::fillTimeFromMeasurements().

24 { nDof_=nDof; };
int nDof() const
number of measurements used in timing calculation
Definition: MuonTimeExtra.h:23
int nDof_
number of measurements used in timing calculation
Definition: MuonTimeExtra.h:65
void reco::MuonTimeExtra::setTimeAtIpInOut ( const float  timeIp)
inline

Definition at line 46 of file MuonTimeExtra.h.

References timeAtIpInOut_.

Referenced by MuonTimingFiller::fillTimeFromMeasurements().

46 { timeAtIpInOut_=timeIp; };
float timeAtIpInOut_
time of arrival at the IP for the Beta=1 hypothesis
Definition: MuonTimeExtra.h:76
void reco::MuonTimeExtra::setTimeAtIpInOutErr ( const float  timeErr)
inline

Definition at line 47 of file MuonTimeExtra.h.

References timeAtIpInOutErr_.

Referenced by MuonTimingFiller::fillTimeFromMeasurements().

47 { timeAtIpInOutErr_=timeErr; };
void reco::MuonTimeExtra::setTimeAtIpOutIn ( const float  timeIp)
inline

Definition at line 51 of file MuonTimeExtra.h.

References timeAtIpOutIn_.

Referenced by MuonTimingFiller::fillTimeFromMeasurements().

51 { timeAtIpOutIn_=timeIp; };
void reco::MuonTimeExtra::setTimeAtIpOutInErr ( const float  timeErr)
inline

Definition at line 52 of file MuonTimeExtra.h.

References timeAtIpOutInErr_.

Referenced by MuonTimingFiller::fillTimeFromMeasurements().

52 { 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().

44 { return timeAtIpInOut_; };
float timeAtIpInOut_
time of arrival at the IP for the Beta=1 hypothesis
Definition: MuonTimeExtra.h:76
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().

45 { 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().

49 { 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().

50 { return timeAtIpOutInErr_; };

Member Data Documentation

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().