42 uint16_t bit = 0x1 << bitpos;
43 const std::vector<int>& b = bg.bunches();
44 for(
size_t i=0; i<b.size(); ++i)
54 cout <<
" (id=" <<
id() <<
"/v=" <<
version() <<
")";
67 <<
"<BunchGroupSet name=\"" <<
name() <<
"\" menuPartition=\"" <<
m_MenuPartition <<
"\">" << endl;
69 bg.writeXML(
xmlfile, indentLevel+1, indentWidth);
71 <<
"</BunchGroupSet>" << endl;
void setBGName(uint32_t, const std::string &)
std::vector< BunchGroup > m_BunchGroups
virtual void print(const std::string &indent="", unsigned int detail=1) const override
void fillPattern(uint32_t bitpos, const BunchGroup &bg)
void addBunchGroup(const BunchGroup &)
std::vector< uint16_t > m_BGpattern
void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const
std::ostream & indent(std::ostream &o, int lvl, int size) const
const std::string & name() const
unsigned int version() const
static std::vector< std::string > xmlfile
Forward iterator to traverse the main components of the trigger configuration.