Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
sbnobj
sbnobj
SBND
Trigger
pmtSoftwareTrigger.hh
Go to the documentation of this file.
1
#ifndef pmtSoftwareTrigger_h
2
#define pmtSoftwareTrigger_h
3
4
#include <cstddef>
5
#include <vector>
6
7
8
namespace
sbnd::trigger {
9
10
struct
pmtPulse
{
11
double
peak
;
12
double
area
;
13
double
t_start
;
14
double
t_peak
;
15
double
t_end
;
16
double
pe
;
17
pmtPulse
() {}
18
};
19
20
struct
pmtInfo
{
21
int
channel
;
22
double
baseline
;
23
double
baselineSigma
;
24
std::vector<sbnd::trigger::pmtPulse>
pulseVec
;
25
pmtInfo
() {}
26
};
27
28
struct
pmtSoftwareTrigger
{
29
30
bool
foundBeamTrigger
;
31
int
nAboveThreshold
;
32
int
triggerTimestamp
;
// relative to beam window start, in ns
33
double
promptPE
;
// total PE for the 100 ns following trigger time
34
double
prelimPE
;
// total PE for the 1 us before trigger time
35
std::vector<sbnd::trigger::pmtInfo>
pmtInfoVec
;
36
pmtSoftwareTrigger
() {}
37
};
38
39
}
// namespace sbnd::trigger
40
41
#endif
sbnd::trigger::pmtSoftwareTrigger
Definition:
pmtSoftwareTrigger.hh:28
sbnd::trigger::pmtSoftwareTrigger::pmtInfoVec
std::vector< sbnd::trigger::pmtInfo > pmtInfoVec
Definition:
pmtSoftwareTrigger.hh:35
sbnd::trigger::pmtSoftwareTrigger::pmtSoftwareTrigger
pmtSoftwareTrigger()
Definition:
pmtSoftwareTrigger.hh:36
sbnd::trigger::pmtPulse::peak
double peak
Definition:
pmtSoftwareTrigger.hh:11
sbnd::trigger::pmtInfo::baselineSigma
double baselineSigma
Definition:
pmtSoftwareTrigger.hh:23
sbnd::trigger::pmtPulse::area
double area
Definition:
pmtSoftwareTrigger.hh:12
sbnd::trigger::pmtPulse::t_peak
double t_peak
Definition:
pmtSoftwareTrigger.hh:14
sbnd::trigger::pmtPulse::pe
double pe
Definition:
pmtSoftwareTrigger.hh:16
sbnd::trigger::pmtSoftwareTrigger::triggerTimestamp
int triggerTimestamp
Definition:
pmtSoftwareTrigger.hh:32
sbnd::trigger::pmtInfo::baseline
double baseline
Definition:
pmtSoftwareTrigger.hh:22
sbnd::trigger::pmtInfo
Definition:
pmtSoftwareTrigger.hh:20
sbnd::trigger::pmtPulse
Definition:
pmtSoftwareTrigger.hh:10
sbnd::trigger::pmtPulse::pmtPulse
pmtPulse()
Definition:
pmtSoftwareTrigger.hh:17
sbnd::trigger::pmtInfo::pmtInfo
pmtInfo()
Definition:
pmtSoftwareTrigger.hh:25
sbnd::trigger::pmtInfo::pulseVec
std::vector< sbnd::trigger::pmtPulse > pulseVec
Definition:
pmtSoftwareTrigger.hh:24
sbnd::trigger::pmtSoftwareTrigger::foundBeamTrigger
bool foundBeamTrigger
Definition:
pmtSoftwareTrigger.hh:30
sbnd::trigger::pmtPulse::t_end
double t_end
Definition:
pmtSoftwareTrigger.hh:15
sbnd::trigger::pmtInfo::channel
int channel
Definition:
pmtSoftwareTrigger.hh:21
sbnd::trigger::pmtSoftwareTrigger::promptPE
double promptPE
Definition:
pmtSoftwareTrigger.hh:33
sbnd::trigger::pmtSoftwareTrigger::nAboveThreshold
int nAboveThreshold
Definition:
pmtSoftwareTrigger.hh:31
sbnd::trigger::pmtSoftwareTrigger::prelimPE
double prelimPE
Definition:
pmtSoftwareTrigger.hh:34
sbnd::trigger::pmtPulse::t_start
double t_start
Definition:
pmtSoftwareTrigger.hh:13
Generated by
1.8.5