23 auto lumiTypeVal = opts.
get<
int>(
"lumi-type");
24 if (lumiTypeVal < -1 || lumiTypeVal > 2) {
25 LOGP(fatal,
"Invalid lumi-type value: {}", lumiTypeVal);
29 auto lumiModeVal = opts.
get<
int>(
"corrmap-lumi-mode");
30 if (lumiModeVal < -1 || lumiModeVal > 2) {
31 LOGP(fatal,
"Invalid corrmap-lumi-mode value: {}", lumiModeVal);
39 LOGP(fatal,
"Scaling with CTP Lumi is requested but this input is disabled");
56 if (std::find(options.begin(), options.end(), osp) == options.end()) {
57 options.emplace_back(osp);
Helper class to parse options for correction maps.
T get(const char *key) const
static void addGlobalOptions(std::vector< o2::framework::ConfigParamSpec > &options)
static CorrectionMapsGloOpts parseGlobalOptions(const o2::framework::ConfigParamRegistry &opts)
static void addOption(std::vector< o2::framework::ConfigParamSpec > &options, o2::framework::ConfigParamSpec &&osp)
Defining ITS Vertex explicitly as messageable.
Global TPC definitions and constants.
@ CTPLumi
use CTP luminosity for scaling
LumiScaleType lumiType
what estimator to used for corrections scaling: 0: no scaling, 1: CTP, 2: IDC
bool checkCTPIDCconsistency
check the selected CTP or IDC scaling source being consistent with mean scaler of the map
bool requestCTPLumi
request CTP Lumi regardless of what is used for corrections scaling
bool enableMShapeCorrection
LumiScaleMode lumiMode
what corrections method to use: 0: classical scaling, 1: Using of the derivative map,...