33 cmd =
' '.
join(sys.argv)
35 trf = TrfUtils.JobRunnerTransform(
'inputDPDFiles',
'outputNtFile',
'histfile', jobDirOutputName=
'nt.root',
36 mandatoryArgs=[
'_attempt'],
37 optionalArgs=[
'outputCOOLFile',
'taskPostProcSteps',
'taskDb',
'taskDir'])
39 taskPostProcSteps = trf.argdict.get(
'taskPostProcSteps',
'T0VertexDefaultProcessing')
40 taskDb = trf.argdict.get(
'taskDb',
'auth_file:/afs/cern.ch/user/a/atlidbs/private/beamspotdbinfo_w.dat')
41 taskDir = trf.argdict.get(
'taskDir',
'/afs/cern.ch/user/a/atlidbs/jobs')
43 trf.setProdTaskDatabase(taskDb)
44 trf.setProdDir(taskDir)
46 trf.getJobRunner(joboptionpath=
'runBeamSpotCalibration.py',
47 autoconfparams=
'DetDescrVersion',
48 taskpostprocsteps=taskPostProcSteps,
50 if 'outputCOOLFile' in trf.argdict:
51 trf.addOutput(
'outputCOOLFile',
'outputfile',
'beamspot.db')