85 enum {c_RFBuckets = 5120};
Class to store the fill pattern of colliding bunches.
const std::vector< bool > & getFillPattern() const
Returns fill pattern.
BunchStructure()
Default constructor.
unsigned getRFBucketsPerRevolution() const
Returns the number of RF buckets per beam revolution.
bool isSet() const
Checks if the fill pattern is really set.
std::vector< unsigned > m_filledBuckets
cache for the filled bucket numbers
ClassDef(BunchStructure, 1)
dont't write out
std::vector< bool > m_fillPattern
fill pattern, true means the bucket is filled
unsigned getNumOfFilledBuckets() const
Returns the number of filled buckets.
void setBucket(unsigned i)
Sets the fill status of RF bucket to true.
bool getBucket(int i) const
Returns the fill status of RF bucket.
unsigned generateBucketNumber() const
Generates RF bucket number according to the fill pattern.
Abstract base class for different kinds of events.