![]() |
Belle II Software
release-08-02-04
|
Class to store Trigger Type information. More...
#include <SVDTriggerType.h>

Public Types | |
| typedef uint8_t | baseType |
| The base integer type for SVDTriggerType. | |
Public Member Functions | |
| SVDTriggerType (baseType type=0) | |
| Constructor using the unique type. More... | |
| void | setType (baseType type) |
| Set the unique type. | |
| baseType | getType () const |
| Get the unique type. | |
Private Attributes | |
| union { | |
| baseType type: 4 | |
| Unique id. | |
| struct { | |
| baseType bin1: 1 | |
| baseType bin2: 1 | |
| LSB. | |
| baseType bin3: 1 | |
| baseType bin4: 1 | |
| } parts1 | |
| struct { | |
| baseType bin12: 2 | |
| baseType bin34: 2 | |
| first 2 bits | |
| } parts2 | |
| } | m_triggerID |
| how to interpret the 4 bits: More... | |
Class to store Trigger Type information.
Definition at line 23 of file SVDTriggerType.h.
|
inlineexplicit |
Constructor using the unique type.
Definition at line 30 of file SVDTriggerType.h.
| union { ... } m_triggerID |
how to interpret the 4 bits:
PID0 0x0 fine-timing trigger, tfine=0 PID1 0x4 fine-timing trigger, tfine=1 PID2 0x8 fine-timing trigger, tfine=2 PID3 0xc fine-timing trigger, tfine=3 RSV0 0x2 reserve 0 RSV1 0x6 reserve 1 RSV2 0xa reserve 2 RSV3 0xe reserve 3 ECL 0x1 ECL trigger, coarse-timing CDC 0x3 CDC trigger, coarse-timing DPHY 0x5 delayed physics trigger RAND 0x7 random trigger TEST 0x9 test trigger RSV4 0xb reserve 4 RSV5 0xd reserve 5 NONE 0xf not a trigger Union to store the ID and all components in one go.