34const std::vector<unsigned int>&
38 throw std::out_of_range (
"BunchGroupCondData::bunchGroup");
52 if ((mask & (1<<i)) != 0) {
Holds data on filled bunches.
void shrink()
Shrink all vectors to size.
static constexpr unsigned int NBCID
Maximum size of BCID vectors.
std::vector< unsigned int > m_bunchGroups[NBUNCHGROUPS]
BCIDs of filled bunches, per group.
BunchGroupCondData()
Constructor.
void addBCID(unsigned int bcid, uint8_t mask)
Add informatin for one BCID.
static constexpr unsigned int NBUNCHGROUPS
Number of bunch groups.
const std::vector< unsigned int > & bunchGroup(unsigned int group) const
Return filled BCIDs for one bunch group.