28 for(
auto & bg :
getList(
"bunchgroups") ) {
45const std::vector<std::string> &
84 unsigned char ttuc(0);
85 for(
size_t p = 0; p<tt.size(); p++) {
87 if(tt[p]==
'1') ttuc += 1;
static const Attributes_t empty
Base class for Trigger configuration data and wrapper around underlying representation.
std::vector< DataStructure > getList(const std::string &pathToChild, bool ignoreIfMissing=false) const
Access to array structure.
bool isInitialized() const
const ptree & data() const
Access to the underlying data, if needed.
bool hasAttribute(const std::string &key) const
Check for attribute.
DataStructure()
Default constructor, leading to an uninitialized configuration object.
T getAttribute(const std::string &key, bool ignoreIfMissing=false, const T &def=T()) const
Access to simple attribute.
DataStructure getObject(const std::string &pathToChild, bool ignoreIfMissing=false) const
Access to configuration object.
unsigned char triggerTypeAsUChar() const
Accessor to the item triggerType returned format is an uchar (8 bit L1 trigger type)
const std::string & triggerType() const
Accessor to the item triggerType returned format is a string (e.g.
unsigned int partition() const
Accessor to the item partition.
std::optional< bool > legacy() const
Accessor to the item legacy flag.
DataStructure logic() const
Accessor to the item logic.
unsigned int ctpId() const
Accessor to the CTP ID.
unsigned int complexDeadtime() const
Accessor to the complex deadtime.
virtual std::string className() const override
A string that is the name of the class.
const std::vector< std::string > & bunchgroups() const
Accessor to the list of bunchgroups.
const std::string & definition() const
Accessor to the item definition.
std::vector< std::string > m_bunchgroups
const std::string & monitor() const
Accessor to the item monitoring definition.