 |
Belle II Software
release-05-02-19
|
13 #include <framework/core/Module.h>
14 #include <analysis/dbobjects/ParticleWeightingLookUpTable.h>
30 typedef std::map<std::string, BinLimitsTuple>
NDBinTuple;
31 typedef std::tuple<WeightInfo, NDBinTuple>
noIdEntry;
std::map< std::string, double > WeightInfo
Weight information: a line from the weight lookup table.
Just pair of numbers - min and max values of bin border.
std::tuple< double, double > BinLimitsTuple
Currently, std::pair can not be retrieved from python list We will get ParticleWeightingLookUpTable e...
int m_experimentLow
Lowest valid experiment #.
int m_runLow
Lowest valid run #.
int m_experimentHigh
Highest valid experiment #.
virtual void initialize() override
Initialize the Module.
listOfSpecificIDEntries m_tableIDSpec
List of entries for table to be created from with specified ID.
WeightInfo m_outOfRangeWeight
Weight info for out-of-range bin.
std::string m_tableName
Name of the table.
ParticleWeightingBinLimits * lims
object holding bin limits
Module that creates LookUpTable and upload it to the DB.
Abstract base class for different kinds of events.
virtual void terminate() override
Clean up anything created in initialize().
std::tuple< noIdEntry, double > specificIDEntry
the specific ID
std::map< std::string, ParticleWeightingBinLimits * > NDBin
N-dim bin: pairs of bin limits with name of the axis variable.
ParticleWeightingLookUpCreatorModule()
Constructor.
std::map< std::string, BinLimitsTuple > NDBinTuple
the NDimensional tuple of bin limits
std::vector< noIdEntry > listOfNoIdEntries
List of entries for table to be created from without specified ID.
std::vector< specificIDEntry > listOfSpecificIDEntries
List of entries for table to be created from with specified ID.
listOfNoIdEntries m_tableIDNotSpec
List of entries for table to be created from without specified ID.
std::tuple< WeightInfo, NDBinTuple > noIdEntry
the ID
NDBin NDBinTupleToNDBin(const NDBinTuple &bin_tuple)
Currently, std::pair can not be retrieved from python list We will get ParticleWeightingLookUpTable e...
int m_runHigh
Highest valid run #.