14msg.info(
'logging set in %s', sys.argv[0])
17from PyJobTransforms.trfArgs
import addAthenaArguments, addDetectorArguments
18from PyJobTransforms.trfDecorators
import stdTrfExceptionHandler, sigUsrStackTrace
19from RecJobTransforms.recTransformUtils
import addCommonRecTrfArgs
21from PATJobTransforms.PATTransformUtils
import addDAODArguments, addDAODMergerSubsteps
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']
25@stdTrfExceptionHandler
29 msg.info(
'This is %s', sys.argv[0])
32 trf.parseCmdLineArgs(sys.argv[1:])
36 msg.info(
"%s stopped at %s, trf exit code %d", sys.argv[0], time.asctime(), trf.exitCode)
37 sys.exit(trf.exitCode)
41 addDAODMergerSubsteps(executorSet)
43 trf = transform(executor = executorSet)
45 addAthenaArguments(trf.parser)
46 addDetectorArguments(trf.parser)
47 addCommonRecTrfArgs(trf.parser)
48 addDAODArguments(trf.parser)
52if __name__ ==
'__main__':