10#include <analysis/modules/PIDCalibrationWeightCreator/PIDCalibrationWeightCreatorModule.h>
13#include <framework/core/ModuleParam.templateDetails.h>
14#include <framework/database/DBImportObjPtr.h>
15#include <framework/logging/Logger.h>
48 if (vec.size() != 6) {
57 B2ERROR(
"The given weight matrix size is invalid! It must be 6 (particle types) x 6 (detectors)!");
Class for importing a single object to the database.
A class that describes the interval of experiments/runs for which an object in the database is valid.
void setDescription(const std::string &description)
Sets the description of the module.
virtual void initialize() override
Initialize the Module.
PIDCalibrationWeightCreatorModule()
Constructor.
int m_runLow
Lowest valid run #.
WeightMatrix m_weightMatrix
6x6 weight matrix.
int m_experimentLow
Lowest valid experiment #.
int m_experimentHigh
Highest valid experiment #.
int m_runHigh
Highest valid run #.
std::string m_matrixName
Name of the matrix
void addParam(const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue)
Adds a new parameter to the module.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Abstract base class for different kinds of events.