]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITStrackerV2.cxx
Example macro for the creation of tags (P.Christakoglou)
[u/mrichter/AliRoot.git] / ITS / AliITStrackerV2.cxx
index 1f0c09f73a287b0aafe121368913fceacb1b82ce..44375b53cebf6210327cb5fd76b82764065a9b1c 100644 (file)
@@ -1065,8 +1065,8 @@ void AliITStrackerV2::UseClusters(const AliKalmanTrack *t, Int_t from) const {
   AliTracker::UseClusters(t,from);
 
   AliITSclusterV2 *c=(AliITSclusterV2 *)GetCluster(t->GetClusterIndex(0));
-  if (c->GetSigmaZ2()>0.1) c->UnUse();
+  if (c && c->GetSigmaZ2()>0.1) c->UnUse();
   c=(AliITSclusterV2 *)GetCluster(t->GetClusterIndex(1));
-  if (c->GetSigmaZ2()>0.1) c->UnUse();
+  if (c && c->GetSigmaZ2()>0.1) c->UnUse();
 
 }