HerdSoftware
0.3.2
|
Data structure with the trigger flags for CaloPMT. More...
#include <dataobjects/CaloPMTTriggerFlags.h>
Public Types | |
enum | CaloPMTTriggerMask : unsigned short { CaloPMTTriggerMask::NONE = 0, CaloPMTTriggerMask::ABOVETHRS_HE = 1, CaloPMTTriggerMask::CALOTRABOVETHRS_LEG = 1 << 1, CaloPMTTriggerMask::CALOTRABOVETHRS_UNB = 1 << 2, CaloPMTTriggerMask::INFOVALID = 1 << 15 } |
Enum used as index for the bitset member LSB : corresponds to the flag for HE trigger: 1 -> above threshold / 0 -> below threshold. bit 1: corresponds to the flag for LEG trigger: 1 -> at least one trigger region above threshold / 0 -> none above threshold bit 2: corresponds to the flag for UNB trigger: 1 -> at least one trigger region above threshold / 0 -> none above threshold bit 15: validity bit : 1 -> the trigger flag is valid for the next steps / 0 -> is not valid. More... | |
Public Member Functions | |
CaloPMTTriggerFlags () | |
Default constructor Resets the values of all the members. More... | |
virtual | ~CaloPMTTriggerFlags ()=default |
Virtual destructor. More... | |
void | Reset () |
Set the members to default values. More... | |
Public Attributes | |
CaloPMTTriggerMask | caloPMTTrigMask |
Bitmask for the CaloPMT trigger flags. More... | |
Data structure with the trigger flags for CaloPMT.
|
strong |
Enum used as index for the bitset member LSB : corresponds to the flag for HE trigger: 1 -> above threshold / 0 -> below threshold. bit 1: corresponds to the flag for LEG trigger: 1 -> at least one trigger region above threshold / 0 -> none above threshold bit 2: corresponds to the flag for UNB trigger: 1 -> at least one trigger region above threshold / 0 -> none above threshold bit 15: validity bit : 1 -> the trigger flag is valid for the next steps / 0 -> is not valid.
Enumerator | |
---|---|
NONE | |
ABOVETHRS_HE | |
CALOTRABOVETHRS_LEG | |
CALOTRABOVETHRS_UNB | |
INFOVALID |
|
inline |
Default constructor Resets the values of all the members.
|
virtualdefault |
Virtual destructor.
|
inline |
Set the members to default values.
CaloPMTTriggerMask Herd::CaloPMTTriggerFlags::caloPMTTrigMask |
Bitmask for the CaloPMT trigger flags.