- fPrimary = primary ;
-}
-//____________________________________________________________________________
-Float_t AliPHOSHit::X() const
-{
- // if(fX < -1000.){
- TVector3 pos ;
- AliPHOS * phos = static_cast<AliPHOS*> (gAlice->GetDetector("PHOS")) ;
- phos->GetGeometry() ->RelPosInAlice(GetId(), pos) ;
- return pos.X() ;
- // fX = pos.X() ;
- // fY = pos.Y() ;
- // fZ = pos.Z() ;
- // }
- // return fX;
-}
-//____________________________________________________________________________
-Float_t AliPHOSHit::Y() const
-{
- // if(fY < -1000.){
- TVector3 pos ;
- AliPHOS * phos = static_cast<AliPHOS*> (gAlice->GetDetector("PHOS")) ;
- phos->GetGeometry() ->RelPosInAlice(GetId(), pos) ;
- return pos.Y();
- // fX = pos.X() ;
- // fY = pos.Y() ;
- // fZ = pos.Z() ;
- // }
- // return fY;
-}
-//____________________________________________________________________________
-Float_t AliPHOSHit::Z() const
-{
- // if(fY < -1000.){
- TVector3 pos ;
- AliPHOS * phos = static_cast<AliPHOS*> (gAlice->GetDetector("PHOS")) ;
- phos->GetGeometry() ->RelPosInAlice(GetId(), pos) ;
- return pos.Z() ;
- // fX = pos.X() ;
- // fY = pos.Y() ;
- // fZ = pos.Z() ;
- // }
- // return fZ;