ATLAS Offline Software
fcsTrfArgs.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
2 
3 import logging
4 msg = logging.getLogger(__name__)
5 
6 from PyJobTransforms.trfArgClasses import argFactory, argPOOLFile, argBool, argString, argInt, argFile
7 
8 
9 def addFCS_NtupArgs(parser):
10  parser.defineArgGroup('FCS_Ntup_tf', 'FCS_Ntup_tf specific options')
11  parser.add_argument('--inputESDFile', nargs = '+',
12  type=argFactory(argPOOLFile, io='input'),
13  help='Input ESD files', group='FCS_Ntup_tf')
14  parser.add_argument('--outputNTUP_FCSFile', nargs = '+',
15  type=argFactory(argFile, io='output'),
16  help='Output NTUP_FCS files', group='FCS_Ntup_tf')
17  parser.add_argument('--outputGeoFileName',
18  type=argFactory(argString),
19  help='Optional geometry file', group='FCS_Ntup_tf')
20  parser.add_argument('--doG4Hits',
21  type=argFactory(argBool),
22  help='Flag to turn on the writing of G4 hits', group='FCS_Ntup_tf')
23  parser.add_argument('--saveAllBranches',
24  type=argFactory(argBool),
25  help='Flag to turn on extra branches for Hits and G4hits', group='FCS_Ntup_tf')
26  parser.add_argument('--NTruthParticles',
27  type=argFactory(argInt),
28  help='Option to select number of truth particles copied to ntuples', group='FCS_Ntup_tf')
29  parser.add_argument('--doClusterInfo',
30  type=argFactory(argBool),
31  help='Flag to turn on extra branches for clusters', group='FCS_Ntup_tf')
PyJobTransforms.trfArgClasses
Transform argument class definitions.
fcsTrfArgs.addFCS_NtupArgs
def addFCS_NtupArgs(parser)
Add FCS Ntuple transform arguments.
Definition: fcsTrfArgs.py:9