]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFGeometryV4.h
Possibility to calculate the DCA between two ESD track. The V0 and cascade vertexes...
[u/mrichter/AliRoot.git] / TOF / AliTOFGeometryV4.h
index 5641e3d7e142399fec4ceb43aae75df74d2b84c0..778177f7dec0647b608eee7f742e26297e214760 100644 (file)
@@ -19,14 +19,19 @@ class AliTOFGeometryV4: public AliTOFGeometry {
   AliTOFGeometryV4();
   virtual ~AliTOFGeometryV4();
   
+  void    ImportGeometry();
   void    Init();
-  Bool_t  IsInsideThePad(Int_t *det, Float_t *pos);
-  Float_t DistanceToPad(Int_t *det, Float_t *pos, Float_t *dist3d=0);
+  Bool_t  IsInsideThePad(Int_t *det, TGeoHMatrix mat, Float_t *pos);
+  Float_t DistanceToPad(Int_t *det, TGeoHMatrix mat, Float_t *pos, Float_t *dist3d=0);
+  Bool_t  IsInsideThePadPar(Int_t *det, Float_t *pos); 
+  Float_t DistanceToPadPar(Int_t *det, Float_t *pos, Float_t *dist3d=0);
+  void    GetVolumePath(Int_t *ind, Char_t *path );
   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);
+  void    GetPos(Int_t *det,Float_t *pos);
   Float_t GetX(Int_t *det);
   Float_t GetY(Int_t *det);
   Float_t GetZ(Int_t *det);
@@ -35,11 +40,8 @@ class AliTOFGeometryV4: public AliTOFGeometry {
   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 GetAngles(Int_t iplate, Int_t istrip)  const {return fAngles[iplate][istrip];};
-  //Float_t GetHeights(Int_t iplate, Int_t istrip) const {return fHeights[iplate][istrip];};
 
   Float_t NStirpC()     { return kNStripC;};
-  Int_t   NMaxNstrip()  { return kMaxNstrip;};
   Int_t   NPadXSector() { return (AliTOFGeometry::kNStripA + 2*AliTOFGeometry::kNStripB +
                                  2*kNStripC)*AliTOFGeometry::kNpadX*AliTOFGeometry::kNpadZ;};
 
@@ -51,7 +53,6 @@ class AliTOFGeometryV4: public AliTOFGeometry {
   Float_t ZlenB()       { return fgkZlenB;};
   Float_t ZlenC()       { return fgkZlenC;};
   Float_t MaxhZtof()    { return fgkMaxhZtof;};
-  Float_t StripLength() { return fgkStripLength;};
 
   static  Float_t DeadBndX()    { return fgkDeadBndX;};
   static  Float_t DeadBndZ()    { return fgkDeadBndZ;};
@@ -62,13 +63,11 @@ class AliTOFGeometryV4: public AliTOFGeometry {
   //private:
 
   static const Int_t kNStripC;         // number of strips in C type module 
-  static const Int_t kMaxNstrip;       // Max. number of strips
 
   static const Float_t fgkZlenA;       // length (cm) of the A module
   static const Float_t fgkZlenB;       // length (cm) of the B module
   static const Float_t fgkZlenC;       // length (cm) of the C module
   static const Float_t fgkMaxhZtof;    // Max half z-size of TOF (cm)
-  static const Float_t fgkStripLength; // Strip Length (rho X phi direction) (cm)
 
   static const Float_t fgkRmin;        // Inner radius of the TOF (cm)
   static const Float_t fgkRmax;        // Outer radius of the TOF (cm)
@@ -82,10 +81,7 @@ class AliTOFGeometryV4: public AliTOFGeometry {
   static const Float_t fgkDprecMax;//num.prec.tolerance on Thma 
   static const Float_t fgkDprecCen;//num.prec.tolerance on <Theta> 
 
-  //Float_t *fAngles[kNPlates]; //Strip Tilt Angles
-  //Float_t *fHeights[kNPlates];//Strip heights
-
-  ClassDef(AliTOFGeometryV4,0) // TOF Geometry class
+  ClassDef(AliTOFGeometryV4,1) // TOF Geometry class
 };
 
 #endif