Skip to content
Snippets Groups Projects

Handler for Boole Upgrade FT

Merged Dmitry Popov requested to merge boole_upg_ft_handler into master
1 file
+ 17
0
Compare changes
  • Side-by-side
  • Inline
+ 17
0
import os
from .BaseHandler import BaseHandler
class BooleUpgFT25nsHandler(BaseHandler):
def __init__(self):
super(self.__class__, self).__init__()
def collectResults(self, directory):
rootFileName = 'PR-UPG-SpillOver25ns-FT-1000ev-histos.root'
if os.path.isfile(os.path.join(directory, rootFileName)) == 0:
raise Exception("Could not locate monitoring histograms ROOT file: %s" %
os.path.join(directory, rootFileName))
self.saveFile('BooleROOTMoniOutput', rootFileName)
Loading