All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
DigiHitExtended.h
Go to the documentation of this file.
1 #ifndef DigiHitExtended_H
2 #define DigiHitExtended_H 1
3 
4 #include "lcio.h"
5 #include "EVENT/LCIO.h"
6 #include "EVENT/SimCalorimeterHit.h"
7 
8 using namespace lcio;
9 
10 /**
11 \addtogroup CaloDigi CaloDigi
12 @{
13 
14 */
15 
16 typedef std::vector<SimCalorimeterHit * > SimCalorimeterHitVec;
17 
19 
20  public:
21 
23  ~DigiHitExtended();
24 
25  void setAmpl(float ampl);
26  void setCellID(int cellid);
27  void setPosition(float * pos);
28  void addSimHit(SimCalorimeterHit * simhit);
29 
30  float getAmpl();
31  int getCellID();
32  float * getPosition();
33  SimCalorimeterHitVec & getSimHitVector();
34 
35 
36  private:
37 
38  SimCalorimeterHitVec _simHitVec{};
39 
40  int _cellid{};
41  float _pos[3]{};
42  float _ampl{};
43 
44 };
45 
46 /** @}*/
47 
48 #endif
std::vector< SimCalorimeterHit * > SimCalorimeterHitVec