LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
SimTrackerHit.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_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 }; // class
80 } // namespace EVENT
81 #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].
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 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.
virtual ~SimTrackerHit()
Destructor.
Definition: SimTrackerHit.h:27
The LCIO Monte Carlo particle.
Definition: MCParticle.h:27
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 float getTime() const =0
Returns the time of the hit in [ns].