Skip to content

Commit 8e53d3e

Browse files
committed
Update definitions for new trigger variables for the cafs
1 parent cb16afd commit 8e53d3e

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

sbnobj/Common/Trigger/ExtraTriggerInfo.h

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include <iosfwd> // std::ostream
2020
#include <limits> // std::numeric_limits<>
2121
#include <cstdint> // std::uint64_t
22+
#include <vector>
2223

2324

2425
// -----------------------------------------------------------------------------
@@ -87,7 +88,19 @@ struct sbn::ExtraTriggerInfo {
8788

8889
/// Incremental counter of gates from this source opened from start of the run.
8990
unsigned int gateCount { 0 };
90-
91+
92+
// Boolean telling if the event passed the trigger
93+
bool triggerEmulation { false };
94+
95+
// Number of PMT pairs over the trigger threshold
96+
int pairsOverThreshold { 0 };
97+
98+
// Trigger responses for all of the waveforms in the event (flattened)
99+
std::vector<int> MonPulses { std::vector<int>() }; // default ???
100+
101+
// Length of each trigger response to unflatten the trigger responses
102+
std::vector<int> MonPulseSizes { std::vector<int>() };
103+
91104
/// @}
92105
// --- END ---- Since the beginning of the run -------------------------------
93106

sbnobj/Common/Trigger/classes_def.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
<!-- sbn::ExtraTriggerInfo -->
2020

2121
<!-- class -->
22-
<class name="sbn::ExtraTriggerInfo" ClassVersion="10" >
22+
<class name="sbn::ExtraTriggerInfo" ClassVersion="11" >
23+
<version ClassVersion="11" checksum="587699878"/>
2324
<version ClassVersion="10" checksum="1967722932"/>
2425
</class>
2526

0 commit comments

Comments
 (0)