6 from __future__
import print_function
9 __doc__ =
"""Simple Transform to understand what goes on"""
19 JobTransform.__init__(self,
20 authors = [
Author(
'James Walder',
'jwalder@cern.ch')],
21 skeleton =
'InDetBeamSpotExample/skeleton.BeamSpotVertex.py',
25 self.add( InputDPDFileArg(name=
'InputDESDM_BEAMSPOTFile'))
26 self.add( NtupleFileArg(name=
'beamspotFile'))
27 self.add( NtupleFileArg(name=
'monitoringFile'),default=
'mon.root')
28 self.add( BasicStringArg(help =
'db filename', name=
'beamspotDb'), default =
'beamspot.db')
29 self.add( ListOfStringsArg(name=
'jobConfig', help=
'jobConfig extra options'), default =
'')
30 self.add( JobOptionsArg(name=
'topOptions',help=
'InDetBeamSpotExampleJobOption config file'),
31 default=
'InDetBeamSpotExample/VertexTemplate.py')
32 self.add( ListOfStringsArg(name=
'preExec', help=
'intial options'), default =
'')
33 self.add( ListOfStringsArg(name=
'postExec', help=
'final options'), default =
'')
34 self.add( MaxEventsArg(), default =
'-1' )
38 print (
"JW: in PostRun")
41 if __name__ ==
'__main__':
42 print (
"JW: Run from Main")
44 sys.exit(trf.exeSysArgs().exitCode())