Patching NUA (Carlos)
authorpchrista <pchrista@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 Oct 2013 12:52:03 +0000 (12:52 +0000)
committerpchrista <pchrista@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 Oct 2013 12:52:03 +0000 (12:52 +0000)
PWGCF/FLOW/macros/redoFinish.C

index 48429fc..216dd89 100644 (file)
@@ -77,7 +77,8 @@ void redoFinish()
       {
         AliFlowAnalysisWithScalarProduct* sp = new AliFlowAnalysisWithScalarProduct();
         sp->GetOutputHistograms(list);
-        //sp->GetHistProFlags()->SetBinContent(1,(Int_t)bApplyCorrectionForNUA);
+        sp->GetHistProConfig()->SetBinContent(1,(Int_t)bApplyCorrectionForNUA*
+                                              sp->GetHistProConfig()->GetEntries());
         sp->Finish();
         directory->Add(list,kTRUE);
         directory->Write(directory->GetName(),TObject::kSingleKey+TObject::kWriteDelete);