All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
29 
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;
37  };
38 
39 } // namespace sbnd::trigger
40 
41 #endif
std::vector< sbnd::trigger::pmtInfo > pmtInfoVec
std::vector< sbnd::trigger::pmtPulse > pulseVec