LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
TrackState.h
1 // -*- C++ -*-
2 // AID-GENERATED
3 // =========================================================================
4 // This class was generated by AID - Abstract Interface Definition
5 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
6 // =========================================================================
7 #ifndef EVENT_TRACKSTATE_H
8 #define EVENT_TRACKSTATE_H 1
9 
10 #include "EVENT/LCObject.h"
11 #include "LCIOSTLTypes.h"
12 #include "empty_ignore.h"
13 
14 namespace EVENT {
15 
16 
17 class TrackState ;
19 typedef std::vector<TrackState*> TrackStateVec ;
26 class TrackState : public LCObject {
27 
28 public:
30  virtual ~TrackState() { /* nop */; }
31 
32 
35 
36 
37  static const int AtOther = 0 ; // any location other than the ones defined below
38  static const int AtIP = 1 ;
39  static const int AtFirstHit = 2 ;
40  static const int AtLastHit = 3 ;
41  static const int AtCalorimeter = 4 ;
42  static const int AtVertex = 5 ;
43  static const int LastLocation = AtVertex ;
44 
48  virtual int getLocation() const = 0;
49 
53  virtual float getD0() const = 0;
54 
58  virtual float getPhi() const = 0;
59 
63  virtual float getOmega() const = 0;
64 
68  virtual float getZ0() const = 0;
69 
73  virtual float getTanLambda() const = 0;
74 
79  virtual const FloatVec & getCovMatrix() const = 0;
80 
84  virtual const float* getReferencePoint() const = 0;
85 }; // class
86 } // namespace EVENT
87 #endif /* ifndef EVENT_TRACKSTATE_H */
The generic object that is held in an LCCollection.
Definition: LCObject.h:30
virtual float getTanLambda() const =0
Lambda is the dip angle of the track in r-z at the reference point.
virtual float getOmega() const =0
Omega is the signed curvature of the track in [1/mm].
virtual const FloatVec & getCovMatrix() const =0
Covariance matrix of the track parameters.
std::vector< float > FloatVec
Vector of floats.
Definition: LCIOSTLTypes.h:18
The LCIO TrackState class.
Definition: TrackState.h:26
std::vector< TrackState * > TrackStateVec
Vector of (pointers to) TrackStates.
Definition: TrackState.h:17
virtual float getD0() const =0
Impact paramter of the track in (r-phi).
virtual int getLocation() const =0
The location of the track state.
virtual const float * getReferencePoint() const =0
Reference point of the track parameters, e.g.
virtual ~TrackState()
Destructor.
Definition: TrackState.h:30
virtual float getZ0() const =0
Impact paramter of the track in (r-z).
TrackState lcobject_type
Useful typedef for template programming with LCIO.
Definition: TrackState.h:34
virtual float getPhi() const =0
Phi of the track at the reference point.