LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
CalorimeterHit.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_CALORIMETERHIT_H
8 #define EVENT_CALORIMETERHIT_H 1
9 
10 #include "EVENT/LCObject.h"
11 #include "empty_ignore.h"
12 
13 #include <vector>
14 
15 namespace EVENT {
16 
17 class LCObject;
18 
19 
22 typedef std::vector<CalorimeterHit*> CalorimeterHitVec ;
34 class CalorimeterHit : public LCObject {
35 
36 public:
38  virtual ~CalorimeterHit() { /* nop */; }
39 
40 
43 
46  virtual int getCellID0() const = 0;
47 
51  virtual int getCellID1() const = 0;
52 
55  virtual float getEnergy() const = 0;
56 
60  virtual float getEnergyError() const = 0;
61 
65  virtual float getTime() const = 0;
66 
71  virtual const float* getPosition() const = 0;
72 
77  virtual int getType() const = 0;
78 
82  virtual LCObject * getRawHit() const = 0;
83 }; // class
84 } // namespace EVENT
85 #endif /* ifndef EVENT_CALORIMETERHIT_H */
The generic object that is held in an LCCollection.
Definition: LCObject.h:30
virtual int getCellID0() const =0
Returns the detector specific (geometrical) cell id.
std::vector< CalorimeterHit * > CalorimeterHitVec
Vector of (pointers to) CalorimeterHits.
Definition: CalorimeterHit.h:20
virtual float getTime() const =0
Returns the time of the hit in [ns].
virtual LCObject * getRawHit() const =0
The RawCalorimeterHit.
virtual float getEnergyError() const =0
Returns the error of the hit energy in [GeV].
virtual int getCellID1() const =0
Returns the second detector specific (geometrical) cell id.
virtual ~CalorimeterHit()
Destructor.
Definition: CalorimeterHit.h:38
virtual const float * getPosition() const =0
Returns the position of the hit in world coordinates.
virtual int getType() const =0
Type of hit.
CalorimeterHit lcobject_type
Useful typedef for template programming with LCIO.
Definition: CalorimeterHit.h:42
virtual float getEnergy() const =0
Returns the energy of the hit in [GeV].
The generic calorimeter hit - created from SimCalorimeterHit or RawCalorimeterHit.
Definition: CalorimeterHit.h:34