ATLAS Offline Software
|
Public Member Functions | |
def | __init__ (self, inputParamName, outputParamName, templateOutputName='outputfile', jobDirOutputName='', mandatoryArgs=[], optionalArgs=[]) |
def | setProdDir (self, dir) |
def | setProdTaskDatabase (self, taskdb) |
def | getJobRunner (self, **jobRunnerArgs) |
def | addOutput (self, paramName, templateName, jobDirName='') |
def | showParams (self) |
def | configure (self) |
def | addTaskToDatabase (self, comment='') |
def | run (self) |
def | go (self, commentForTaskDb='') |
def | report (self, errAcronym='', moreText='') |
Job transform for running a JobRunner job at T0 or at the CAF Task Management System. Note that this class may abort execution by calling exit() in case of errors. Except in case of syntactical errors caught by OptionParser, a jobReport will always be produced.
Definition at line 117 of file TrfUtils.py.
def python.TrfUtils.JobRunnerTransform.__init__ | ( | self, | |
inputParamName, | |||
outputParamName, | |||
templateOutputName = 'outputfile' , |
|||
jobDirOutputName = '' , |
|||
mandatoryArgs = [] , |
|||
optionalArgs = [] |
|||
) |
Definition at line 123 of file TrfUtils.py.
def python.TrfUtils.JobRunnerTransform.addOutput | ( | self, | |
paramName, | |||
templateName, | |||
jobDirName = '' |
|||
) |
Add an additional output file to the output dataset. If jobDirName is set, the output file will also be copied under that name to the job directory.
Definition at line 235 of file TrfUtils.py.
def python.TrfUtils.JobRunnerTransform.addTaskToDatabase | ( | self, | |
comment = '' |
|||
) |
Definition at line 266 of file TrfUtils.py.
def python.TrfUtils.JobRunnerTransform.configure | ( | self | ) |
Definition at line 248 of file TrfUtils.py.
def python.TrfUtils.JobRunnerTransform.getJobRunner | ( | self, | |
** | jobRunnerArgs | ||
) |
Definition at line 209 of file TrfUtils.py.
def python.TrfUtils.JobRunnerTransform.go | ( | self, | |
commentForTaskDb = '' |
|||
) |
Show parameters, configure job, update task database, run job and produce report. This method will ensure that a job report is always produced, independently of any errors.
Definition at line 288 of file TrfUtils.py.
def python.TrfUtils.JobRunnerTransform.report | ( | self, | |
errAcronym = '' , |
|||
moreText = '' |
|||
) |
Definition at line 306 of file TrfUtils.py.
def python.TrfUtils.JobRunnerTransform.run | ( | self | ) |
Definition at line 283 of file TrfUtils.py.
def python.TrfUtils.JobRunnerTransform.setProdDir | ( | self, | |
dir | |||
) |
Definition at line 197 of file TrfUtils.py.
def python.TrfUtils.JobRunnerTransform.setProdTaskDatabase | ( | self, | |
taskdb | |||
) |
Definition at line 206 of file TrfUtils.py.
def python.TrfUtils.JobRunnerTransform.showParams | ( | self | ) |
Definition at line 244 of file TrfUtils.py.
python.TrfUtils.JobRunnerTransform.argdict |
Definition at line 152 of file TrfUtils.py.
python.TrfUtils.JobRunnerTransform.argdictFileName |
Definition at line 151 of file TrfUtils.py.
python.TrfUtils.JobRunnerTransform.dataset |
Definition at line 190 of file TrfUtils.py.
python.TrfUtils.JobRunnerTransform.inputfiles |
Definition at line 173 of file TrfUtils.py.
python.TrfUtils.JobRunnerTransform.inputParamName |
Definition at line 124 of file TrfUtils.py.
python.TrfUtils.JobRunnerTransform.jobDirOutputName |
Definition at line 134 of file TrfUtils.py.
python.TrfUtils.JobRunnerTransform.jobname |
Definition at line 192 of file TrfUtils.py.
python.TrfUtils.JobRunnerTransform.mandatoryArgs |
Definition at line 126 of file TrfUtils.py.
python.TrfUtils.JobRunnerTransform.optionalArgs |
Definition at line 131 of file TrfUtils.py.
python.TrfUtils.JobRunnerTransform.outputds |
Definition at line 180 of file TrfUtils.py.
python.TrfUtils.JobRunnerTransform.outputfile |
Definition at line 178 of file TrfUtils.py.
python.TrfUtils.JobRunnerTransform.outputList |
Definition at line 135 of file TrfUtils.py.
python.TrfUtils.JobRunnerTransform.outputParamName |
Definition at line 125 of file TrfUtils.py.
python.TrfUtils.JobRunnerTransform.prodDir |
Definition at line 137 of file TrfUtils.py.
python.TrfUtils.JobRunnerTransform.prodTaskDb |
Definition at line 138 of file TrfUtils.py.
python.TrfUtils.JobRunnerTransform.reportName |
Definition at line 136 of file TrfUtils.py.
python.TrfUtils.JobRunnerTransform.runner |
Definition at line 132 of file TrfUtils.py.
python.TrfUtils.JobRunnerTransform.taskname |
Definition at line 191 of file TrfUtils.py.
python.TrfUtils.JobRunnerTransform.templateOutputName |
Definition at line 133 of file TrfUtils.py.