12#ifndef ALICEO2_EMCAL_CELLLABEL_H_
13#define ALICEO2_EMCAL_CELLLABEL_H_
41 CellLabel(std::vector<int> labels, std::vector<float> amplitudeFractions);
46 CellLabel(gsl::span<const int> labels, 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.
int32_t GetLeadingMCLabel() const
Getter for label with leading amplitude fraction.
float GetAmplitudeFraction(size_t index) const
Getter for amplitude fraction.
std::vector< int32_t > mLabels
List of MC particles that generated the cluster, ordered in deposited energy.
std::vector< float > GetAmplitudeFractions() const
Getter for amplitude fractions.
size_t GetLabelSize(void) const
Getter of label size.
std::vector< int32_t > GetLabels() const
Getter for labels.
std::vector< 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 ...