16#ifndef TPC_CORRECTION_MAPS_LOADER_H_
17#define TPC_CORRECTION_MAPS_LOADER_H_
19#ifndef GPUCA_GPUCODE_DEVICE
29class ProcessingContext;
33class ConfigParamRegistry;
59#ifndef GPUCA_GPUCODE_DEVICE
62 void updateVDrift(
float vdriftCorr,
float vdrifRef,
float driftTimeOffset = 0);
68 static void addGlobalOptions(std::vector<o2::framework::ConfigParamSpec>& options);
69 static void addOptions(std::vector<o2::framework::ConfigParamSpec>& options);
Helper class to access correction maps.
void extractCCDBInputs(o2::framework::ProcessingContext &pc)
void updateVDrift(float vdriftCorr, float vdrifRef, float driftTimeOffset=0)
~CorrectionMapsLoader()=default
static void addGlobalOptions(std::vector< o2::framework::ConfigParamSpec > &options)
bool accountCCDBInputs(const o2::framework::ConcreteDataMatcher &matcher, void *obj)
static void addOptions(std::vector< o2::framework::ConfigParamSpec > &options)
static void requestCCDBInputs(std::vector< o2::framework::InputSpec > &inputs, std::vector< o2::framework::ConfigParamSpec > &options, const CorrectionMapsLoaderGloOpts &gloOpts)
recalculate inverse correction
CorrectionMapsLoader(const CorrectionMapsLoader &)=delete
void init(o2::framework::InitContext &ic)
static void addOption(std::vector< o2::framework::ConfigParamSpec > &options, o2::framework::ConfigParamSpec &&osp)
std::unique_ptr< o2::gpu::TPCFastTransform > mCorrMapMShape
CorrectionMapsLoader()=default
void copySettings(const CorrectionMapsLoader &src)
static CorrectionMapsLoaderGloOpts parseGlobalOptions(const o2::framework::ConfigParamRegistry &opts)
static void addInput(std::vector< o2::framework::InputSpec > &inputs, o2::framework::InputSpec &&isp)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
bool needTPCScalersWorkflow() const
bool enableMShapeCorrection
int lumiType
what estimator to used for corrections scaling: 0: no scaling, 1: CTP, 2: IDC
int lumiMode
what corrections method to use: 0: classical scaling, 1: Using of the derivative map,...