cell class for MC particle IDs and their respective amplitude fraction
More...
#include <CellLabel.h>
|
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!
|
|
cell class for MC particle IDs and their respective amplitude fraction
- Author
- Marvin Hemmer marvi.nosp@m.n.he.nosp@m.mmer@.nosp@m.cern.nosp@m..ch, Goethe university Frankfurt
- Since
- December 13, 2023
Definition at line 33 of file CellLabel.h.
◆ CellLabel()
CellLabel::CellLabel |
( |
const gsl::span< const int > |
labels, |
|
|
const gsl::span< const float > |
amplitudeFractions |
|
) |
| |
Constructor.
- Parameters
-
labels | list of mc labels |
amplitudeFractions | list of amplitude fractions |
Definition at line 18 of file CellLabel.cxx.
◆ GetAmplitudeFraction()
float o2::emcal::CellLabel::GetAmplitudeFraction |
( |
size_t |
index | ) |
const |
|
inline |
Getter for amplitude fraction.
- Parameters
-
index | index which amplitude fraction to get |
Definition at line 57 of file CellLabel.h.
◆ GetLabel()
int32_t o2::emcal::CellLabel::GetLabel |
( |
size_t |
index | ) |
const |
|
inline |
Getter for label.
- Parameters
-
index | index which label to get |
Definition at line 53 of file CellLabel.h.
◆ GetLabelSize()
size_t o2::emcal::CellLabel::GetLabelSize |
( |
void |
| ) |
const |
|
inline |
Getter of label size.
- Parameters
-
index | index which label to get |
Definition at line 49 of file CellLabel.h.
◆ mAmplitudeFraction
gsl::span<const float> o2::emcal::CellLabel::mAmplitudeFraction |
|
protected |
List of the fraction of the cell energy coming from a MC particle. Index aligns with mLabels!
Definition at line 61 of file CellLabel.h.
◆ mLabels
gsl::span<const int32_t> o2::emcal::CellLabel::mLabels |
|
protected |
List of MC particles that generated the cluster, ordered in deposited energy.
Definition at line 60 of file CellLabel.h.
The documentation for this class was generated from the following files:
- /home/runner/work/AliceO2/AliceO2/DataFormats/Detectors/EMCAL/include/DataFormatsEMCAL/CellLabel.h
- /home/runner/work/AliceO2/AliceO2/DataFormats/Detectors/EMCAL/src/CellLabel.cxx