Skip to content

Commit 51a5af8

Browse files
wiechulaalcaliva
authored andcommitted
Force TPC common mode correction
This is done to avoid issues the CMk values stored in the CCDB. Data before 30/06/2023, 16:41:42 (first good run should be 539008 LHZ23ze) are affected
1 parent f8562ed commit 51a5af8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

MC/bin/o2dpg_sim_workflow.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -994,6 +994,9 @@ def putConfigValues(listOfMainKeys=[], localCF = {}):
994994

995995
tpcLocalCF={"DigiParams.maxOrbitsToDigitize" : str(orbitsPerTF), "DigiParams.seed" : str(TFSEED)}
996996

997+
# force TPC common mode correction in all cases to avoid issues the CMk values stored in the CCDB
998+
tpcLocalCF['TPCEleParam.DigiMode'] = str(2) # 2 = o2::tpc::DigitzationMode::ZeroSuppressionCMCorr from TPCBase/ParameterElectronics.h
999+
9971000
# handle distortions and scaling using MC maps
9981001
# this assumes the lumi inside the maps is stored in FT0 (pp) scalers
9991002
# in case of PbPb the conversion factor ZDC ->FT0 (pp) must be taken into account in the scalers

0 commit comments

Comments
 (0)