diff --git a/MC/bin/o2dpg_sim_workflow.py b/MC/bin/o2dpg_sim_workflow.py index e218c03a9..c04b28fac 100755 --- a/MC/bin/o2dpg_sim_workflow.py +++ b/MC/bin/o2dpg_sim_workflow.py @@ -994,6 +994,9 @@ def putConfigValues(listOfMainKeys=[], localCF = {}): tpcLocalCF={"DigiParams.maxOrbitsToDigitize" : str(orbitsPerTF), "DigiParams.seed" : str(TFSEED)} + # force TPC common mode correction in all cases to avoid issues the CMk values stored in the CCDB + tpcLocalCF['TPCEleParam.DigiMode'] = str(2) # 2 = o2::tpc::DigitzationMode::ZeroSuppressionCMCorr from TPCBase/ParameterElectronics.h + # handle distortions and scaling using MC maps # this assumes the lumi inside the maps is stored in FT0 (pp) scalers # in case of PbPb the conversion factor ZDC ->FT0 (pp) must be taken into account in the scalers