adding initialization
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 11 Jun 2011 07:28:01 +0000 (07:28 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 11 Jun 2011 07:28:01 +0000 (07:28 +0000)
HLT/ITS/tracking/AliHLTITSTrack.cxx

index f760fc9..4be217d 100644 (file)
@@ -98,6 +98,8 @@ AliHLTITSTrack::AliHLTITSTrack(AliESDtrack& t,Bool_t c) throw (const Char_t *) :
   // Conversion ESD track -> ITS track.
   // If c==kTRUE, create the ITS track out of the constrained params.
   //------------------------------------------------------------------
+  for(Int_t i=0; i<2*AliITSgeomTGeo::kNLayers; i++) {fIndex[i]=-1; }
+
   const AliExternalTrackParam *par=&t;
   if (c) {
     par=t.GetConstrainedParam();