LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
Track.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_TRACK_H
8 #define EVENT_TRACK_H 1
9 
10 #include "EVENT/LCObject.h"
11 #include "EVENT/Track.h"
12 #include "EVENT/TrackState.h"
13 #include "EVENT/TrackerHit.h"
14 #include "LCIOSTLTypes.h"
15 #include "empty_ignore.h"
16 
17 namespace EVENT {
18 
19 class TrackState;
20 
21 
22 class Track ;
24 typedef std::vector<Track*> TrackVec ;
33 class Track : public LCObject {
34 
35 public:
37  virtual ~Track() { /* nop */; }
38 
39 
41  typedef Track lcobject_type ;
42 
48  virtual int getType() const = 0;
49 
53  virtual float getD0() const = 0;
54 
58  virtual float getPhi() const = 0;
59 
64  virtual float getOmega() const = 0;
65 
69  virtual float getZ0() const = 0;
70 
74  virtual float getTanLambda() const = 0;
75 
81  virtual const FloatVec & getCovMatrix() const = 0;
82 
87  virtual const float* getReferencePoint() const = 0;
88 
90  // */
91  //public boolean isReferencePointPCA() const ;
94  virtual float getChi2() const = 0;
95 
98  virtual int getNdf() const = 0;
99 
102  virtual float getdEdx() const = 0;
103 
106  virtual float getdEdxError() const = 0;
107 
113  virtual float getRadiusOfInnermostHit() const = 0;
114 
121  virtual const IntVec & getSubdetectorHitNumbers() const = 0;
122 
125  virtual const TrackVec & getTracks() const = 0;
126 
129  virtual const TrackStateVec & getTrackStates() const = 0;
130 
133  virtual const TrackState * getClosestTrackState(float x, float y, float z) const = 0;
134 
138  virtual const TrackState * getTrackState(int location) const = 0;
139 
143  virtual const TrackerHitVec & getTrackerHits() const = 0;
144 }; // class
145 } // namespace EVENT
146 #endif /* ifndef EVENT_TRACK_H */
virtual const TrackVec & getTracks() const =0
The tracks that have been combined to this track.
Track lcobject_type
Useful typedef for template programming with LCIO.
Definition: Track.h:41
The generic object that is held in an LCCollection.
Definition: LCObject.h:30
virtual const TrackStateVec & getTrackStates() const =0
Returns track states associtated to this track.
std::vector< TrackerHit * > TrackerHitVec
Vector of (pointers to) TrackerHits.
Definition: TrackerHit.h:17
std::vector< Track * > TrackVec
Vector of (pointers to) Tracks.
Definition: Track.h:22
virtual const float * getReferencePoint() const =0
Reference point of the track parameters.
virtual ~Track()
Destructor.
Definition: Track.h:37
std::vector< float > FloatVec
Vector of floats.
Definition: LCIOSTLTypes.h:18
virtual const TrackerHitVec & getTrackerHits() const =0
Optionaly ( check/set flag(LCIO::TRBIT_HITS)==1) return the hits that have been used to create this t...
virtual float getRadiusOfInnermostHit() const =0
The radius of the innermost hit that has been used in the track fit.
The LCIO TrackState class.
Definition: TrackState.h:26
virtual float getdEdx() const =0
dEdx of the track.
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 const FloatVec & getCovMatrix() const =0
Covariance matrix of the track parameters.
virtual const TrackState * getClosestTrackState(float x, float y, float z) const =0
Returns track state closest to the given point.
virtual float getdEdxError() const =0
Error of dEdx.
virtual int getNdf() const =0
Number of degrees of freedom of the track fit.
The LCIO track class.
Definition: Track.h:33
virtual float getZ0() const =0
Impact paramter of the track in (r-z).
virtual float getChi2() const =0
True if the reference point is the point of closest approach.
virtual float getTanLambda() const =0
Lambda is the dip angle of the track in r-z at the reference point.
virtual const IntVec & getSubdetectorHitNumbers() const =0
A vector that holds the number of hits in particular subdetectors.
std::vector< int > IntVec
Vector of ints.
Definition: LCIOSTLTypes.h:22
virtual float getOmega() const =0
Omega is the signed curvature of the track in [1/mm].
virtual float getPhi() const =0
Phi of the track at the reference point.
virtual int getType() const =0
Flagword that defines the type of track.
virtual const TrackState * getTrackState(int location) const =0
Returns track state for the given location - or NULL if not found.