]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Bug fix - the array ax was too short. Thanks to Andrei Gheata.
authormisko <misko@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 13 Nov 2009 17:18:39 +0000 (17:18 +0000)
committermisko <misko@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 13 Nov 2009 17:18:39 +0000 (17:18 +0000)
PWG2/UNICOR/AliUnicorAnalHighpt.cxx

index 157209af769291fdbdb5ffdbd11aefce66346152..846d2ccd196dc69c25115f1bbb37ab23ad5b7ff9 100644 (file)
@@ -40,7 +40,7 @@ AliUnicorAnalHighpt::AliUnicorAnalHighpt(Char_t *nam, Double_t emi, Double_t ema
 
   Double_t ewi = ema-emi; // width of the pseudorapidity range
   double pi = TMath::Pi();
-  TAxis *ax[8];
+  TAxis *ax[9];
   ax[0] = new TAxis(2,-0.5,1.5);   ax[0]->SetTitle("trumix");
   ax[1] = new TAxis(2,-0.5,1.5);   ax[1]->SetTitle("weigth"); // 1 or ass pt
   ax[2] = new TAxis(5,0,0.5);      ax[2]->SetTitle("centrality");