ATLAS Offline Software
Loading...
Searching...
No Matches
DAODMerge_tf.py
Go to the documentation of this file.
1#! /usr/bin/env python
2
3# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
4
5
8
9import sys
10import time
11
12# Setup core logging here
13from PyJobTransforms.trfLogger import msg
14msg.info('logging set in %s', sys.argv[0])
15
16from PyJobTransforms.transform import transform
17from PyJobTransforms.trfArgs import addAthenaArguments, addDetectorArguments
18from PyJobTransforms.trfDecorators import stdTrfExceptionHandler, sigUsrStackTrace
19from RecJobTransforms.recTransformUtils import addCommonRecTrfArgs
20
21from PATJobTransforms.PATTransformUtils import addDAODArguments, addDAODMergerSubsteps
22
23ListOfDefaultPositionalKeys=['--AMIConfig', '--AMITag', '--DBRelease', '--argJSON', '--asetup', '--athena', '--athenaMPMergeTargetSize', '--athenaopts', '--autoConfiguration', '--beamType', '--checkEventCount', '--command', '--conditionsTag', '--dumpJSON', '--dumpPickle', '--env', '--eventAcceptanceEfficiency', '--execOnly', '--geometryVersion', '--ignoreErrors', '--ignoreFiles', '--ignorePatterns', '--imf', '--inputDAOD_HIGGS3D1File', '--inputDAOD_HIGGS4D2File', '--inputDAOD_HIGGS5D1File', '--inputDAOD_HIGGS8D1File', '--inputDAOD_HIGGS8D2File', '--inputDAOD_JETMET1File', '--inputDAOD_JETMET2File', '--inputDAOD_JETMET3File', '--inputDAOD_JETMET4File', '--inputDAOD_JETMET5File', '--inputDAOD_SUSY1File', '--inputDAOD_TAU1File', '--inputDAOD_TAU3File', '--inputDAOD_TEST1File', '--inputDAOD_TEST2File', '--inputDAOD_TEST3File', '--inputDAOD_TEST4File', '--inputDAOD_TEST5File', '--inputDAOD_TOP1File', '--maxEvents', '--orphanKiller', '--outputDAOD_HIGGS3D1_MRGFile', '--outputDAOD_HIGGS4D2_MRGFile', '--outputDAOD_HIGGS5D1_MRGFile', '--outputDAOD_HIGGS8D1_MRGFile', '--outputDAOD_HIGGS8D2_MRGFile', '--outputDAOD_JETMET1_MRGFile', '--outputDAOD_JETMET2_MRGFile', '--outputDAOD_JETMET3_MRGFile', '--outputDAOD_JETMET4_MRGFile', '--outputDAOD_JETMET5_MRGFile', '--outputDAOD_SUSY1_MRGFile', '--outputDAOD_TAU1_MRGFile', '--outputDAOD_TAU3_MRGFile', '--outputDAOD_TEST1_MRGFile', '--outputDAOD_TEST2_MRGFile', '--outputDAOD_TEST3_MRGFile', '--outputDAOD_TEST4_MRGFile', '--outputDAOD_TEST5_MRGFile', '--outputDAOD_TOP1_MRGFile', '--parallelFileValidation', '--postExec', '--postInclude', '--preExec', '--preInclude', '--reportName', '--reportType', '--runNumber', '--showGraph', '--showPath', '--showSteps', '--skipEvents', '--skipFileValidation', '--skipInputFileValidation', '--skipOutputFileValidation', '--steering', '--tcmalloc', '--trigStream']
24
25@stdTrfExceptionHandler
26@sigUsrStackTrace
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
40 executorSet = set()
41 addDAODMergerSubsteps(executorSet)
42
43 trf = transform(executor = executorSet)
44
45 addAthenaArguments(trf.parser)
46 addDetectorArguments(trf.parser)
47 addCommonRecTrfArgs(trf.parser)
48 addDAODArguments(trf.parser)
49 return trf
50
51
52if __name__ == '__main__':
53 main()
STL class.
Main package for new style ATLAS job transforms.
Logging configuration for ATLAS job transforms.