12#ifndef ALICEO2_CPV_CLUSTER_H_
13#define ALICEO2_CPV_CLUSTER_H_
46 Cluster(
unsigned char mult,
char mod,
char exMax,
float x,
float z,
float e) :
mMulDigit(mult),
mModule(mod),
mNExMax(exMax),
mLocalPosX(
x),
mLocalPosZ(
z),
mEnergy(
e) {}
90 s.multiplicity = std::min(
mMulDigit,
static_cast<unsigned char>(31));
127struct is_messageable;
uint64_t exp(uint64_t base, uint8_t exp) noexcept
unsigned short int uint16_t
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 e
Contains CPV cluster parameters.
void setPackedPosZ(uint16_t v)
void setPacked(uint16_t posX, uint16_t posZ, uint8_t en, uint8_t status)
uint16_t getPackedPosX() const
bool operator<(const Cluster &other) const
Comparison oparator, based on time and coordinates.
char mNExMax
number of (Ex-)maxima before unfolding
unsigned char mMulDigit
Digit nultiplicity.
Cluster(const Cluster &clu)=default
Cluster(unsigned char mult, char mod, char exMax, float x, float z, float e)
float mLocalPosX
Center of gravity position in local module coordunates (phi direction)
void setPackedPosX(uint16_t v)
bool operator>(const Cluster &other) const
Comparison oparator, based on time and coordinates.
void setPackedEnergy(uint8_t v)
uint8_t getPackedEnergy() const
unsigned char getMultiplicity() const
uint16_t getPackedPosZ() const
char mModule
Module number.
uint8_t getPackedClusterStatus() const
void getLocalPosition(float &posX, float &posZ) const
float mEnergy
full energy of a cluster
float mLocalPosZ
Center of gravity position in local module coordunates (z direction)
void setPackedClusterStatus(uint8_t v)
void setNExMax(char nmax=1)
GLdouble GLdouble GLdouble z
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
VectorOfTObjectPtrs other