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