LDMX Software
Recon
include
Recon
Event
HgcrocPulseTruth.h
1
#ifndef RECON_EVENT_HGCROCPULSETRUTH_H_
2
#define RECON_EVENT_HGCROCPULSETRUTH_H_
3
4
#include <Rtypes.h>
// For ClassDef
5
6
#include <vector>
7
8
#include "Recon/Event/CompositePulse.h"
9
10
namespace
ldmx {
11
12
class
HgcrocPulseTruth;
13
typedef
std::vector<HgcrocPulseTruth> HgcrocPulseTruthCollection;
14
15
class
HgcrocPulseTruth
{
16
public
:
17
HgcrocPulseTruth
(
unsigned
int
id
,
ldmx::CompositePulse
p)
18
: id_(
id
), composite_pulse_(p) {};
19
21
HgcrocPulseTruth
() =
default
;
22
23
virtual
~HgcrocPulseTruth
() =
default
;
24
25
void
clear();
26
27
double
getMax()
const
;
28
29
unsigned
int
getID()
const
{
return
id_; }
30
31
private
:
32
unsigned
int
id_;
33
ldmx::CompositePulse
composite_pulse_;
34
35
ClassDef(
HgcrocPulseTruth
, 1);
36
};
37
38
}
// namespace ldmx
39
40
#endif
ldmx::CompositePulse
CompositePulse.
Definition
CompositePulse.h:19
ldmx::HgcrocPulseTruth
Definition
HgcrocPulseTruth.h:15
ldmx::HgcrocPulseTruth::HgcrocPulseTruth
HgcrocPulseTruth()=default
default constructor needed for std::vector::resize
Generated by
1.12.0