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