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 1fd857e..466df37 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();