"MarlinReco"
1.32.0
Main Page
Namespaces
Classes
Files
File List
CaloDigi
LDCCaloDigi
include
DigiHitExtended.h
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
typedef
std::vector<SimCalorimeterHit * > SimCalorimeterHitVec;
11
12
class
DigiHitExtended
{
13
14
public
:
15
16
DigiHitExtended
();
17
~
DigiHitExtended
();
18
19
void
setAmpl(
float
ampl);
20
void
setCellID(
int
cellid);
21
void
setPosition(
float
* pos);
22
void
addSimHit(SimCalorimeterHit * simhit);
23
24
float
getAmpl();
25
int
getCellID();
26
float
* getPosition();
27
SimCalorimeterHitVec & getSimHitVector();
28
29
30
private
:
31
32
SimCalorimeterHitVec _simHitVec{};
33
34
int
_cellid{};
35
float
_pos[3]{};
36
float
_ampl{};
37
38
};
39
40
#endif
DigiHitExtended
Definition:
DigiHitExtended.h:12
Generated by
1.8.5