- Bool_t IsInsideThePad(Int_t *det, Float_t *pos);
- Float_t DistanceToPad(Int_t *det, Float_t *pos, Float_t *dist3d=0);
- Int_t GetPlate(Float_t *pos);
- Int_t GetStrip(Float_t *pos);
- Int_t GetSector(Float_t *pos);
- Int_t GetPadX(Float_t *pos);
- Int_t GetPadZ(Float_t *pos);
- Float_t GetX(Int_t *det);
- Float_t GetY(Int_t *det);
- Float_t GetZ(Int_t *det);
- Float_t GetMinPlateTheta(Int_t iPlate);
- Float_t GetMaxPlateTheta(Int_t iPlate);
- Float_t GetMinStripTheta(Int_t iPlate, Int_t iStrip);
- Float_t GetMaxStripTheta(Int_t iPlate, Int_t iStrip);
- Float_t GetStripTheta(Int_t iPlate, Int_t iStrip);
-
- Float_t NStirpC() { return kNStripC;};
- Int_t NPadXSector() { return (AliTOFGeometry::kNStripA + 2*AliTOFGeometry::kNStripB +
+ Bool_t IsInsideThePad(Int_t *det, TGeoHMatrix mat, Float_t *pos) const ;
+ Float_t DistanceToPad(Int_t *det, TGeoHMatrix mat, Float_t *pos, Float_t *dist3d=0) const ;
+ Bool_t IsInsideThePadPar(Int_t *det, Float_t *pos) const ;
+ Float_t DistanceToPadPar(Int_t *det, Float_t *pos, Float_t *dist3d=0) const ;
+ void GetVolumePath(Int_t *ind, Char_t *path );
+ void GetVolumePath(Int_t sector, Char_t *path );
+ void GetVolumePath(Int_t sector, Int_t plate, Int_t strip, Char_t *path );
+ Int_t GetPlate(Float_t *pos) const ;
+ Int_t GetStrip(Float_t *pos) const ;
+ Int_t GetSector(Float_t *pos) const ;
+ Int_t GetPadX(Float_t *pos) const ;
+ Int_t GetPadZ(Float_t *pos) const ;
+ void GetPos(Int_t *det,Float_t *pos);
+ Float_t GetX(Int_t *det) const ;
+ Float_t GetY(Int_t *det) const ;
+ Float_t GetZ(Int_t *det) const ;
+ Float_t GetMinPlateTheta(Int_t iPlate) const;
+ Float_t GetMaxPlateTheta(Int_t iPlate) const;
+ Float_t GetMinStripTheta(Int_t iPlate, Int_t iStrip) const;
+ Float_t GetMaxStripTheta(Int_t iPlate, Int_t iStrip) const;
+ Float_t GetStripTheta(Int_t iPlate, Int_t iStrip) const;
+
+ Int_t NStripC() const { return kNStripC;};
+ Int_t NPadXSector() const { return (AliTOFGeometry::kNStripA + 2*AliTOFGeometry::kNStripB +