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>() );