Bug fix, size of array
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 30 Sep 2010 14:55:21 +0000 (14:55 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 30 Sep 2010 14:55:21 +0000 (14:55 +0000)
PWG4/JetTasks/AliUEHistograms.cxx

index 51b08a3..79c3e8b 100644 (file)
@@ -322,7 +322,7 @@ void AliUEHistograms::FillTrackingEfficiency(TObjArray* mc, TObjArray* recoPrim,
     for (Int_t i=0; i<list->GetEntries(); i++)
     {
       AliVParticle* particle = (AliVParticle*) list->At(i);
-      Double_t vars[2];
+      Double_t vars[3];
       vars[0] = particle->Eta();
       vars[1] = particle->Pt();
       vars[2] = particleType;