ATLAS Offline Software
Loading...
Searching...
No Matches
AODMerge_tf Namespace Reference

Functions

 main ()
 getTransform ()
 addMyArgs (parser)

Variables

list ListOfDefaultPositionalKeys = ['--DBRelease', '--amiConfig', '--amiMetadataTag', '--asetup', '--athena', '--athenaopts', '--autoConfiguration', '--beamType', '--checkEventCount', '--command', '--conditionsTag', '--env', '--eventAcceptanceEfficiency', '--execOnly', '--geometryVersion', '--ignoreErrors', '--ignoreFilters', '--ignorePatterns', '--inputAODFile', '--maxEvents', '--noimf', '--notcmalloc', '--outputAOD_MRGFile', '--postExec', '--postInclude', '--preExec', '--preInclude', '--reportName', '--runNumber', '--showGraph', '--showPath', '--showSteps', '--skipEvents', '--skipFileValidation', '--skipInputFileValidation', '--skipOutputFileValidation']

Function Documentation

◆ addMyArgs()

AODMerge_tf.addMyArgs ( parser)

Definition at line 53 of file AODMerge_tf.py.

53def addMyArgs(parser):
54 # Use arggroup to get these arguments in their own sub-section (of --help)
55 parser.defineArgGroup('AODMerge_tf', 'AOD merge job specific options')
56 parser.add_argument('--inputAODFile', nargs='+',
57 type=trfArgClasses.argFactory(trfArgClasses.argPOOLFile, io='input', type='aod'),
58 help='Input AOD file', group='AODMerge_tf')
59 parser.add_argument('--inputAOD_MRGFile', nargs='+',
60 type=trfArgClasses.argFactory(trfArgClasses.argPOOLFile, io='input', type='aod'),
61 help='Input (premarged) AOD file', group='AODMerge_tf')
62 parser.add_argument('--outputAOD_MRGFile', '--outputAODFile',
63 type=trfArgClasses.argFactory(trfArgClasses.argPOOLFile, io='output', type='aod'),
64 help='Output merged AOD file', group='AODMerge_tf')
65

◆ getTransform()

AODMerge_tf.getTransform ( )

Definition at line 40 of file AODMerge_tf.py.

40def getTransform():
41 executorSet = set()
42 executorSet.add(POOLMergeExecutor(name = 'AODMerge', inData = ['AOD'], outData = ['AOD_MRG']))
43
44 trf = transform(executor = executorSet)
45
46 addAthenaArguments(trf.parser)
47 addDetectorArguments(trf.parser)
48 addCommonRecTrfArgs(trf.parser)
49 addMyArgs(trf.parser)
50 return trf
51
52
STL class.

◆ main()

AODMerge_tf.main ( )

Definition at line 28 of file AODMerge_tf.py.

28def main():
29
30 msg.info('This is %s' % sys.argv[0])
31
32 trf = getTransform()
33 trf.parseCmdLineArgs(sys.argv[1:])
34 trf.execute()
35 trf.generateReport()
36
37 msg.info("%s stopped at %s, trf exit code %d" % (sys.argv[0], time.asctime(), trf.exitCode))
38 sys.exit(trf.exitCode)
39
int main()
Definition hello.cxx:18

Variable Documentation

◆ ListOfDefaultPositionalKeys

list AODMerge_tf.ListOfDefaultPositionalKeys = ['--DBRelease', '--amiConfig', '--amiMetadataTag', '--asetup', '--athena', '--athenaopts', '--autoConfiguration', '--beamType', '--checkEventCount', '--command', '--conditionsTag', '--env', '--eventAcceptanceEfficiency', '--execOnly', '--geometryVersion', '--ignoreErrors', '--ignoreFilters', '--ignorePatterns', '--inputAODFile', '--maxEvents', '--noimf', '--notcmalloc', '--outputAOD_MRGFile', '--postExec', '--postInclude', '--preExec', '--preInclude', '--reportName', '--runNumber', '--showGraph', '--showPath', '--showSteps', '--skipEvents', '--skipFileValidation', '--skipInputFileValidation', '--skipOutputFileValidation']

Definition at line 24 of file AODMerge_tf.py.