All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
DigiHitExtended.cc
Go to the documentation of this file.
1 #include "DigiHitExtended.h"
2 
3 
5 
6  _simHitVec.clear();
7 
8 }
9 
11 
12 }
13 
14 void DigiHitExtended::addSimHit(SimCalorimeterHit * simhit) {
15 
16  _simHitVec.push_back(simhit);
17 
18 }
19 
21  return _simHitVec;
22 
23 }
24 
25 void DigiHitExtended::setAmpl(float ampl) {
26  _ampl = ampl;
27 
28 }
29 
30 void DigiHitExtended::setCellID(int cellid) {
31  _cellid = cellid;
32 
33 }
34 
35 void DigiHitExtended::setPosition(float * pos) {
36  _pos[0] = pos[0];
37  _pos[1] = pos[1];
38  _pos[2] = pos[2];
39 }
40 
42  return _ampl;
43 }
44 
46  return _cellid;
47 }
48 
50  return _pos;
51 
52 }
void addSimHit(SimCalorimeterHit *simhit)
SimCalorimeterHitVec _simHitVec
void setPosition(float *pos)
void setCellID(int cellid)
void setAmpl(float ampl)
std::vector< SimCalorimeterHit * > SimCalorimeterHitVec
SimCalorimeterHitVec & getSimHitVector()
float * getPosition()