|
ATLAS Offline Software
|
Go to the documentation of this file.
24 if(! isInitialized() ||
empty() ) {
27 m_name = getAttribute(
"name");
28 for(
auto &
bg : getList(
"bunchgroups") ) {
29 m_bunchgroups.push_back(
bg.getValue<std::string>());
36 return getAttribute<unsigned int>(
"ctpid");
42 return getAttribute(
"definition");
45 const std::vector<std::string> &
53 return getAttribute<unsigned int>(
"complexDeadtime");
59 return getAttribute(
"monitor");
65 return getAttribute<unsigned int>(
"partition");
71 return getAttribute(
"triggerType");
77 return hasAttribute(
"legacy") ? std::optional<bool>{getAttribute<bool>(
"legacy")} : std::nullopt;
83 std::string
tt ( getAttribute(
"triggerType") );
84 unsigned char ttuc(0);
85 for(
size_t p = 0;
p<
tt.size();
p++) {
87 if(
tt[
p]==
'1') ttuc += 1;
95 return getObject(
"AND");
unsigned int complexDeadtime() const
Accessor to the complex deadtime.
char data[hepevt_bytes_allocation_ATLAS]
unsigned char triggerTypeAsUChar() const
Accessor to the item triggerType returned format is an uchar (8 bit L1 trigger type)
unsigned int ctpId() const
Accessor to the CTP ID.
std::optional< bool > legacy() const
Accessor to the item legacy flag.
unsigned int partition() const
Accessor to the item partition.
const std::string & triggerType() const
Accessor to the item triggerType returned format is a string (e.g.
virtual std::string className() const override
A string that is the name of the class.
const std::string & definition() const
Accessor to the item definition.
boost::property_tree::ptree ptree
Base class for Trigger configuration data and wrapper around underlying representation.
const std::vector< std::string > & bunchgroups() const
Accessor to the list of bunchgroups.
DataStructure logic() const
Accessor to the item logic.
const std::string & monitor() const
Accessor to the item monitoring definition.