Definition at line 214 of file BeamSpotPostProcessing.py.
◆ run()
def python.BeamSpotPostProcessing.PlotBeamSpot.run |
( |
|
self | ) |
|
Definition at line 215 of file BeamSpotPostProcessing.py.
216 ntFileName = self.getFileName(
'-nt.root',
'BeamSpotNt')
217 outFileNameGIF = self.getFileName(
'.gif')
218 outFileNamePDF = self.getFileName(
'.pdf')
219 if os.path.exists(
'/'.
join([self.taskDir,ntFileName])):
220 self.logExec(
'cd %s; beamspotnt.py -b -o %s,%s -f %s summary' % (self.taskDir,outFileNameGIF,outFileNamePDF,ntFileName))
221 self.addResult(outFileNameGIF)
222 self.addResult(outFileNamePDF)
224 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: