ALIROOT-5773, ATO-120 - initialize all elements of the array. Fixing technical proble...
authormivanov <marian.ivanov@cern.ch>
Thu, 5 Feb 2015 17:39:18 +0000 (18:39 +0100)
committermivanov <marian.ivanov@cern.ch>
Thu, 5 Feb 2015 17:39:40 +0000 (18:39 +0100)
TPC/TPCbase/AliTPCParam.cxx

index 6cddad1..9df1289 100644 (file)
@@ -591,6 +591,8 @@ Bool_t AliTPCParam::Update()
     fRotAngle[j+1] =  fRotAngle[i+1];
     fRotAngle[i+2] =angle;
     fRotAngle[j+2] =angle;    
+    fRotAngle[i+3] =angle;
+    fRotAngle[j+3] =angle;    
   }
   angle = fOuterAngleShift; 
   j=(fNInnerSector+fNOuterSector/2)*4;
@@ -601,6 +603,8 @@ Bool_t AliTPCParam::Update()
     fRotAngle[j+1] =  fRotAngle[i+1];
     fRotAngle[i+2] =angle;
     fRotAngle[j+2] =angle;    
+    fRotAngle[i+3] =angle;
+    fRotAngle[j+3] =angle;    
   }
 
   fZWidth = fTSample*fDriftV;