]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fix double
authormfasel <mfasel@lbl.gov>
Wed, 13 Aug 2014 14:17:28 +0000 (16:17 +0200)
committerrhaake <ruediger.haake@cern.ch>
Wed, 13 Aug 2014 15:41:34 +0000 (17:41 +0200)
PWGJE/EMCALJetTasks/UserTasks/AliAnalysisTaskPtEMCalTrigger.cxx

index 1fd857e59b84f974d30e1348dcfb2a88b47d702c..466df3760bf500589d3239061603a5948f17bc28 100644 (file)
@@ -403,7 +403,7 @@ namespace EMCalTriggerPtAnalysis {
                char histname[1024];
                sprintf(histname, "hEventHist%s", trigger);
                try{
-                       fHistos->FillTH2(histname, 0, vz);
+                       fHistos->FillTH2(histname, 0., vz);
                } catch (HistoContainerContentException &e){
                        std::stringstream errormessage;
                        errormessage << "Filling of histogram failed: " << e.what();
@@ -411,7 +411,7 @@ namespace EMCalTriggerPtAnalysis {
                }
                if(!isPileup){
                        try{
-                               fHistos->FillTH2(histname, 1, vz);
+                               fHistos->FillTH2(histname, 1., vz);
                        } catch(HistoContainerContentException &e){
                                std::stringstream errormessage;
                                errormessage << "Filling of histogram failed: " << e.what();