273 def addMonitoring(self, flags):
275 if self.tool().UseRinger:
277 monTool.defineHistogram(
'Eta', type=
'TH1F', path=
'EXPERT',title=
"#eta of Clusters; #eta; number of RoIs", xbins=50,xmin=-2.5,xmax=2.5)
278 monTool.defineHistogram(
'Phi',type=
'TH1F', path=
'EXPERT',title=
"#phi of Clusters; #phi; number of RoIs", xbins=64,xmin=-3.2,xmax=3.2)
279 monTool.defineHistogram(
'Et',type=
'TH1F', path=
'EXPERT',title=
"E_{T} of Clusters; E_{T} [MeV]; number of RoIs", xbins=60,xmin=0,xmax=5e4)
280 monTool.defineHistogram(
'NNOutput',type=
'TH1F', path=
'EXPERT',title=
"NN Output; NN; Count", xbins=17,xmin=-8,xmax=+8)
282 monTool.HistPath=
'FastCaloL2EgammaHypo/'+self.__name
283 self.tool().MonTool=monTool
288 HistPath =
'FastCaloL2EgammaHypo/'+self.__name)
289 monTool.defineHistogram(
'dEta', type=
'TH1F', path=
'EXPERT', title=
"L2Calo Hypo #Delta#eta_{L2 L1}; #Delta#eta_{L2 L1}",
290 xbins=80, xmin=-0.01, xmax=0.01)
291 monTool.defineHistogram(
'dPhi', type=
'TH1F', path=
'EXPERT', title=
"L2Calo Hypo #Delta#phi_{L2 L1}; #Delta#phi_{L2 L1}",
292 xbins=80, xmin=-0.01, xmax=0.01)
293 monTool.defineHistogram(
'Et_em', type=
'TH1F', path=
'EXPERT', title=
"L2Calo Hypo cluster E_{T}^{EM};E_{T}^{EM} [MeV]",
294 xbins=50, xmin=-2000, xmax=100000)
295 monTool.defineHistogram(
'Eta', type=
'TH1F', path=
'EXPERT', title=
"L2Calo Hypo entries per Eta;Eta", xbins=100, xmin=-2.5, xmax=2.5)
296 monTool.defineHistogram(
'Phi', type=
'TH1F', path=
'EXPERT', title=
"L2Calo Hypo entries per Phi;Phi", xbins=128, xmin=-3.2, xmax=3.2)
298 cuts=[
'Input',
'has one TrigEMCluster',
'#Delta #eta L2-L1',
'#Delta #phi L2-L1',
'eta',
'rCore',
299 'eRatio',
'E_{T}^{EM}',
'E_{T}^{Had}',
'f_{1}',
'Weta2',
'Wstot',
'F3']
301 monTool.defineHistogram(
'CutCounter', type=
'TH1I', path=
'EXPERT', title=
"L2Calo Hypo Passed Cuts;Cut",
302 xbins=13, xmin=-1.5, xmax=12.5, opt=
"kCumulative", xlabels=cuts)
304 if flags.Trigger.doValidationMonitoring:
305 monTool.defineHistogram(
'Et_had', type=
'TH1F', path=
'EXPERT', title=
"L2Calo Hypo E_{T}^{had} in first layer;E_{T}^{had} [MeV]",
306 xbins=50, xmin=-2000, xmax=100000)
307 monTool.defineHistogram(
'RCore', type=
'TH1F', path=
'EXPERT', title=
"L2Calo Hypo R_{core};E^{3x7}/E^{7x7} in sampling 2",
308 xbins=48, xmin=-0.1, xmax=1.1)
309 monTool.defineHistogram(
'Eratio', type=
'TH1F', path=
'EXPERT',
310 title=
"L2Calo Hypo E_{ratio};E^{max1}-E^{max2}/E^{max1}+E^{max2} in sampling 1 (excl.crack)",
311 xbins=64, xmin=-0.1, xmax=1.5)
312 monTool.defineHistogram(
'EtaBin', type=
'TH1I', path=
'EXPERT', title=
"L2Calo Hypo entries per Eta bin;Eta bin no.",
313 xbins=11, xmin=-0.5, xmax=10.5)
314 monTool.defineHistogram(
'F1', type=
'TH1F', path=
'EXPERT', title=
"L2Calo Hypo f_{1};f_{1}", xbins=34, xmin=-0.5, xmax=1.2)
315 monTool.defineHistogram(
'Weta2', type=
'TH1F', path=
'EXPERT', title=
"L2Calo Hypo Weta2; E Width in sampling 2",
316 xbins=96, xmin=-0.1, xmax=0.61)
317 monTool.defineHistogram(
'Wstot', type=
'TH1F', path=
'EXPERT', title=
"L2Calo Hypo Wstot; E Width in sampling 1",
318 xbins=48, xmin=-0.1, xmax=11.)
319 monTool.defineHistogram(
'F3', type=
'TH1F', path=
'EXPERT', title=
"L2Calo Hypo F3; E3/(E0+E1+E2+E3)",
320 xbins=96, xmin=-0.1, xmax=1.1)
323 self.tool().MonTool = monTool