|
114 | 114 | parser.add_argument('--no-combine-dpl-devices', action='store_true', help=argparse.SUPPRESS) |
115 | 115 | parser.add_argument('--no-mc-labels', action='store_true', default=False, help=argparse.SUPPRESS) |
116 | 116 | 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") |
118 | 118 | parser.add_argument('--combine-tpc-clusterization', action='store_true', help=argparse.SUPPRESS) #<--- useful for small productions (pp, low interaction rate, small number of events) |
119 | 119 | 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) |
120 | 120 | # (consider doing this rather in O2 digitization code directly) |
@@ -1347,7 +1347,7 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''): |
1347 | 1347 | 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') |
1348 | 1348 | SVFINDERtask['cmd'] += ' --vertexing-sources ' + svfinder_sources + (' --combine-source-devices','')[args.no_combine_dpl_devices] |
1349 | 1349 | # strangeness tracking is now called from the secondary vertexer |
1350 | | - if not args.with_strangeness_tracking: |
| 1350 | + if args.no_strangeness_tracking: |
1351 | 1351 | SVFINDERtask['cmd'] += ' --disable-strangeness-tracker' |
1352 | 1352 | # if enabled, it may require MC labels |
1353 | 1353 | else: |
@@ -1385,7 +1385,7 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''): |
1385 | 1385 | if environ.get('O2DPG_AOD_NOTRUNCATE') != None or environ.get('ALIEN_JDL_O2DPG_AOD_NOTRUNCATE') != None: |
1386 | 1386 | AODtask['cmd'] += ' --enable-truncation 0' # developer option to suppress precision truncation |
1387 | 1387 |
|
1388 | | - if not args.with_strangeness_tracking: |
| 1388 | + if args.no_strangeness_tracking: |
1389 | 1389 | AODtask['cmd'] += ' --disable-strangeness-tracker' |
1390 | 1390 |
|
1391 | 1391 | # Enable CTP readout replay for triggered detectors (EMCAL, HMPID, PHOS/CPV, TRD) |
|
0 commit comments