5#ifndef TRIGCONFDATA_L1ITEM_H
6#define TRIGCONFDATA_L1ITEM_H
32 virtual std::string
className()
const override;
35 unsigned int ctpId()
const;
41 const std::vector<std::string> &
bunchgroups()
const;
50 const std::string &
monitor()
const;
67 std::optional<bool>
legacy()
const;
const ptree & data() const
Access to the underlying data, if needed.
DataStructure()
Default constructor, leading to an uninitialized configuration object.
boost::property_tree::ptree ptree
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.
virtual ~L1Item() override=default
Destructor.
virtual void update() override
Update the internal data after modification of the data object.
std::vector< std::string > m_bunchgroups
const std::string & monitor() const
Accessor to the item monitoring definition.
Forward iterator to traverse the main components of the trigger configuration.