12#ifndef O2_MCH_RAW_BITSET_H
13#define O2_MCH_RAW_BITSET_H
39 explicit BitSet(std::string_view
s);
83 void set(
int pos,
bool val);
97 int size()
const {
return mSize; }
103 int len()
const {
return mLen; }
164 std::vector<uint8_t> mBytes;
165 static int nofInstances;
168int circularAppend(BitSet& bs,
const BitSet& ringBuffer,
int startBit,
int n);
170std::ostream&
operator<<(std::ostream& os,
const BitSet& bs);
unsigned short int uint16_t
o2::raw::RawFileWriter * raw
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error s
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char Directory with events to Events directory is and not inside events Show standalone event Run event generator maximum time bin of continuous for triggered for automatic continuous for automatic continuous triggered uint64_t
uint8_t uint8(int a, int b) const
uint16_t uint16(int a, int b) const
uint64_t uint64(int a, int b) const
void setFromBytes(gsl::span< uint8_t > bytes)
bool operator!=(const BitSet &rhs) const
std::string stringLSBLeft() const
void setRangeFromString(int a, int b, std::string_view s)
void setFast(int pos, bool val)
void setRangeFromUint(int a, int b, uint8_t v)
bool operator==(const BitSet &rhs) const
uint32_t uint32(int a, int b) const
BitSet subset(int a, int b) const
std::string stringLSBRight() const
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
int circularAppend(BitSet &bs, const BitSet &ringBuffer, int startBit, int n)
std::string compactString(const BitSet &bs)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
std::ostream & operator<<(std::ostream &stream, o2::InteractionRecord const &ir)