CMS 3D CMS Logo

MuonTime.h
Go to the documentation of this file.
1 #ifndef MuonReco_MuonTime_h
2 #define MuonReco_MuonTime_h
3 
4 
5 namespace reco {
6  struct MuonTime {
7  enum Direction { OutsideIn = -1, Undefined = 0, InsideOut = 1 };
8 
10  int nDof;
11 
19 
22  {
23  if (nDof<2) return Undefined;
24  if ( timeAtIpInOutErr > timeAtIpOutInErr ) return OutsideIn;
25  return InsideOut;
26  }
27 
28 
30  nDof(0), timeAtIpInOut(0), timeAtIpInOutErr(0), timeAtIpOutIn(0), timeAtIpOutInErr(0)
31  {}
32  };
33 }
34 #endif
float timeAtIpOutInErr
Definition: MuonTime.h:18
Direction direction() const
direction estimation based on time dispersion
Definition: MuonTime.h:21
float timeAtIpInOutErr
Definition: MuonTime.h:15
float timeAtIpOutIn
b) particle is moving from outside in
Definition: MuonTime.h:17
int nDof
number of muon stations used
Definition: MuonTime.h:10
fixed size matrix
float timeAtIpInOut
Definition: MuonTime.h:14