ATLAS Offline Software
Loading...
Searching...
No Matches
LArPulseShape_tf.py
Go to the documentation of this file.
1#!/usr/bin/env python
2
3# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
4
5__doc__ = """JobTransform to run LAr PulseShape jobs"""
6
7
8import sys
9from PyJobTransforms.transform import transform
10from PyJobTransforms.trfExe import athenaExecutor
11from PyJobTransforms.trfArgs import addAthenaArguments, addDetectorArguments
12import PyJobTransforms.trfArgClasses as trfArgClasses
13
14if __name__ == '__main__':
15
16 executorSet = set()
17 executorSet.add(athenaExecutor(name = 'LArPulsetf', skeletonFile='RecJobTransforms/skeleton.RAWtoESD_tf.py',
18 substep = 'r2e', inData = ['BS',], outData = ['NTUP_SAMPLESMON']))
19
20 trf = transform(executor = executorSet)
21 addAthenaArguments(trf.parser)
22 addDetectorArguments(trf.parser)
23 trf.parser.add_argument('--inputBSFile', nargs='+',
24 type=trfArgClasses.argFactory(trfArgClasses.argBSFile, io='input'),
25 help='Input bytestream file', group='Reco Files')
26
27 trf.parser.add_argument('--outputNTUP_SAMPLESMONFile', nargs='+',
28 type=trfArgClasses.argFactory(trfArgClasses.argNTUPFile, io='output', treeNames="myTree"),
29 help='Output LAr Samples file', group='Ntuple Files')
30
31 trf.parser.add_argument('--autoConfiguration', group='Common Reco', type=trfArgClasses.argFactory(trfArgClasses.argList),
32 help='Autoconfiguration settings (whitespace or comma separated)', nargs='+', metavar='AUTOCONFKEY')
33 trf.parseCmdLineArgs(sys.argv[1:])
34 trf.execute()
35 trf.generateReport()
36
37
STL class.
Main package for new style ATLAS job transforms.
Transform argument class definitions.
Transform execution functions.