12#ifndef O2_CALIBRATION_PHOSTURNON_CALIBDEV_H
13#define O2_CALIBRATION_PHOSTURNON_CALIBDEV_H
37 explicit PHOSTurnonCalibDevice(
bool useCCDB, std::shared_ptr<o2::base::GRPGeomRequest> req) : mUseCCDB(useCCDB), mCCDBRequest(req) {}
54 bool mUseCCDB =
false;
55 unsigned long mRunStartTime = 0;
56 std::unique_ptr<TriggerMap> mTriggerMap;
57 std::unique_ptr<PHOSTurnonCalibrator> mCalibrator;
58 std::shared_ptr<o2::base::GRPGeomRequest> mCCDBRequest;
Helper for geometry and GRP related CCDB requests.
Device to calculate PHOS turn-on curve and bad map.
bool finaliseCCDB(o2::framework::ConcreteDataMatcher &matcher, void *obj)
static GRPGeomHelper & instance()
PHOSTurnonCalibDevice(bool useCCDB, std::shared_ptr< o2::base::GRPGeomRequest > req)
void finaliseCCDB(o2::framework::ConcreteDataMatcher &matcher, void *obj) final
void init(o2::framework::InitContext &ic) final
void endOfStream(o2::framework::EndOfStreamContext &ec) final
This is invoked whenever we have an EndOfStream event.
void run(o2::framework::ProcessingContext &pc) final
Defining PrimaryVertex explicitly as messageable.
o2::framework::DataProcessorSpec getPHOSTurnonCalibDeviceSpec(bool useCCDB)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...