double getKey(std::map< std::string, double > values) const
Get global bin ID for given observable values.
std::map< std::string, ParticleWeightingAxis * > m_axes
Axes mapped with their names.
ParticleWeightingKeyMap()
Constructor.
void addAxis(const std::string &name)
Add axis.
std::vector< std::string > getNames() const
Get vector of names ParticleWeightingKeyMap.
const int m_outOfRangeBin
We assign unique bin ID for out-of-range bin.
int addKey(NDBin bin, int key_ID)
Adding predefined ID to the table.
void printKeyMap() const
Print content of the key map.
std::vector< MultiDimBin > m_bins
Vector of keys.