Commit 7e8f7a41 authored by Stefania Xella's avatar Stefania Xella
Browse files

Merge branch 'fixHypoHist' into '21.1'

fix histogram type from I to F

See merge request !4229

Former-commit-id: 58e507b831a245d827df8312555235d2f1517bea
parents f14d520c e2d6d2c1
......@@ -39,7 +39,7 @@ class TrigL2PhotonHypoValidationMonitoring(TrigGenericMonitoringToolConfig):
for c in cuts:
labelsDescription += c+':'
self.Histograms += [ defineHistogram('CutCounter', type='TH1I', title="L2Photon Hypo Passed Cuts;Cut",
self.Histograms += [ defineHistogram('CutCounter', type='TH1F', title="L2Photon Hypo Passed Cuts;Cut",
xbins=10, xmin=-1.5, xmax=10.5, opt="kCumulative", labels=labelsDescription) ]
......@@ -62,7 +62,7 @@ class TrigL2PhotonHypoOnlineMonitoring(TrigGenericMonitoringToolConfig):
for c in cuts:
labelsDescription += c+':'
self.Histograms += [ defineHistogram('CutCounter', type='TH1I', title="L2Photon Hypo Passed Cuts;Cut",
self.Histograms += [ defineHistogram('CutCounter', type='TH1F', title="L2Photon Hypo Passed Cuts;Cut",
xbins=10, xmin=-1.5, xmax=10.5, opt="kCumulative", labels=labelsDescription) ]
......@@ -101,7 +101,7 @@ class TrigL2PhotonHypoCosmicMonitoring(TrigGenericMonitoringToolConfig):
for c in cuts:
labelsDescription += c+':'
self.Histograms += [ defineHistogram('CutCounter', type='TH1I', title="L2Photon Hypo Passed Cuts;Cut",
self.Histograms += [ defineHistogram('CutCounter', type='TH1F', title="L2Photon Hypo Passed Cuts;Cut",
xbins=10, xmin=-1.5, xmax=10.5, opt="kCumulative", labels=labelsDescription) ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment