+ TGeoHMatrix m; AliITSgeomTGeo::GetOrigMatrix(layer,ladder,detector,m);
+ const TGeoHMatrix *tm=AliITSgeomTGeo::GetTracking2LocalMatrix(layer,ladder,detector);
+ m.Multiply(tm);
+ Double_t txyz[3]={0.}, xyz[3]={0.};
+ m.LocalToMaster(txyz,xyz);
+ Double_t sAlpha=TMath::ATan2(xyz[1],xyz[0]);
+
+ if (sAlpha<0) sAlpha+=TMath::TwoPi();
+ else if (sAlpha>=TMath::TwoPi()) sAlpha-=TMath::TwoPi();
+
+ Double_t sX=TMath::Sqrt(xyz[0]*xyz[0] + xyz[1]*xyz[1]);
+
+ Init(sAlpha,sX,Ycoor,Zcoor,phi,tanlambda,curv,lab);