5 __doc__ =
"""JobTransform to run TRT R-t Calibration jobs"""
8 import sys, os, glob, subprocess, tarfile, json
11 from PyJobTransforms.trfArgs
import addAthenaArguments, addDetectorArguments
14 if __name__ ==
'__main__':
17 executorSet.add(athenaExecutor(name =
'TRTCalibMerge',
18 skeletonCA=
'TRT_CalibAlgs.TRTCalib_merge_Skeleton', inData = [
'TAR'], outData = [
'TAR_MERGED']))
25 trf.parser.defineArgGroup(
'TRTCalib_merge_tf',
'TRT r-t calibration transform')
28 trf.parser.add_argument(
'--inputTARFile', nargs=
'+',
29 type=trfArgClasses.argFactory(trfArgClasses.argBZ2File, io=
'input'),
30 help=
'Compressed input files', group=
'TRTCalib_merge_tf')
33 trf.parser.add_argument(
'--outputTAR_MERGEDFile',
34 type=trfArgClasses.argFactory(trfArgClasses.argBZ2File, io=
'output'),
35 help=
'Compressed output file', group=
'TRTCalib_merge_tf')
37 trf.parseCmdLineArgs(sys.argv[1:])
42 sys.exit(trf.exitCode)