Skip to content

Commit 79a2d5c

Browse files
authored
Enable strangeness tracking by default (#1598)
1 parent 7895aaa commit 79a2d5c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

MC/bin/o2dpg_sim_workflow.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
parser.add_argument('--no-combine-dpl-devices', action='store_true', help=argparse.SUPPRESS)
115115
parser.add_argument('--no-mc-labels', action='store_true', default=False, help=argparse.SUPPRESS)
116116
parser.add_argument('--no-tpc-digitchunking', action='store_true', help=argparse.SUPPRESS)
117-
parser.add_argument('--with-strangeness-tracking', action='store_true', default=False, help="Enable strangeness tracking")
117+
parser.add_argument('--no-strangeness-tracking', action='store_true', default=False, help="Disable strangeness tracking")
118118
parser.add_argument('--combine-tpc-clusterization', action='store_true', help=argparse.SUPPRESS) #<--- useful for small productions (pp, low interaction rate, small number of events)
119119
parser.add_argument('--first-orbit', default=0, type=int, help=argparse.SUPPRESS) # to set the first orbit number of the run for HBFUtils (only used when anchoring)
120120
# (consider doing this rather in O2 digitization code directly)
@@ -1347,7 +1347,7 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''):
13471347
svfinder_sources = anchorConfig.get('o2-secondary-vertexing-workflow-options', {}). get('vertexing-sources', 'ITS-TPC,TPC-TRD,ITS-TPC-TRD,TPC-TOF,ITS-TPC-TOF,TPC-TRD-TOF,ITS-TPC-TRD-TOF,MFT-MCH,MCH-MID,ITS,MFT,TPC,TOF,FT0,MID,EMC,PHS,CPV,ZDC,FDD,HMP,FV0,TRD,MCH,CTP')
13481348
SVFINDERtask['cmd'] += ' --vertexing-sources ' + svfinder_sources + (' --combine-source-devices','')[args.no_combine_dpl_devices]
13491349
# strangeness tracking is now called from the secondary vertexer
1350-
if not args.with_strangeness_tracking:
1350+
if args.no_strangeness_tracking:
13511351
SVFINDERtask['cmd'] += ' --disable-strangeness-tracker'
13521352
# if enabled, it may require MC labels
13531353
else:
@@ -1385,7 +1385,7 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''):
13851385
if environ.get('O2DPG_AOD_NOTRUNCATE') != None or environ.get('ALIEN_JDL_O2DPG_AOD_NOTRUNCATE') != None:
13861386
AODtask['cmd'] += ' --enable-truncation 0' # developer option to suppress precision truncation
13871387

1388-
if not args.with_strangeness_tracking:
1388+
if args.no_strangeness_tracking:
13891389
AODtask['cmd'] += ' --disable-strangeness-tracker'
13901390

13911391
# Enable CTP readout replay for triggered detectors (EMCAL, HMPID, PHOS/CPV, TRD)

MC/run/PWGLF/run_HyperNucleiInjectedGap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ ENERGY=${ENERGY:-13600}
2626

2727
# create workflow
2828
${O2DPG_ROOT}/MC/bin/o2dpg_sim_workflow.py -eCM ${ENERGY} -col ${SYSTEM} -gen external -j ${NWORKERS} -ns ${NSIGEVENTS} -tf ${NTIMEFRAMES} -interactionRate ${INTRATE} -confKey "Diamond.width[0]=0.1;Diamond.width[1]=0.1;Diamond.width[2]=6." -e ${SIMENGINE} ${SEED} -mod "--skipModules ZDC" \
29-
-ini ${O2DPG_ROOT}/MC/config/PWGLF/ini/GeneratorLFHyperNuclei${SYSTEM}Gap.ini --with-strangeness-tracking
29+
-ini ${O2DPG_ROOT}/MC/config/PWGLF/ini/GeneratorLFHyperNuclei${SYSTEM}Gap.ini
3030

3131
# run workflow
3232
# allow increased timeframe parallelism with --cpu-limit 32

MC/run/PWGLF/run_StrangenessInjected.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ O2_SIM_WORKFLOW=${O2_SIM_WORKFLOW:-"${O2DPG_ROOT}/MC/bin/o2dpg_sim_workflow.py"}
3535
$O2_SIM_WORKFLOW -eCM ${ENERGY} -col ${SYSTEM} -gen external \
3636
-j ${NWORKERS} \
3737
-ns ${NSIGEVENTS} -tf ${NTIMEFRAMES} -interactionRate ${INTRATE} \
38-
-confKey "Diamond.width[2]=6." --with-strangeness-tracking \
38+
-confKey "Diamond.width[2]=6." \
3939
${SEED} \
4040
-procBkg "inel" -colBkg $SYSTEM --embedding -nb ${NBKGEVENTS} -genBkg pythia8 \
4141
-e ${SIMENGINE} \

MC/run/PWGLF/run_StrangenessTriggered.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ O2_SIM_WORKFLOW=${O2_SIM_WORKFLOW:-"${O2DPG_ROOT}/MC/bin/o2dpg_sim_workflow.py"}
3434
$O2_SIM_WORKFLOW -eCM ${ENERGY} -col ${SYSTEM} -gen external \
3535
-j ${NWORKERS} \
3636
-ns ${NSIGEVENTS} -tf ${NTIMEFRAMES} -interactionRate ${INTRATE} \
37-
-confKey "Diamond.width[2]=6." --with-strangeness-tracking \
37+
-confKey "Diamond.width[2]=6." \
3838
${SEED} \
3939
-e ${SIMENGINE} \
4040
-ini $CFGINIFILE

0 commit comments

Comments
 (0)