epic-drich-beam-test-analysis
ePIC dRICH beam test analysis framework
Loading...
Searching...
No Matches
trigger_config Struct Reference

Static configuration for a single trigger channel, loaded from TOML. More...

#include <triggers.h>

Public Member Functions

 trigger_config (const std::string &_name, uint8_t _index, uint16_t _delay, uint16_t _device)
 Construct from all fields.
 

Public Attributes

std::string name
 Human-readable trigger label (e.g. "luca_and_finger")
 
uint8_t index
 Trigger index in [0, 99] used in the data stream.
 
uint16_t delay
 Delay applied to this trigger channel (DAQ units)
 
uint16_t device
 Hardware device ID that produces this trigger.
 

Detailed Description

Static configuration for a single trigger channel, loaded from TOML.

Each entry corresponds to one [[trigger]] block in the config file. Lives in the trigger_registry; not created per-event.

Constructor & Destructor Documentation

◆ trigger_config()

trigger_config::trigger_config ( const std::string &  _name,
uint8_t  _index,
uint16_t  _delay,
uint16_t  _device 
)
inline

Construct from all fields.

Parameters
_nameTrigger name.
_indexTrigger index.
_delayTrigger delay.
_deviceSource device ID.

The documentation for this struct was generated from the following file: