12#ifndef DETECTOR_CALIB_TIMESLOT_H_
13#define DETECTOR_CALIB_TIMESLOT_H_
32template <
typename Container>
40 mContainer =
src.mContainer ? std::make_unique<Container>(*
src.mContainer) :
nullptr;
69 mContainer->merge(prev.mContainer.get());
70 mTFStart = prev.mTFStart;
71 mTFStartMS = prev.mTFStartMS;
76 LOGF(info,
"Calibration slot %5d <=TF<= %5d (start in ms = %ld)", mTFStart, mTFEnd, mTFStartMS);
84 long mRunStartOrbit = 0;
85 std::unique_ptr<Container> mContainer;
Helper for geometry and GRP related CCDB requests.
Header to collect LHC related constants.
auto getOrbitResetTimeMS() const
static int getNHBFPerTF()
static GRPGeomHelper & instance()
Container * getContainer()
void setContainer(std::unique_ptr< Container > ptr)
int relateToTF(TFType tf)
long getStaticStartTimeMS() const
void setStaticStartTimeMS(long t)
void setTFStart(TFType v)
long getStartTimeMS() const
void setRunStartOrbit(long t)
auto getRunStartOrbit() const
TimeSlot(const TimeSlot &src)
TimeSlot & operator=(TimeSlot &&src)=default
long getEndTimeMS() const
TimeSlot(TFType tfS, TFType tfE)
const Container * getContainer() const
void mergeToPrevious(TimeSlot &prev)
TFType getTFStart() const
constexpr TFType INFINITE_TF
constexpr double LHCOrbitMUS
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
std::unique_ptr< GPUReconstructionTimeframe > tf