8 def Init(self,options,monitor):
9 self.M = monitor
10 h = self.M.h
11 ut.bookHist(h,'scifiboard','scifi hits per board; board id',100,-0.5,99.5,100,0.5,500.)
12 ut.bookHist(h,'mufiboard','mufi hits per board; board id',100,-0.5,99.5,100,0.5,500.)
13 ut.bookHist(h,'scifiboard0','scifi hits per board, unbiased; board id',100,-0.5,99.5,100,0.5,500.)
14 ut.bookHist(h,'mufiboard0','mufi hits per board, unbiased; board id',100,-0.5,99.5,100,0.5,500.)
16 runNr = str(options.runNumber).zfill(6)
17 if options.online:
18 self.R.Init(options.server+options.path+'run_'+ runNr+'/')
19 else:
20 if options.rawDataPath: self.R.Init(options.server+options.rawDataPath+"run_"+runNr+'/')
21 elif options.path.find('commissioning')>0 and options.path.find('test')<0: self.R.Init(options.server+options.path.replace("convertedData","raw_data")+"/data/run_"+runNr+'/')
22 else: self.R.Init(options.server+options.path.replace("convertedData","raw_data")+"/run_"+runNr+'/')