13#ifndef COOLLUMIUTILITIES_BUNCHGROUPCONDDATA_H
14#define COOLLUMIUTILITIES_BUNCHGROUPCONDDATA_H
35 constexpr static unsigned int NBCID = 3564;
50 const std::vector<unsigned int>&
bunchGroup (
unsigned int group)
const;
58 void addBCID (
unsigned int bcid, uint8_t mask);
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
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.