-Float_t AliITShit::GetXL(){
-////////////////////////////////////////////////////////////////////////
-// Returns the x position of this hit in the local coordinates of this
-// module, and in the units of the Monte Carlo.
-////////////////////////////////////////////////////////////////////////
- AliITSgeom *gm = ((AliITS*)gAlice->GetDetector("ITS"))->GetITSgeom();
- Float_t g[3],l[3];
-
- g[0] = fX;
- g[1] = fY;
- g[2] = fZ;
- if(gm) {
- gm->GtoL(fLayer,fLadder,fDet,g,l);
- return l[0];
- } else {
- Error("AliITShit","NULL pointer to the geometry! return smth else",gm);
- return fX;
- }
-}
-//______________________________________________________________________
-Float_t AliITShit::GetYL(){
-////////////////////////////////////////////////////////////////////////
-// Returns the y position of this hit in the local coordinates of this
-// module, and in the units of the Monte Carlo.
-////////////////////////////////////////////////////////////////////////
- AliITSgeom *gm = ((AliITS*)gAlice->GetDetector("ITS"))->GetITSgeom();
- Float_t g[3],l[3];
-
- g[0] = fX;
- g[1] = fY;
- g[2] = fZ;
- if (gm) {
- gm->GtoL(fLayer,fLadder,fDet,g,l);
- return l[1];
- } else {
- Error("AliITShit","NULL pointer to the geometry! return smth else",gm);
- return fZ;
- }
-}
-//______________________________________________________________________
-Float_t AliITShit::GetZL(){
-////////////////////////////////////////////////////////////////////////
-// Returns the z position of this hit in the local coordinates of this
-// module, and in the units of the Monte Carlo.
-////////////////////////////////////////////////////////////////////////
- AliITSgeom *gm = ((AliITS*)gAlice->GetDetector("ITS"))->GetITSgeom();
- Float_t g[3],l[3];
-
- g[0] = fX;
- g[1] = fY;
- g[2] = fZ;
- if(gm) {
- gm->GtoL(fLayer,fLadder,fDet,g,l);
- return l[2];
- } else {
- Error("AliITShit","NULL pointer to the geometry! return smth else",gm);
- return fY;
- }
-}
-//______________________________________________________________________