5 from __future__
import print_function
13 msg.info(
'logging set in %s' % sys.argv[0])
17 from PyJobTransforms.trfArgs
import addAthenaArguments
18 from PyJobTransforms.trfDecorators
import stdTrfExceptionHandler, sigUsrStackTrace
22 @stdTrfExceptionHandler
26 msg.info(
'This is %s' % sys.argv[0])
29 trf.parseCmdLineArgs(sys.argv[1:])
33 msg.info(
"%s stopped at %s, trf exit code %d" % (sys.argv[0], time.asctime(), trf.exitCode))
34 sys.exit(trf.exitCode)
38 executorSet.add(athenaExecutor(name =
'EvtGenFromEVNT', skeletonFile =
'EvgenJobTransforms/skeleton.EvtGenFromEVNT.py',inData = [
'EVNT'], outData = [
'EVNT_MRG']))
49 parser.defineArgGroup(
'EvtGenFromEVNT_tf',
'EVNT merge job specific options')
50 parser.add_argument(
'--inputEVNTFile', nargs=
'+',
51 type=trfArgClasses.argFactory(trfArgClasses.argPOOLFile, io=
'input', runarg=
True, type=
'evnt'),
52 help=
'Input EVNT file', group=
'EvtGenFromEVNT_tf')
53 parser.add_argument(
'--outputEVNT_MRGFile',
'--outputEVNTFile',
54 type=trfArgClasses.argFactory(trfArgClasses.argPOOLFile, io=
'output', runarg=
True, type=
'evnt'),
55 help=
'Output EVNT file', group=
'EvtGenFromEVNT_tf')
60 if __name__ ==
'__main__':