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

Functions

 main ()
 getTransform ()

Variables

list ListOfDefaultPositionalKeys = ['--DBRelease', '--amiConfig', '--amiMetadataTag', '--asetup', '--athena', '--athenaopts', '--beamType', '--checkEventCount', '--command', '--conditionsTag', '--env', '--eventAcceptanceEfficiency', '--execOnly', '--geometryVersion', '--ignoreErrors', '--ignoreFiles', '--ignorePatterns', '--imf', '--inputHITSFile', '--inputLogsFile', '--maxEvents', '--outputHITS_MRGFile', '--postExec', '--postInclude', '--preExec', '--preInclude', '--reportName', '--reportType', '--runNumber', '--showGraph', '--showPath', '--showSteps', '--skipEvents', '--skipFileValidation', '--skipInputFileValidation', '--skipOutputFileValidation', '--tcmalloc']

Detailed Description

Merge multiple input HITS files into a single output HITS file.
Optionally run algorithms to tweak the output. Optionally merge Log
file tarballs at the same time.

Function Documentation

◆ getTransform()

HITSMerge_tf.getTransform ( )

Definition at line 49 of file HITSMerge_tf.py.

49def getTransform():
50 executorSet = set()
51 from SimuJobTransforms.SimTransformUtils import addStandardHITSMergeSubstep, addHITSMergeArguments
52 addStandardHITSMergeSubstep(executorSet)
53 trf = transform(executor = executorSet, description = 'HITS Merging transform. Inputs must be HITS. Outputs must be HITS_MRG (i.e. HITS). ')
54 addAthenaArguments(trf.parser)
55 addDetectorArguments(trf.parser)
56 addHITSMergeArguments(trf.parser)
57 return trf
58
STL class.

◆ main()

HITSMerge_tf.main ( )

Definition at line 34 of file HITSMerge_tf.py.

34def main():
35
36 msg.info('This is %s' % sys.argv[0])
37
38 trf = getTransform()
39 trf.parseCmdLineArgs(sys.argv[1:])
40 trf.execute()
41 if 'outputFileValidation' in trf._argdict and trf._argdict['outputFileValidation'].value is False:
42 msg.info('Skipping report generation')
43 else:
44 trf.generateReport()
45
46 msg.info("%s stopped at %s, trf exit code %d" % (sys.argv[0], time.asctime(), trf.exitCode))
47 sys.exit(trf.exitCode)
48
int main()
Definition hello.cxx:18

Variable Documentation

◆ ListOfDefaultPositionalKeys

list HITSMerge_tf.ListOfDefaultPositionalKeys = ['--DBRelease', '--amiConfig', '--amiMetadataTag', '--asetup', '--athena', '--athenaopts', '--beamType', '--checkEventCount', '--command', '--conditionsTag', '--env', '--eventAcceptanceEfficiency', '--execOnly', '--geometryVersion', '--ignoreErrors', '--ignoreFiles', '--ignorePatterns', '--imf', '--inputHITSFile', '--inputLogsFile', '--maxEvents', '--outputHITS_MRGFile', '--postExec', '--postInclude', '--preExec', '--preInclude', '--reportName', '--reportType', '--runNumber', '--showGraph', '--showPath', '--showSteps', '--skipEvents', '--skipFileValidation', '--skipInputFileValidation', '--skipOutputFileValidation', '--tcmalloc']

Definition at line 30 of file HITSMerge_tf.py.