epic-drich-beam-test-analysis
ePIC dRICH beam test analysis framework
Loading...
Searching...
No Matches
readout_config_list Class Reference

Searchable container of readout_config_struct entries. More...

#include <config_reader.h>

Public Member Functions

Construction
 readout_config_list (std::vector< readout_config_struct > vec)
 Construct from an existing vector of configs (moved in).
 
Search
readout_config_structfind_by_name (const std::string &name)
 First config whose name matches name, or nullptr.
 
readout_config_structfind_by_device (uint16_t device)
 First config that contains device, or nullptr.
 
std::vector< readout_config_struct * > find_all_by_device (uint16_t device)
 All configs that contain device.
 
std::vector< std::string > find_by_device_and_chip (uint16_t device, uint16_t chip)
 Names of all configs that contain the (device, chip) pair.
 
bool has_name (const std::string &name) const
 true if any config has name equal to name.
 
Role presence flags
bool has_cherenkov ()
 true if a "cherenkov" role is present.
 
bool has_timing ()
 true if a "timing" role is present.
 
bool has_tracking ()
 true if a "tracking" role is present.
 

Public Attributes

std::vector< readout_config_structconfigs
 Ordered list of readout role assignments.
 

Detailed Description

Searchable container of readout_config_struct entries.

All find methods return raw pointers into the internal vector; the pointers remain valid as long as the list is not modified.


The documentation for this class was generated from the following files: