From: dgangadh Date: Fri, 18 Jan 2013 15:19:03 +0000 (+0000) Subject: AddTask Fix X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=45a8f78fafa838d43007bfe54487a87130a606e7;p=u%2Fmrichter%2FAliRoot.git AddTask Fix --- diff --git a/PWGCF/FEMTOSCOPY/macros/AddTaskChaoticity.C b/PWGCF/FEMTOSCOPY/macros/AddTaskChaoticity.C index 37d47dbd9f4..f6f388db523 100644 --- a/PWGCF/FEMTOSCOPY/macros/AddTaskChaoticity.C +++ b/PWGCF/FEMTOSCOPY/macros/AddTaskChaoticity.C @@ -37,9 +37,9 @@ AliChaoticity *AddTaskChaoticity(bool MCcase=kFALSE, bool Tabulatecase=kFALSE, b } //////////////////////////////////////////////////// // C2 Weight File - Int_t ktbins = 3;// ChaoticityTask->GetNumKtbins(); - Int_t cbins = 10;// ChaoticityTask->GetNumCentbins(); - TH3F *weightHisto[ktbins][cbins] = 0; + const Int_t ktbins = 3;// ChaoticityTask->GetNumKtbins(); + const Int_t cbins = 10;// ChaoticityTask->GetNumCentbins(); + TH3F *weightHisto[ktbins][cbins]; for(Int_t i=0; i