12#ifndef ALICEO2_PHOS_CLUSTER_H_
13#define ALICEO2_PHOS_CLUSTER_H_
35 CluElement(
short a,
bool hg,
float e,
float t,
float x,
float z,
int lab,
float fr) :
absId(
a),
isHG(hg),
label(lab),
energy(e),
time(t),
localX(
x),
localZ(
z),
fraction(fr) {}
Contains PHOS cluster parameters.
void addDigit()
Method to add digit to a cluster.
uint32_t getFirstCluEl() const
float mCoreEnergy
energy in a shower core
uint32_t mLastCluElement
index of the last contributing CluElement in a list
void setFirstCluEl(uint32_t first)
void setCoreEnergy(float ec)
float mLocalPosZ
Center of gravity position in local module coordunates (z direction)
int getMultiplicity() const
void setNExMax(char nmax=1)
void setDispersion(float d)
bool operator<(const Cluster &other) const
Comparison oparator, based on time and coordinates.
void setFiredTrigger(char t)
float mDistToBadChannel
Distance to nearest bad crystal.
float mLambdaShort
shower ellipse axes
uint32_t mFirstCluElement
index of the first contributing CluElement in a list
void setLocalPosition(float posX, float posZ)
float mTime
Time of the digit with maximal energy deposition.
float mLocalPosX
Center of gravity position in local module coordunates (phi direction)
bool operator>(const Cluster &other) const
Comparison oparator, based on time and coordinates.
float mDispersion
shower dispersion
float getDistanceToBadChannel() const
float getDispersion() const
void setLastCluEl(uint32_t last)
float mLambdaLong
shower ellipse axes
void getElipsAxis(float &lambdaShort, float &lambdaLong) const
char mNExMax
number of (Ex-)maxima before unfolding
char mFiredTrigger
matched with PHOS trigger: 0 no match, bit 1 with 2x2, bit 2 with 4x4
void setElipsAxis(float lambdaShort, float lambdaLong)
float mFullEnergy
full energy of a shower
void getLocalPosition(float &posX, float &posZ) const
uint32_t getLastCluEl() const
char firedTrigger() const
char mModule
Module number.
float getCoreEnergy() const
Cluster(const Cluster &clu)=default
GLuint GLsizei const GLchar * label
GLboolean GLboolean GLboolean GLboolean a
GLdouble GLdouble GLdouble z
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
CluElement(short a, bool hg, float e, float t, float x, float z, int lab, float fr)
VectorOfTObjectPtrs other