]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFGeometryV5.h
Small bug fix (which should have no influence online)
[u/mrichter/AliRoot.git] / TOF / AliTOFGeometryV5.h
index 844b83fc758facc30512399e518ac770250a6d7d..565bc9a7d7ee147c1295a31d8360c9c28e3510b3 100644 (file)
@@ -1,16 +1,15 @@
 #ifndef ALITOFGEOMETRYV5_H
 #define ALITOFGEOMETRYV5_H
+
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
-
 ///////////////////////////////////////////////////////////////////////////////
 //                                                                           //
 //  TOF geometry class (new version)                                         //
 //                                                                           //
 ///////////////////////////////////////////////////////////////////////////////
 
-
 #include "AliTOFGeometry.h"
 
 class AliTOFGeometryV5: public AliTOFGeometry {
@@ -21,11 +20,12 @@ class AliTOFGeometryV5: public AliTOFGeometry {
    
   void    ImportGeometry();
   void    Init();
-  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  IsInsideThePad(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;
@@ -56,6 +56,8 @@ class AliTOFGeometryV5: public AliTOFGeometry {
   void Rotation(Float_t *xyz, Double_t rotationAngles[6]) const;
   void InverseRotation(Float_t *xyz, Double_t rotationAngles[6]) const;
 
+  void DetToSectorRF(Int_t vol[5], Double_t **coord);
+
   protected:
 
   enum {