10 #include <klm/eklm/calibration/EKLMDatabaseImporter.h>
13 #include <klm/dbobjects/eklm/EKLMSimulationParameters.h>
16 #include <framework/database/IntervalOfValidity.h>
17 #include <framework/database/DBImportObjPtr.h>
18 #include <framework/gearbox/GearDir.h>
19 #include <framework/gearbox/Unit.h>
32 int experimentHigh,
int runHigh)
45 gd.
append(
"/EKLM/SensitiveDetector");
46 simPar->setHitTimeThreshold(
bool import(const IntervalOfValidity &iov)
Import the object to database.
Class for importing a single object to the database.
void construct(Args &&... params)
Construct an object of type T in this DBImportObjPtr using the provided constructor arguments.
int m_ExperimentHigh
High experiment.
void importSimulationParameters()
Import simulation parameters.
int m_ExperimentLow
Low experiment.
void setIOV(int experimentLow, int runLow, int experimentHigh, int runHigh)
Set interval of validity.
EKLMDatabaseImporter()
Constructor.
~EKLMDatabaseImporter()
Destructor.
GearDir is the basic class used for accessing the parameter store.
void append(const std::string &path)
Append something to the current path, modifying the GearDir in place.
A class that describes the interval of experiments/runs for which an object in the database is valid.
double getDouble(const std::string &path="") const noexcept(false)
Get the parameter path as a double.
static Gearbox & getInstance()
Return reference to the Gearbox instance.
static double convertValue(double value, const std::string &unitString)
Converts a floating point value to the standard framework unit.
Abstract base class for different kinds of events.