- virtual void GetDetID(Float_t *pos,Int_t *det);
- virtual Int_t GetPlate(Float_t *pos);
- virtual Int_t GetStrip(Float_t *pos);
- virtual Int_t GetSector(Float_t *pos);
- virtual Int_t GetPadX(Float_t *pos);
- virtual Int_t GetPadZ(Float_t *pos);
- virtual Float_t GetX(Int_t *det);
- virtual Float_t GetY(Int_t *det);
- virtual Float_t GetZ(Int_t *det);
- virtual Float_t GetMinPlateTheta(Int_t iPlate);
- virtual Float_t GetMaxPlateTheta(Int_t iPlate);
- virtual Float_t GetMinStripTheta(Int_t iPlate, Int_t iStrip);
- virtual Float_t GetMaxStripTheta(Int_t iPlate, Int_t iStrip);
- virtual Float_t GetStripTheta(Int_t iPlate, Int_t iStrip);
- virtual Float_t GetAngles(Int_t iplate, Int_t istrip) const {return fAngles[iplate][istrip];};
- virtual Float_t GetHeights(Int_t iplate, Int_t istrip) const {return fHeights[iplate][istrip];};
+ virtual void GetPosPar(Int_t *det,Float_t *pos) const;
+ virtual void GetDetID(Float_t *pos,Int_t *det) const;
+ virtual Int_t GetPlate(Float_t *pos) const;
+ virtual Int_t GetStrip(Float_t *pos) const;
+ virtual Int_t GetSector(Float_t *pos) const;
+ virtual Int_t GetPadX(Float_t *pos) const;
+ virtual Int_t GetPadZ(Float_t *pos) const;
+ virtual Float_t GetX(Int_t *det) const ;
+ virtual Float_t GetY(Int_t *det) const ;
+ virtual Float_t GetZ(Int_t *det) const ;
+ virtual void DetToStripRF(Int_t nPadX, Int_t nPadZ,
+ Float_t &x, Float_t &z) const;
+ virtual void DetToSectorRF(Int_t vol[5], Double_t ** coord);
+ virtual Float_t GetPadDx(Float_t *pos);
+ virtual Float_t GetPadDy(Float_t *pos);
+ virtual Float_t GetPadDz(Float_t *pos);
+ virtual void Translation(Float_t *xyz, Float_t translationVector[3]) const;
+ virtual void Rotation(Float_t *xyz, Double_t rotationAngles[6]) const;
+ virtual void InverseRotation(Float_t *xyz, Double_t rotationAngles[6]) const;
+
+ static Float_t GetAngles(Int_t iplate, Int_t istrip) {return fgkAngles[iplate][istrip];};
+ static Float_t GetHeights(Int_t iplate, Int_t istrip) {return fgkHeights[iplate][istrip];};
+ static Float_t GetDistances(Int_t iplate, Int_t istrip) {return fgkDistances[iplate][istrip];};
+
+ static Int_t GetIndex(Int_t *detId); // Get channel index from det Id (for calibration mainly)
+ static void GetVolumeIndices(Int_t index, Int_t *detId); // Get volume index from channel index
+
+ UShort_t GetAliSensVolIndex(Int_t sec, Int_t pla, Int_t str) const; // Get the index of the TOF alignable volume in the AliGeomManager order
+ static Int_t GetStripNumber(Int_t isector, Int_t iplate, Int_t istrip); // Get the serial number of the TOF alignable volume, i.e. the TOF strip
+ static Int_t GetStripNumberPerSM(Int_t iplate, Int_t istrip); // Get the serial number of the TOF strip in a TOF SM
+ void PadRF2TrackingRF(Float_t *ctrackPos, Float_t *differenceT);
+