]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Additional protection
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 29 Feb 2008 21:31:21 +0000 (21:31 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 29 Feb 2008 21:31:21 +0000 (21:31 +0000)
STEER/AliTracker.cxx

index 12115cbd2948c5510c23a4b0738a1663545703fb..f9bbbb708516d6721d887279799babeb516b8af6 100644 (file)
@@ -101,6 +101,7 @@ void AliTracker::CookLabel(AliKalmanTrack *t, Float_t wrong) const {
   //This function "cooks" a track label. If label<0, this track is fake.
   //--------------------------------------------------------------------
   Int_t noc=t->GetNumberOfClusters();
+  if (noc<1) return;
   Int_t *lb=new Int_t[noc];
   Int_t *mx=new Int_t[noc];
   AliCluster **clusters=new AliCluster*[noc];