HerdSoftware  0.1.1
CaloPMTTriggerFlags.h
Go to the documentation of this file.
1 
3 #ifndef HERD_CALOPMTTRIGGERFLAGS_H_
4 #define HERD_CALOPMTTRIGGERFLAGS_H_
5 
6 // HerdSoftware headers
7 #include "common/BitMask.h"
10 
11 #ifdef HS_USE_ROOT
12 #include "Rtypes.h"
13 #endif
14 
15 namespace Herd {
16 
21 public:
29  enum class CaloPMTTriggerMask : unsigned short {
30  NONE = 0,
31  ABOVETHRS_HE = 1,
32  CALOTRABOVETHRS_LEG = 1 << 1,
33  CALOTRABOVETHRS_UNB = 1 << 2,
34  INFOVALID = 1 << 15
35  };
36 
41 
43  virtual ~CaloPMTTriggerFlags() = default;
44 
48 
50 
51 #ifdef HS_USE_ROOT
52  ClassDef(CaloPMTTriggerFlags, 1);
53 #endif
54 };
55 
56 } // namespace Herd
57 
58 // Enable bitmask operations
60 
61 #endif /* HERD_CALOPMTRIGGERFLAGS_H_ */
Data structure with the trigger flags for CaloPMT.
Definition: CaloPMTTriggerFlags.h:20
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:24
void Reset()
Set the members to default values.
Definition: CaloPMTTriggerFlags.h:47
CaloPMTTriggerFlags()
Default constructor Resets the values of all the members.
Definition: CaloPMTTriggerFlags.h:40
CaloPMTTriggerMask caloPMTTrigMask
Bitmask for the CaloPMT trigger flags.
Definition: CaloPMTTriggerFlags.h:49
CaloPMTTriggerMask
Enum used as index for the bitset member LSB : corresponds to the flag for HE trigger: 1 -> above thr...
Definition: CaloPMTTriggerFlags.h:29
virtual ~CaloPMTTriggerFlags()=default
Virtual destructor.
#define ENABLE_BITMASK_OPERATORS(x)
Type safe implementation of a bitmask enum.
Definition: BitMask.h:21