Fix. Index out of range acces.
authormivanov <marian.ivanov@cern.ch>
Sun, 19 Jan 2014 04:11:35 +0000 (05:11 +0100)
committermivanov <marian.ivanov@cern.ch>
Sun, 19 Jan 2014 04:11:35 +0000 (05:11 +0100)
TPC/Rec/AliTPCseed.cxx

index fd3a1f5..0c87dd0 100644 (file)
@@ -1209,7 +1209,7 @@ Float_t  AliTPCseed::CookdEdxAnalytical(Double_t low, Double_t up, Int_t type, I
   Float_t corrTimeGain = 1;
   TObjArray * timeGainSplines = 0x0;
   TGraphErrors * grPadEqual = 0x0;
-  TGraphErrors*  grChamberGain[3]={0x0,0x0,0x0};
+  TGraphErrors*  grChamberGain[4]={0x0,0x0,0x0,0x0};
   TF1*  funDipAngle[4]={0x0,0x0,0x0,0x0};
   //
   //