CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MuonTime.h
Go to the documentation of this file.
1 #ifndef MuonReco_MuonTime_h
2 #define MuonReco_MuonTime_h
3 
4 namespace reco {
5  struct MuonTime {
6  enum Direction { OutsideIn = -1, Undefined = 0, InsideOut = 1 };
7 
9  int nDof;
10 
18 
20  Direction direction() const {
21  if (nDof < 2)
22  return Undefined;
24  return OutsideIn;
25  return InsideOut;
26  }
27 
29  };
30 } // namespace reco
31 #endif
float timeAtIpOutInErr
Definition: MuonTime.h:17
Direction direction() const
direction estimation based on time dispersion
Definition: MuonTime.h:20
float timeAtIpInOutErr
Definition: MuonTime.h:14
float timeAtIpOutIn
b) particle is moving from outside in
Definition: MuonTime.h:16
int nDof
number of muon stations used
Definition: MuonTime.h:9
float timeAtIpInOut
Definition: MuonTime.h:13