Initialization of some arrays
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 15 May 2006 13:31:23 +0000 (13:31 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 15 May 2006 13:31:23 +0000 (13:31 +0000)
STEER/AliESDkink.cxx

index dd0208f..36050f7 100644 (file)
@@ -49,8 +49,18 @@ AliESDkink::AliESDkink() :
       fTPCdensity[i][j]=-1;
       fTPCdensity2[i][j]=-1;
     }
-  fTPCncls[0]=0;
-  fTPCncls[1]=0;
+  fTPCncls[0]=fTPCncls[1]=0;
+
+  for (Int_t i=0; i<3; i++) {
+    fPdr[i] = 0;
+    fXr[i] = 0;
+    fPm[i] = 0;
+    fAngle[i] = 0;
+  }
+  
+  fLab[0]=fLab[1]=-1;
+  fIndex[0]=fIndex[1]=-1;
+  fMultiple[0]=fMultiple[1]=0;
 }
 
 void AliESDkink::SetMother(const AliExternalTrackParam & pmother)  {