11 #include <framework/core/Module.h> 
   12 #include <analysis/dbobjects/ParticleWeightingLookUpTable.h> 
   28   typedef std::map<std::string, BinLimitsTuple> 
NDBinTuple; 
 
   29   typedef std::tuple<WeightInfo, NDBinTuple> 
noIdEntry;
 
Just pair of numbers - min and max values of bin border.
Module that creates LookUpTable and upload it to the DB.
listOfNoIdEntries m_tableIDNotSpec
List of entries for table to be created from without specified ID.
virtual void initialize() override
Initialize the Module.
NDBin NDBinTupleToNDBin(const NDBinTuple &bin_tuple)
Currently, std::pair can not be retrieved from python list We will get ParticleWeightingLookUpTable e...
virtual void terminate() override
Clean up anything created in initialize().
ParticleWeightingBinLimits * lims
object holding bin limits
int m_runLow
Lowest valid run #.
ParticleWeightingLookUpCreatorModule()
Constructor.
std::string m_tableName
Name of the table.
int m_experimentLow
Lowest valid experiment #.
int m_experimentHigh
Highest valid experiment #.
listOfSpecificIDEntries m_tableIDSpec
List of entries for table to be created from with specified ID.
int m_runHigh
Highest valid run #.
WeightInfo m_outOfRangeWeight
Weight info for out-of-range bin.
std::tuple< double, double > BinLimitsTuple
Currently, std::pair can not be retrieved from python list We will get ParticleWeightingLookUpTable e...
std::tuple< WeightInfo, NDBinTuple > noIdEntry
the ID
std::vector< specificIDEntry > listOfSpecificIDEntries
List of entries for table to be created from with specified ID.
std::map< std::string, BinLimitsTuple > NDBinTuple
the NDimensional tuple of bin limits
std::tuple< noIdEntry, double > specificIDEntry
the specific ID
std::vector< noIdEntry > listOfNoIdEntries
List of entries for table to be created from without specified ID.
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.