15#include "fairlogger/Logger.h"
26 if (
labels.size() != amplitudeFractions.size()) {
27 LOG(error) <<
"Size of labels " <<
labels.size() <<
" does not match size of amplitude fraction " << amplitudeFractions.size() <<
" !";
33 if (
labels.size() != amplitudeFractions.size()) {
34 LOG(error) <<
"Size of labels " <<
labels.size() <<
" does not match size of amplitude fraction " << amplitudeFractions.size() <<
" !";
std::vector< std::string > labels
int32_t GetLeadingMCLabel() const
Getter for label with leading amplitude fraction.
CellLabel(std::vector< int > labels, std::vector< float > amplitudeFractions)
Constructor using std::vector by moving NOT copying.
std::vector< int32_t > mLabels
List of MC particles that generated the cluster, ordered in deposited energy.
std::vector< float > mAmplitudeFraction
List of the fraction of the cell energy coming from a MC particle. Index aligns with mLabels!
Defining DataPointCompositeObject explicitly as copiable.
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"