![]() |
Belle II Software
release-08-02-04
|
Class to store the fill pattern of colliding bunches. More...
#include <BunchStructure.h>


Public Member Functions | |
| BunchStructure () | |
| Default constructor. | |
| void | setBucket (unsigned i) |
| Sets the fill status of RF bucket to true. More... | |
| unsigned | getRFBucketsPerRevolution () const |
| Returns the number of RF buckets per beam revolution. More... | |
| const std::vector< bool > & | getFillPattern () const |
| Returns fill pattern. More... | |
| bool | getBucket (int i) const |
| Returns the fill status of RF bucket. More... | |
| bool | isSet () const |
| Checks if the fill pattern is really set. More... | |
| unsigned | getNumOfFilledBuckets () const |
| Returns the number of filled buckets. More... | |
| unsigned | generateBucketNumber () const |
| Generates RF bucket number according to the fill pattern. More... | |
Private Types | |
| enum | { c_RFBuckets = 5120 } |
| Number of RF buckets per beam revolution. | |
Private Member Functions | |
| ClassDef (BunchStructure, 1) | |
| dont't write out More... | |
Private Attributes | |
| std::vector< bool > | m_fillPattern |
| fill pattern, true means the bucket is filled | |
| std::vector< unsigned > | m_filledBuckets |
| cache for the filled bucket numbers | |
Class to store the fill pattern of colliding bunches.
Default: if setBucket is not called, works as every second bucket is filled (even bucket numbers).
Definition at line 26 of file BunchStructure.h.
|
private |
dont't write out
ClassDef
|
inline |
Returns fill pattern.
Definition at line 52 of file BunchStructure.h.
|
inline |
Returns the number of RF buckets per beam revolution.
Definition at line 46 of file BunchStructure.h.
|
inline |
Checks if the fill pattern is really set.
Definition at line 65 of file BunchStructure.h.