//we must have information about sector!
//rotate to given sector
Double_t xyzmaster[3] = {xyz[0],xyz[1],xyz[2]};
- Double_t xyzlocal[3];
+ Double_t xyzlocal[3]={0,0,0};
if (index[1]>=0 && index[1]<fNSector)
fGlobalMatrix[index[1]]->MasterToLocal(xyzmaster,xyzlocal);
xyz[0] = xyzlocal[0];
xyz[1]=y1;
xyz[2]=fZLength-xyz[2];
if (index[1]<fNInnerSector)
- if ( index[1]>=(fNInnerSector>>1)) xyz[2]*=-1.;
+ {if ( index[1]>=(fNInnerSector>>1)) xyz[2]*=-1.;}
else
- if ( (index[1]-fNInnerSector) >= (fNOuterSector>>1) ) xyz[2]*=-1;
+ {if ( (index[1]-fNInnerSector) >= (fNOuterSector>>1) ) xyz[2]*=-1;}
index[0]=1;
}