LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
SimCalorimeterHit.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_SIMCALORIMETERHIT_H
8 #define EVENT_SIMCALORIMETERHIT_H 1
9 
10 #include "EVENT/LCObject.h"
11 #include "empty_ignore.h"
12 
13 namespace EVENT {
14 
15 class MCParticle;
16 
23 class SimCalorimeterHit : public LCObject {
24 
25 public:
27  virtual ~SimCalorimeterHit() { /* nop */; }
28 
29 
32 
35  virtual int getCellID0() const = 0;
36 
41  virtual int getCellID1() const = 0;
42 
45  virtual float getEnergy() const = 0;
46 
51  virtual const float* getPosition() const = 0;
52 
56  virtual const float* getStepPosition(int i) const = 0;
57 
63  virtual int getNMCParticles() const = 0;
64 
71  virtual int getNMCContributions() const = 0;
72 
76  virtual float getEnergyCont(int i) const = 0;
77 
81  virtual float getTimeCont(int i) const = 0;
82 
88  virtual int getPDGCont(int i) const = 0;
89 
95  virtual MCParticle * getParticleCont(int i) const = 0;
96 }; // class
97 } // namespace EVENT
98 #endif /* ifndef EVENT_SIMCALORIMETERHIT_H */
The generic object that is held in an LCCollection.
Definition: LCObject.h:30
virtual int getPDGCont(int i) const =0
Returns the PDG code of the shower particle that caused this contribution.
The generic simulated calorimeter hit.
Definition: SimCalorimeterHit.h:23
virtual int getCellID1() const =0
Returns the second detector specific (geometrical) cell id.
virtual const float * getStepPosition(int i) const =0
Returns the position where the energy deposited (step) occurred optional, only if bit LCIO::CHBIT_STE...
SimCalorimeterHit lcobject_type
Useful typedef for template programming with LCIO.
Definition: SimCalorimeterHit.h:31
virtual MCParticle * getParticleCont(int i) const =0
Returns the MCParticle that caused the shower responsible for this contribution to the hit...
virtual float getEnergyCont(int i) const =0
Returns the energy in [GeV] of the i-th contribution to the hit.
virtual int getNMCParticles() const =0
Returns the number of MC contributions to the hit.
virtual float getEnergy() const =0
Returns the energy of the hit in [GeV].
The LCIO Monte Carlo particle.
Definition: MCParticle.h:27
virtual const float * getPosition() const =0
Returns the position of the hit in world coordinates.
virtual ~SimCalorimeterHit()
Destructor.
Definition: SimCalorimeterHit.h:27
virtual int getNMCContributions() const =0
Returns the number of MC contributions to the hit.
virtual int getCellID0() const =0
Returns the detector specific (geometrical) cell id.
virtual float getTimeCont(int i) const =0
Returns the time of the i-th in [ns] contribution to the hit.