// is done in the ITS only. In the standard reconstruction chain this option
// can be set via AliReconstruction::SetOption("ITS","onlyITS")
Int_t rc=0;
+
if(!fITSStandAlone){
rc=AliITStrackerMI::Clusters2Tracks(event);
}
}
if(!rc){
rc=FindTracks(event,kFALSE);
- if(AliITSReconstructor::GetRecoParam()->GetSAUseAllClusters()==kTRUE) {
+ Int_t nSPDcontr=0;
+ const AliESDVertex *spdv = event->GetPrimaryVertexSPD();
+ if(spdv) nSPDcontr = spdv->GetNContributors();
+ if(AliITSReconstructor::GetRecoParam()->GetSAUseAllClusters()==kTRUE &&
+ nSPDcontr<=AliITSReconstructor::GetRecoParam()->GetMaxSPDcontrForSAToUseAllClusters()) {
rc=FindTracks(event,kTRUE);
}
}
-
return rc;
}