13#include <fairlogger/Logger.h>
91 LOG(info) <<
"New bad channel map loaded";
95 LOG(error) <<
"New bad channel map available even though bad channel calibration was not enabled, not loading";
101 LOG(info) <<
"New BCM scale factors loaded";
105 LOG(error) <<
"New BCSM scale factors available even though not enabled, not loading";
111 LOG(info) <<
"New FEE DCS params loaded";
115 LOG(error) <<
"New FEE DCS params available even though FEE DCS was not enabled, not loading";
121 LOG(info) <<
"New time calibration paramset loaded";
125 LOG(error) <<
"New time calibration paramset available even though time calibration was not enabled, not loading";
131 LOG(info) <<
"New gain calibration paramset loaded";
135 LOG(error) <<
"New gain calibration paramset available even though the gain calibration was not enabled, not loading";
141 LOG(info) <<
"New temperature calibration paramset loaded";
145 LOG(error) <<
"New temperature calibration paramset available even though the temperature calibration was not enabled, not loading";
151 LOG(info) <<
"New reconstruction parameters loaded";
155 LOG(error) <<
"New reconstruction parameters available even though reconstruction parameters were not requested, not loading";
161 LOG(info) <<
"New simulation parameters loaded";
165 LOG(error) <<
"New simulation parameters available even though simulation parameters were not requested, not loading";
CCDB container for masked cells in EMCAL.
static const char * getCDBPathTimeCalibrationParams()
Get CDB path for the time calibration.
static const char * getCDBPathBadChannelMap()
Get CDB path for the bad channel map.
static const char * getCDBPathFeeDCS()
Get CDB path for the FEE DCS settings.
static const char * getCDBPathChannelScaleFactors()
Get CCDB path for the scale factors used in the bad channel calibration.
static const char * getCDBPathGainCalibrationParams()
Get CDB path for the gain calibration.
static const char * getCDBPathTemperatureCalibrationParams()
Get CDB path for the temperature calibration.
void setUpdateGainCalib()
Mark gain calibration params as updated.
bool hasTimeCalib() const
Check whether the time calibration params are handled.
bool hasTemperatureCalib() const
Check whether the temperature calibration params are handled.
void setUpdateRecoParams()
Mark reconstruction params as updated.
void setUpdateTimeCalib()
Mark time calibration params as updated.
void defineInputSpecs(std::vector< framework::InputSpec > &ccdbInputs)
Define input specs in workflow for calibration objects to be loaded from the CCDB.
bool hasGainCalib() const
Check whether the gain calibration factors are handled.
void setUpdateBCMScaleFactors()
Mark BCM scale factors as updated.
void setUpdateBadChannelMap()
Mark bad channel map as updated.
bool hasBCMScaleFactors() const
Check whether the BCM scale factors are handled.
void setUpdateFEEDCS()
Mark FEE DCS params as updated.
void setUpdateTemperatureCalib()
Mark temperature calibration params as updated.
void checkUpdates(o2::framework::ProcessingContext &ctx)
Check for updates of the calibration objects in the processing context.
void resetUpdateStatus()
Reset the update status (all objects marked as false)
bool hasSimParams() const
Check whether the reconstruction params are handled.
bool hasRecoParams() const
Check whether the reconstruction params are handled.
bool hasBadChannelMap() const
Check whether the bad channel map is handled.
bool finalizeCCDB(framework::ConcreteDataMatcher &matcher, void *obj)
Callback for objects loaded from CCDB.
bool hasFEEDCS() const
Check whether the FEE DCS params are handled.
void setUpdateSimParams()
Mark simulation params as updated.
CCDB container for the gain calibration factors.
EMCal reconstruction parameters.
EMCal simulation parameters.
InputRecord & inputs()
The inputs associated with this processing context.
constexpr o2::header::DataOrigin gDataOriginEMC
std::vector< ConfigParamSpec > ccdbParamSpec(std::string const &path, int runDependent, std::vector< CCDBMetadata > metadata={}, int qrate=0)
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"