Definition at line 139 of file BeamSpotPostProcessing.py.
◆ run()
def python.BeamSpotPostProcessing.PlotBeamSpotCompareReproc.run |
( |
|
self | ) |
|
Definition at line 140 of file BeamSpotPostProcessing.py.
141 outFileNameGIF = self.getFileName(
'.gif')
142 outFileNamePDF = self.getFileName(
'.pdf')
143 ntFileName = self.getFileName(
'-nt.root',
'BeamSpotNt')
148 beamspottag = COOLUtils.resolveCurrentBeamSpotFolder()
150 raise PostProcessingError(
'ERROR: Unable to resolve beamspot folder tag',self.executedSteps,TaskManager.StatusCodes[
'POSTPROCFAILED'])
152 if os.path.exists(
'/'.
join([self.taskDir,ntFileName])):
153 self.logExec(
'cd %s; plotBeamSpotCompare.py -b -o %s,%s --config="Reproc" %s %s' % (self.taskDir, outFileNameGIF,outFileNamePDF,beamspottag,ntFileName))
154 self.addResult(outFileNameGIF)
155 self.addResult(outFileNamePDF)
156 self.logExec(
'cd %s; mkdir -p %s' % (self.taskDir, self.getFileName(
'-compplots')))
157 self.logExec(
'cd %s; plotBeamSpotCompare.py -b --outtag="%s/repro_" --output=".pdf,.png" --config="Reproc" --multicanv --html %s %s' % (self.taskDir, self.getFileName(
'-compplots'), beamspottag,ntFileName))
158 self.addResult(self.getFileName(
'.html'))
The documentation for this class was generated from the following file: