ATLAS Offline Software
Loading...
Searching...
No Matches
ESDMerge_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', '--inputESDFile', '--maxEvents', '--noimf', '--notcmalloc', '--outputESD_MRGFile', '--postExec', '--postInclude', '--preExec', '--preInclude', '--reportName', '--runNumber', '--showGraph', '--showPath', '--showSteps', '--skipEvents', '--skipFileValidation', '--skipInputFileValidation', '--skipOutputFileValidation']

Function Documentation

◆ addMyArgs()

ESDMerge_tf.addMyArgs ( parser)

Definition at line 52 of file ESDMerge_tf.py.

52def addMyArgs(parser):
53 # Use arggroup to get these arguments in their own sub-section (of --help)
54 parser.defineArgGroup('ESDMerge_tf', 'ESD merge job specific options')
55 parser.add_argument('--inputESDFile', nargs='+',
56 type=trfArgClasses.argFactory(trfArgClasses.argPOOLFile, io='input'),
57 help='Input ESD file', group='ESDMerge_tf')
58 parser.add_argument('--outputESD_MRGFile', '--outputESDFile',
59 type=trfArgClasses.argFactory(trfArgClasses.argPOOLFile, io='output'),
60 help='Output merged ESD file', group='ESDMerge_tf')
61

◆ getTransform()

ESDMerge_tf.getTransform ( )

Definition at line 39 of file ESDMerge_tf.py.

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

◆ main()

ESDMerge_tf.main ( )

Definition at line 27 of file ESDMerge_tf.py.

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

Variable Documentation

◆ ListOfDefaultPositionalKeys

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

Definition at line 23 of file ESDMerge_tf.py.