From 28dcf227226a84f192d2ecd2c9c78dca26949663 Mon Sep 17 00:00:00 2001 From: Francesco Mazzaschi <43742195+fmazzasc@users.noreply.github.com> Date: Wed, 17 Apr 2024 15:06:26 +0200 Subject: [PATCH] Enable strangeness tracking by default (#1598) --- MC/bin/o2dpg_sim_workflow.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MC/bin/o2dpg_sim_workflow.py b/MC/bin/o2dpg_sim_workflow.py index 6936ad926..da3e615e9 100755 --- a/MC/bin/o2dpg_sim_workflow.py +++ b/MC/bin/o2dpg_sim_workflow.py @@ -111,7 +111,7 @@ parser.add_argument('--no-combine-dpl-devices', action='store_true', help=argparse.SUPPRESS) parser.add_argument('--no-mc-labels', action='store_true', default=False, help=argparse.SUPPRESS) parser.add_argument('--no-tpc-digitchunking', action='store_true', help=argparse.SUPPRESS) -parser.add_argument('--with-strangeness-tracking', action='store_true', default=False, help="Enable strangeness tracking") +parser.add_argument('--no-strangeness-tracking', action='store_true', default=False, help="Disable strangeness tracking") parser.add_argument('--combine-tpc-clusterization', action='store_true', help=argparse.SUPPRESS) #<--- useful for small productions (pp, low interaction rate, small number of events) 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) # (consider doing this rather in O2 digitization code directly) @@ -1326,7 +1326,7 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''): 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') SVFINDERtask['cmd'] += ' --vertexing-sources ' + svfinder_sources + (' --combine-source-devices','')[args.no_combine_dpl_devices] # strangeness tracking is now called from the secondary vertexer - if not args.with_strangeness_tracking: + if args.no_strangeness_tracking: SVFINDERtask['cmd'] += ' --disable-strangeness-tracker' # if enabled, it may require MC labels else: @@ -1364,7 +1364,7 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''): if environ.get('O2DPG_AOD_NOTRUNCATE') != None or environ.get('ALIEN_JDL_O2DPG_AOD_NOTRUNCATE') != None: AODtask['cmd'] += ' --enable-truncation 0' # developer option to suppress precision truncation - if not args.with_strangeness_tracking: + if args.no_strangeness_tracking: AODtask['cmd'] += ' --disable-strangeness-tracker' # Enable CTP readout replay for triggered detectors (EMCAL, HMPID, PHOS/CPV, TRD)