Belle II Software light-2406-ragdoll
|
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. | |
unsigned | getRFBucketsPerRevolution () const |
Returns the number of RF buckets per beam revolution. | |
const std::vector< bool > & | getFillPattern () const |
Returns fill pattern. | |
bool | getBucket (int i) const |
Returns the fill status of RF bucket. | |
bool | isSet () const |
Checks if the fill pattern is really set. | |
unsigned | getNumOfFilledBuckets () const |
Returns the number of filled buckets. | |
unsigned | generateBucketNumber () const |
Generates RF bucket number according to the fill pattern. | |
Private Types | |
enum | { c_RFBuckets = 5120 } |
Number of RF buckets per beam revolution. More... | |
Private Member Functions | |
ClassDef (BunchStructure, 1) | |
dont't write out | |
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 |
Number of RF buckets per beam revolution.
Definition at line 85 of file BunchStructure.h.
|
inline |
|
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.
|
mutableprivate |
cache for the filled bucket numbers
Definition at line 90 of file BunchStructure.h.
|
private |
fill pattern, true means the bucket is filled
Definition at line 87 of file BunchStructure.h.