Definition at line 212 of file BeamSpotPostProcessing.py.
◆ run()
| def python.BeamSpotPostProcessing.PlotBeamSpot.run |
( |
|
self | ) |
|
Definition at line 213 of file BeamSpotPostProcessing.py.
214 ntFileName = self.getFileName(
'-nt.root',
'BeamSpotNt')
215 outFileNameGIF = self.getFileName(
'.gif')
216 outFileNamePDF = self.getFileName(
'.pdf')
217 if os.path.exists(
'/'.
join([self.taskDir,ntFileName])):
218 self.logExec(
'cd %s; beamspotnt.py -b -o %s,%s -f %s summary' % (self.taskDir,outFileNameGIF,outFileNamePDF,ntFileName))
219 self.addResult(outFileNameGIF)
220 self.addResult(outFileNamePDF)
222 raise PostProcessingError(
'ERROR: No ntuple file %s - did BeamSpotNt step run?\n' % ntFileName,self.executedSteps)
The documentation for this class was generated from the following file: