From f7da5338c667412f6a8d5624ec7e547d121e3311 Mon Sep 17 00:00:00 2001
From: Denis Oliveira Damazio <Denis.Oliveira.Damazio@cern.ch>
Date: Fri, 25 Aug 2017 23:31:52 +0200
Subject: [PATCH] fix histogram type from I to F

---
 .../TrigEgammaHypo/python/TrigL2PhotonHypoMonitoring.py     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Trigger/TrigHypothesis/TrigEgammaHypo/python/TrigL2PhotonHypoMonitoring.py b/Trigger/TrigHypothesis/TrigEgammaHypo/python/TrigL2PhotonHypoMonitoring.py
index 15c1ed9480ce..585b0353d20d 100755
--- a/Trigger/TrigHypothesis/TrigEgammaHypo/python/TrigL2PhotonHypoMonitoring.py
+++ b/Trigger/TrigHypothesis/TrigEgammaHypo/python/TrigL2PhotonHypoMonitoring.py
@@ -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) ]   
        
       
-- 
GitLab