Bug with histogram weight corrected (Boris)
authorkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 6 Sep 2013 14:54:51 +0000 (14:54 +0000)
committerkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 6 Sep 2013 14:54:51 +0000 (14:54 +0000)
PWGGA/PHOSTasks/PHOS_PbPb/AliAnalysisTaskPi0FlowMC.cxx

index 704aba0..6e4134f 100644 (file)
@@ -616,7 +616,7 @@ void AliAnalysisTaskPi0FlowMC::ConsiderPi0s()
       
       
       if(ph1->IsDisp2OK() && ph2->IsDisp2OK()){
-       FillHistogram(Form("hPi0Disp2_cen%d",fCentBin),m,pt) ;
+       FillHistogram(Form("hPi0Disp2_cen%d",fCentBin),m,pt,w) ;
        FillHistogram(Form("hPi0Disp2core_cen%d",fCentBin),mcore, ptcore, w) ;  
 
        FillHistogram(Form("hMassPtV0ADisp2_cen%d",fCentBin),m,pt,dphiA, w) ;