5 __doc__ =
"""JobTransform to run LAr SuperCells reco and dumping jobs"""
11 from PyJobTransforms.trfArgs
import addAthenaArguments, addDetectorArguments
14 if __name__ ==
'__main__':
17 executorSet.add(athenaExecutor(name =
'LArSCRecoTest',
18 skeletonCA=
'LArCafJobs.LArSCRecoTestSkeleton',
19 substep =
'r2e', inData = [
'BS',], outData = [
'NTUP_SCReco']))
24 trf.parser.add_argument(
'--inputBSFile', nargs=
'+',
25 type=trfArgClasses.argFactory(trfArgClasses.argBSFile, io=
'input'),
26 help=
'Input bytestream file', group=
'Reco Files')
28 trf.parser.add_argument(
'--outputNTUP_SCRecoFile', nargs=
'+',
29 type=trfArgClasses.argFactory(trfArgClasses.argNTUPFile, io=
'output', treeNames=
"LARSC"),
30 help=
'Output LAr SuperCells file', group=
'Ntuple Files')
32 trf.parser.add_argument(
'--startSampleShift',
33 default=trfArgClasses.argInt(0),
34 type=trfArgClasses.argFactory(trfArgClasses.argInt),
35 help=
'shift of start sample for reco...')
37 trf.parser.add_argument(
'--energyCut',
38 default=trfArgClasses.argFloat(0.),
39 type=trfArgClasses.argFactory(trfArgClasses.argFloat),
40 help=
'store only SC with |energies| above this cut...')
42 trf.parseCmdLineArgs(sys.argv[1:])