//--------------------------------------------------------------------
for (Int_t i=0; i<kNsector; i++) fN[i]=0;
- for (Int_t i=0; i<AliITSRecoParam::fgkMaxClusterPerLayer; i++)fIndex[i]=0;
+ for (Int_t i=0; i<AliITSRecoParam::fgkMaxClusterPerLayer; i++){
+ fClusters[i]=0;
+ fIndex[i]=0;
+ }
}
AliITStrackerV2::AliITSlayer::
for (Int_t i=0; i<kNsector; i++) fN[i]=0;
- for (Int_t i=0; i<AliITSRecoParam::fgkMaxClusterPerLayer; i++) fClusters[i]=0;
- for (Int_t i=0; i<AliITSRecoParam::fgkMaxClusterPerLayer; i++)fIndex[i]=0;
+ for (Int_t i=0; i<AliITSRecoParam::fgkMaxClusterPerLayer; i++){
+ fClusters[i]=0;
+ fIndex[i]=0;
+ }
}
AliITStrackerV2::AliITSlayer::~AliITSlayer() {
Int_t iLay = i-step;
Double_t rs = 0.;
if(iLay<0 || iLay>= AliITSgeomTGeo::kNLayers){
- rs=0.5*(fgLayers[i-step].GetR() + r);
- }
- else{
AliError(Form("Invalid layer %d ",iLay));
return kFALSE;
}
+ else{
+ rs=0.5*(fgLayers[i-step].GetR() + r);
+ }
Double_t d=0.0034, x0=38.6;
if (TMath::Abs(hI-1.5)<0.01) {rs=9.; d=0.0097; x0=42;}
if (!t->PropagateTo(rs,-step*d,x0)) {