CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

reco::MuonTimeExtra Class Reference

#include <DataFormats/MuonReco/interface/MuonTimeExtra.h>

List of all members.

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_

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.

{ OutsideIn = -1, Undefined = 0, InsideOut = 1 };

Constructor & Destructor Documentation

MuonTimeExtra::MuonTimeExtra ( )

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

      {
        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.

References nDof(), and nDof_.

Referenced by MuonTimingFiller::fillTimeFromMeasurements().

{ nDof_=nDof; };
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]
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]

Member Data Documentation

unconstrained 1/beta (time is free)

Definition at line 72 of file MuonTimeExtra.h.

Referenced by freeInverseBeta(), MuonTimeExtra(), and setFreeInverseBeta().

Definition at line 73 of file MuonTimeExtra.h.

Referenced by freeInverseBetaErr(), MuonTimeExtra(), and setFreeInverseBetaErr().

1/beta for prompt particle hypothesis

Definition at line 68 of file MuonTimeExtra.h.

Referenced by inverseBeta(), MuonTimeExtra(), and setInverseBeta().

Definition at line 69 of file MuonTimeExtra.h.

Referenced by inverseBetaErr(), MuonTimeExtra(), and setInverseBetaErr().

number of measurements used in timing calculation

Definition at line 65 of file MuonTimeExtra.h.

Referenced by direction(), MuonTimeExtra(), nDof(), and setNDof().

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

Definition at line 77 of file MuonTimeExtra.h.

Referenced by direction(), MuonTimeExtra(), setTimeAtIpInOutErr(), and timeAtIpInOutErr().

Definition at line 78 of file MuonTimeExtra.h.

Referenced by MuonTimeExtra(), setTimeAtIpOutIn(), and timeAtIpOutIn().

Definition at line 79 of file MuonTimeExtra.h.

Referenced by direction(), MuonTimeExtra(), setTimeAtIpOutInErr(), and timeAtIpOutInErr().