LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
TrackerHit.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_TRACKERHIT_H
8 #define EVENT_TRACKERHIT_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 TrackerHit ;
19 typedef std::vector<TrackerHit*> TrackerHitVec ;
26 class TrackerHit : public LCObject {
27 
28 public:
30  virtual ~TrackerHit() { /* nop */; }
31 
32 
35 
38  virtual int getCellID0() const = 0;
39 
43  virtual int getCellID1() const = 0;
44 
47  virtual const double* getPosition() const = 0;
48 
52  virtual const FloatVec & getCovMatrix() const = 0;
53 
58  virtual float getdEdx() const = 0;
59 
62  virtual float getTime() const = 0;
63 
64  // /**Type of raw data hit, either one of<br>
65  // * LCIO::TPCHIT<br>
66  // * LCIO::SIMTRACKERHIT<br>
67  // */
68  // public const String& getType() const ;
73  virtual int getType() const = 0;
74 
76  virtual int getQuality() const = 0;
77 
79  virtual float getEDep() const = 0;
80 
82  virtual float getEDepError() const = 0;
83 
87  virtual const LCObjectVec & getRawHits() const = 0;
88 
89 // public void setPosition( double3V pos) ;
90 // public void setCovMatrix( const FloatVec& cov) ;
91 // public void setTime( float time ) ;
92 // public void setTPCHit( TPCHit* hit ) ;
93 }; // class
94 } // namespace EVENT
95 #endif /* ifndef EVENT_TRACKERHIT_H */
The generic object that is held in an LCCollection.
Definition: LCObject.h:30
A generic tracker hit to be used by pattern recognition.
Definition: TrackerHit.h:26
virtual const double * getPosition() const =0
The hit position in [mm].
virtual int getType() const =0
Type of raw data hit, either one of LCIO::TPCHIT LCIO::SIMTRACKERHIT
std::vector< TrackerHit * > TrackerHitVec
Vector of (pointers to) TrackerHits.
Definition: TrackerHit.h:17
std::vector< LCObject * > LCObjectVec
Vector of (pointers to) LCObjects.
Definition: LCObject.h:17
std::vector< float > FloatVec
Vector of floats.
Definition: LCIOSTLTypes.h:18
virtual const FloatVec & getCovMatrix() const =0
Covariance of the position (x,y,z), stored as lower triangle matrix.
TrackerHit lcobject_type
Useful typedef for template programming with LCIO.
Definition: TrackerHit.h:34
virtual float getEDep() const =0
The energy deposited on the hit [GeV].
virtual int getCellID1() const =0
Same name as in CalorimeterHit, even though there are no 'cells' in this case Optional, check/set flag(LCIO::RTHBIT_ID1)==1.
virtual float getTime() const =0
The time of the hit in [ns].
virtual float getdEdx() const =0
The dE/dx of the hit in [GeV].
virtual int getCellID0() const =0
Same name as in CalorimeterHit, even though there are no 'cells' in this case.
virtual float getEDepError() const =0
The error measured on EDep [GeV].
virtual int getQuality() const =0
The quality bit flag of the hit.
virtual const LCObjectVec & getRawHits() const =0
The raw data hits.
virtual ~TrackerHit()
Destructor.
Definition: TrackerHit.h:30