CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
KinematicState.h
Go to the documentation of this file.
1 #ifndef KinematicState_H
2 #define KinematicState_H
3 
9 
19 
20 public:
21 
28  {vl = false;}
29 
37  const MagneticField* field);
38 
39  bool operator==(const KinematicState& other) const;
40 
44  ParticleMass mass() const {return param.vector()[6];}
45 
52 
54 
56 
58 
59 TrackCharge particleCharge() const {return ch;}
60 
61 
62 
68 
69  bool isValid() const
70  {return vl;}
71 
72  const MagneticField* magneticField() const {return theField;}
73 
74 
75 private:
76 
81 
82  bool vl;
83 };
84 #endif
dictionary parameters
Definition: Parameters.py:2
AlgebraicVector7 const & vector() const
The full vector (7 elements)
bool isValid() const
KinematicParametersError err
double ParticleMass
Definition: ParticleMass.h:5
GlobalVector globalMomentum() const
double charge(const std::vector< uint8_t > &Ampls)
ParticleMass mass() const
TrackCharge ch
int TrackCharge
Definition: TrackCharge.h:4
KinematicParametersError const & kinematicParametersError() const
KinematicParameters const & kinematicParameters() const
const MagneticField * theField
const MagneticField * magneticField() const
KinematicParameters param
TrackCharge particleCharge() const
bool operator==(const KinematicState &other) const
FreeTrajectoryState freeTrajectoryState() const
GlobalPoint globalPosition() const
GlobalPoint position() const
GlobalVector momentum() const