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