Skip to content

Commit b13e305

Browse files
authored
rename detectorlist for QED background to qed_detectorlist
1 parent 583bb9e commit b13e305

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

MC/bin/o2dpg_sim_workflow.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -760,11 +760,11 @@ def getDPL_global_options(bigshm=False, ccdbbackend=True):
760760
# determine final conf key for QED simulation
761761
QEDBaseConfig = "GeneratorExternal.fileName=$O2_ROOT/share/Generators/external/QEDLoader.C;QEDGenParam.yMin=-7;QEDGenParam.yMax=7;QEDGenParam.ptMin=0.001;QEDGenParam.ptMax=1.;QEDGenParam.xSectionHad="+str(XSecSys[COLTYPE])+";QEDGenParam.Z="+str(Zsys[COLTYPE])+";QEDGenParam.cmEnergy="+str(ECMS)+";Diamond.width[2]=6.;"
762762
QEDCONFKEY = constructConfigKeyArg(create_geant_config(args, QEDBaseConfig + args.confKeyQED))
763-
detectors = ' ITS MFT FT0 FV0 FDD '
763+
qed_detectorlist = ' ITS MFT FT0 FV0 FDD '
764764
if args.detectorList == 'ALICE2.1':
765-
detectors = detectors.replace('ITS', 'IT3')
765+
qed_detectorlist = qed_detectorlist.replace('ITS', 'IT3')
766766
QED_task['cmd'] = 'o2-sim -e TGeant3 --field ccdb -j ' + str('1') + ' -o qed' \
767-
+ ' -n ' + str(NEventsQED) + ' -m ' + detectors \
767+
+ ' -n ' + str(NEventsQED) + ' -m ' + qed_detectorlist \
768768
+ ('', ' --timestamp ' + str(args.timestamp))[args.timestamp!=-1] + ' --run ' + str(args.run) \
769769
+ ' --seed ' + str(TFSEED) \
770770
+ ' -g extgen ' \

0 commit comments

Comments
 (0)