LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SimTrackerHit.h
Go to the documentation of this file.
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_SIMTRACKERHIT_H
8 #define EVENT_SIMTRACKERHIT_H 1
9 
10 #include "EVENT/LCObject.h"
11 #include "empty_ignore.h"
12 
13 namespace EVENT {
14 
15 class MCParticle;
16 
23 class SimTrackerHit : public LCObject {
24 
25 public:
27  virtual ~SimTrackerHit() { /* nop */; }
28 
29 
32 
35  virtual int getCellID0() const = 0;
36 
40  virtual int getCellID1() const = 0;
41 
44  virtual int getCellID() const = 0;
45 
48  virtual const double* getPosition() const = 0;
49 
54  virtual float getdEdx() const = 0;
55 
58  virtual float getEDep() const = 0;
59 
62  virtual float getTime() const = 0;
63 
68  virtual MCParticle * getMCParticle() const = 0;
69 
73  virtual const float* getMomentum() const = 0;
74 
78  virtual float getPathLength() const = 0;
79 
81  virtual int getQuality() const = 0;
82 
83  // define the bit positions for the quality flag
84 
85  static const int BITOverlay = 31 ;
86  static const int BITProducedBySecondary = 30 ;
87 
90  virtual bool isOverlay() const = 0;
91 
94  virtual bool isProducedBySecondary() const = 0;
95 }; // class
96 } // namespace EVENT
97 #endif /* ifndef EVENT_SIMTRACKERHIT_H */
virtual const double * getPosition() const =0
Returns the hit position in [mm].
The generic object that is held in an LCCollection.
Definition: LCObject.h:30
virtual float getEDep() const =0
The energy deposited on the hit [GeV].
static const int BITOverlay
Definition: SimTrackerHit.h:85
virtual int getCellID() const =0
DEPRECATED: use ()
A generic simulated tracker hit.
Definition: SimTrackerHit.h:23
virtual const float * getMomentum() const =0
Returns the 3-momentum of the particle at the hits position in [GeV] - optional, only if bit LCIO::TH...
SimTrackerHit lcobject_type
Useful typedef for template programming with LCIO.
Definition: SimTrackerHit.h:31
virtual bool isProducedBySecondary() const =0
True if the particle has been created by a secondary particle that is not stored in the MCParticle co...
virtual float getdEdx() const =0
Returns the dE/dx of the hit in [GeV].
virtual MCParticle * getMCParticle() const =0
Returns the MC particle that caused the hit.
virtual int getCellID1() const =0
Same name as in CalorimeterHit, even though there are no 'cells' in this case Optional, check/set flag(LCIO::THBIT_ID1)==1.
static const int BITProducedBySecondary
Definition: SimTrackerHit.h:86
virtual ~SimTrackerHit()
Destructor.
Definition: SimTrackerHit.h:27
The LCIO Monte Carlo particle.
Definition: MCParticle.h:27
virtual int getQuality() const =0
The quality bit flag of the hit.
virtual float getPathLength() const =0
The path length of the particle in the sensitive material that resulted in this hit.
virtual int getCellID0() const =0
Same name as in CalorimeterHit, even though there are no 'cells' in this case.
virtual bool isOverlay() const =0
True if the hit has been overlayed by the simulation (or digitization) program.
virtual float getTime() const =0
Returns the time of the hit in [ns].