17 __author__ =
'Juerg Beringer'
18 __version__ =
'$Id: beamSpotT0_ESDToDPD_trf.py 303684 2010-06-07 04:36:21Z beringer $'
21 from InDetBeamSpotExample
import TrfUtils
25 trf = TrfUtils.JobRunnerTransform(
'inputESDFile',
'outputDPDFile', optionalArgs=[
'taskDb',
'taskDir'])
27 taskDb = trf.argdict.get(
'taskDb',
'auth_file:/afs/cern.ch/user/a/atlidbs/private/beamspotdbinfo_w.dat')
28 taskDir = trf.argdict.get(
'taskDir',
'/afs/cern.ch/user/a/atlidbs/jobs')
30 trf.setProdTaskDatabase(taskDb)
31 trf.setProdDir(taskDir)
33 trf.getJobRunner(joboptionpath=
'InDetBeamSpotExample/ESDToDPDTemplate.py',
34 mandatoryArgs=[
'_attempt'],
35 autoconfparams=
'DetDescrVersion',
37 if 'alignmentfile' in trf.argdict:
38 trf.runner.addFilesToPoolFileCatalog(trf.argdict[
'alignmentfile'])