14#include <framework/gearbox/Const.h>
15#include <framework/logging/Logger.h>
72 B2ERROR(
"TOPCalEventT0Offset::set: time resolution must be a positive number. Entry ignored"
73 <<
LogVar(
"detector component", detector));
EDetector
Enum for identifying the detector components (detector and subdetector).
Class to store the calibrated EventT0 offsets of other detector components The offsets are measured r...
TOPCalEventT0Offset()
Default class constructor.
const OffsetData & get(Const::EDetector detector) const
Getter.
bool isAvailable(Const::EDetector detector) const
Is calibration available for a given detector component?
void set(Const::EDetector detector, double offset, double sigma)
Setter.
ClassDef(TOPCalEventT0Offset, 1)
do not write out
std::map< Const::EDetector, OffsetData > m_calibrations
cache
bool isEmpty() const
Is object empty?
void set() const
Set the cache.
std::vector< OffsetData > m_data
calibration data
Class to store variables with their name which were sent to the logging service.
Abstract base class for different kinds of events.
Calibration constants of a detector component.
float offset
offset relative to TOP
OffsetData(double T0, double sig, Const::EDetector det)
Full constructor.
Const::EDetector component
detector component
OffsetData()
Default constructor.
float sigma
time resolution of the detector component