|
ATLAS Offline Software
|
Go to the documentation of this file.
31 if(! isInitialized() ||
empty() ) {
34 m_name = getAttribute(
"name",
true, m_name);
46 return getAttribute<unsigned int>(
"counter");
52 return getAttribute<unsigned int>(
"nameHash");
58 return getAttribute(
"l1item");
62 std::vector<size_t> returnMultiplicities;
63 const auto& theMultiplicities = getList(
"legMultiplicities");
64 if( !theMultiplicities.empty() ) {
65 returnMultiplicities.reserve(theMultiplicities.size());
66 for(
auto&
m : theMultiplicities ) {
67 returnMultiplicities.push_back(
m.getValue<
size_t>() );
70 return returnMultiplicities;
73 std::vector<std::string>
77 std::vector<std::string> thrV;
78 const auto & thrs = getList(
"l1thresholds");
80 thrV.reserve(thrs.size());
81 for(
auto & thr : thrs ) {
82 thrV.emplace_back( thr.getValue<std::string>() );
89 std::vector<std::string>
93 std::vector<std::string> strlist;
94 const auto &
streams = getList(
"streams");
96 strlist.reserve(
streams.size());
98 strlist.emplace_back(
stream.getValue<std::string>() );
105 std::vector<std::string>
109 std::vector<std::string> grouplist;
110 const auto &
groups = getList(
"groups",
true);
112 grouplist.reserve(
groups.size());
114 if (
group.hasAttribute(
"name")) {
115 grouplist.emplace_back(
group[
"name"] );
116 }
else if (
group.isValue()) {
117 grouplist.emplace_back(
group.getValue<std::string>() );
125 std::vector<std::string>
129 std::vector<std::string> seqlist;
130 const auto & seqs = getList(
"sequencers");
131 if( !seqs.empty() ) {
132 seqlist.reserve(seqs.size());
133 for(
auto &
seq : seqs ) {
134 seqlist.emplace_back(
seq.getValue<std::string>() );
seq
filter configuration ## -> we use the special sequence 'AthMasterSeq' which is run before any other a...
std::vector< std::string > l1thresholds() const
Accessor to the l1 thresholds.
char data[hepevt_bytes_allocation_ATLAS]
std::vector< std::string > streams() const
Accessor to the connected output streams.
void update() override
Update the internal data after modification of the data object.
virtual std::string className() const override
A string that is the name of the class.
std::vector< std::string > groups() const
Accessor to the groups this chain belongs to.
std::vector< size_t > legMultiplicities() const
Accessor to the chains multiplicitiy requirements for each of its legs.
std::vector< std::string > sequencers() const
Accessor to the sequencers this chain belongs to.
boost::property_tree::ptree ptree
Base class for Trigger configuration data and wrapper around underlying representation.
unsigned int counter() const
Accessor to the chain counter.
unsigned int namehash() const
Accessor to the chain name hash.
const std::string & l1item() const
Accessor to the seeding L1 item.
def load(f, use_proxy=1, key=None)