12#ifndef ALICEO2_EMCAL_CELLLABEL_H_
13#define ALICEO2_EMCAL_CELLLABEL_H_
15#include <fairlogger/Logger.h>
41 CellLabel(
const gsl::span<const int> labels,
const gsl::span<const float> amplitudeFractions);
cell class for MC particle IDs and their respective amplitude fraction
int32_t GetLabel(size_t index) const
Getter for label.
float GetAmplitudeFraction(size_t index) const
Getter for amplitude fraction.
size_t GetLabelSize(void) const
Getter of label size.
gsl::span< const int32_t > mLabels
List of MC particles that generated the cluster, ordered in deposited energy.
gsl::span< const float > mAmplitudeFraction
List of the fraction of the cell energy coming from a MC particle. Index aligns with mLabels!
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...