![]() |
ATLAS Offline Software
|
Holds data on filled bunches. More...
#include <BunchGroupCondData.h>
Public Member Functions | |
| BunchGroupCondData () | |
| Constructor. More... | |
| const std::vector< unsigned int > & | bunchGroup (unsigned int group) const |
| Return filled BCIDs for one bunch group. More... | |
| void | addBCID (unsigned int bcid, uint8_t mask) |
| Add informatin for one BCID. More... | |
| void | shrink () |
| Shrink all vectors to size. More... | |
Static Public Attributes | |
| constexpr static unsigned int | NBUNCHGROUPS = 8 |
| Number of bunch groups. More... | |
| constexpr static unsigned int | NBCID = 3564 |
| Maximum size of BCID vectors. More... | |
Private Attributes | |
| std::vector< unsigned int > | m_bunchGroups [NBUNCHGROUPS] |
| BCIDs of filled bunches, per group. More... | |
Holds data on filled bunches.
For each bunch group, hold a vector of filled BCIDs.
Definition at line 28 of file BunchGroupCondData.h.
| BunchGroupCondData::BunchGroupCondData | ( | ) |
| void BunchGroupCondData::addBCID | ( | unsigned int | bcid, |
| uint8_t | mask | ||
| ) |
Add informatin for one BCID.
| bcid | BCID to add. |
| mask | Mask of groups in which this BCID is filled. |
Definition at line 49 of file BunchGroupCondData.cxx.
| const std::vector< unsigned int > & BunchGroupCondData::bunchGroup | ( | unsigned int | group | ) | const |
Return filled BCIDs for one bunch group.
| group | Bunch group to retrieve. |
Returns a vector of filled BCIDs for a group.
Definition at line 35 of file BunchGroupCondData.cxx.
| void BunchGroupCondData::shrink | ( | ) |
|
private |
BCIDs of filled bunches, per group.
Definition at line 69 of file BunchGroupCondData.h.
|
staticconstexpr |
Maximum size of BCID vectors.
Definition at line 35 of file BunchGroupCondData.h.
|
staticconstexpr |
Number of bunch groups.
Definition at line 32 of file BunchGroupCondData.h.
1.8.18