11#include <analysis/dbobjects/ParticleWeightingKeyMap.h>
Class for handling KeyMap.
Class for handling LookUp tables.
WeightInfo getInfo(std::map< std::string, double > values) const
Get axes names.
void addEntry(WeightInfo entryValue, NDBin bin)
Adds entry to the LookUp table and also adds entry to key table if needed.
std::vector< std::string > getAxesNames() const
Get axes names.
WeightMap m_WeightMap
Collection of weight infos for global bins.
void defineOutOfRangeWeight(const WeightInfo &entryValue)
Define reweight info for particles out of range.
ClassDef(ParticleWeightingLookUpTable, 1)
ClassDef as this is a TObject.
ParticleWeightingLookUpTable()
Constructor.
ParticleWeightingKeyMap m_KeyMap
LookUp table matches bins of the key map with the LookUp info.
void printParticleWeightingLookUpTable() const
Print content of LookUpTable.
const int m_OutOfRangeBinID
out-of-range bin ID
std::map< int, WeightInfo > WeightMap
Weight map: the whole lookup table
std::map< std::string, ParticleWeightingBinLimits * > NDBin
N-dim bin: pairs of bin limits with name of the axis variable.
std::map< std::string, double > WeightInfo
Weight information: a line from the weight lookup table.
Abstract base class for different kinds of events.