|
epic-drich-beam-test-analysis
ePIC dRICH beam test analysis framework
|
Associates a named readout role with a set of (device, chip) pairs. More...
#include <config_reader.h>
Public Member Functions | |
| readout_config_struct (std::string _name, std::map< uint16_t, std::vector< uint16_t > > _device_chip) | |
| Construct with an explicit name and device–chip map. | |
| void | add_device_chip (uint16_t device, uint16_t chip) |
| Register a single (device, chip) pair. | |
| void | add_device (uint16_t device) |
| Register all 8 chips of a device. | |
Public Attributes | |
| std::string | name |
Human-readable role name (e.g. "cherenkov"). | |
| std::map< uint16_t, std::vector< uint16_t > > | device_chip |
| Active chips per device. | |
Associates a named readout role with a set of (device, chip) pairs.
The device_chip map keys are ALCOR device indices; values are the list of chip indices active under that device for the given role.
| readout_config_struct::readout_config_struct | ( | std::string | _name, |
| std::map< uint16_t, std::vector< uint16_t > > | _device_chip | ||
| ) |
Construct with an explicit name and device–chip map.
| _name | Role name. |
| _device_chip | Initial device–chip assignment. |
| void readout_config_struct::add_device | ( | uint16_t | device | ) |
Register all 8 chips of a device.
| device | ALCOR device index. |
| void readout_config_struct::add_device_chip | ( | uint16_t | device, |
| uint16_t | chip | ||
| ) |
Register a single (device, chip) pair.
| device | ALCOR device index. |
| chip | Chip index within the device. |