 |
Belle II Software
release-05-01-25
|
12 #include <klm/eklm/calibration/EKLMDatabaseImporter.h>
15 #include <klm/dbobjects/eklm/EKLMReconstructionParameters.h>
16 #include <klm/dbobjects/eklm/EKLMSimulationParameters.h>
19 #include <framework/database/IntervalOfValidity.h>
20 #include <framework/database/DBImportObjPtr.h>
21 #include <framework/gearbox/GearDir.h>
22 #include <framework/gearbox/Unit.h>
35 int experimentHigh,
int runHigh)
47 GearDir gd(
"/Detector/DetectorComponent[@name=\"EKLM\"]/"
48 "Content/DigitizationParams");
60 gd.
append(
"/EKLM/SensitiveDetector");
A class that describes the interval of experiments/runs for which an object in the database is valid.
EKLMDatabaseImporter()
Constructor.
void setHitTimeThreshold(float threshold)
Set hit time threshold.
~EKLMDatabaseImporter()
Destructor.
static Gearbox & getInstance()
Return reference to the Gearbox instance.
int m_ExperimentLow
Low experiment.
void importReconstructionParameters()
Import reconstruction parameters.
void construct(Args &&... params)
Construct an object of type T in this DBImportObjPtr using the provided constructor arguments.
bool import(const IntervalOfValidity &iov)
Import the object to database.
int m_ExperimentHigh
High experiment.
double getDouble(const std::string &path="") const noexcept(false)
Get the parameter path as a double.
static double convertValue(double value, const std::string &unitString)
Converts a floating point value to the standard framework unit.
void setTimeResolution(float resolution)
Set time resolution (of reconstructed time, not ADC).
Abstract base class for different kinds of events.
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.
Class for importing a single object to the database.
void importSimulationParameters()
Import simulation parameters.
void setIOV(int experimentLow, int runLow, int experimentHigh, int runHigh)
Set interval of validity.