]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Add a constant with the position of the anode wire place
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 Feb 2009 14:03:46 +0000 (14:03 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 Feb 2009 14:03:46 +0000 (14:03 +0000)
TRD/AliTRDgeometry.cxx
TRD/AliTRDgeometry.h

index 14204a48aafc8ada60ca56b7e673e6a01ec9279b..e7d881a4f96e4ab1a6b68406b065927840453e72 100644 (file)
@@ -80,6 +80,12 @@ ClassImp(AliTRDgeometry)
                                               + AliTRDgeometry::fgkCamH
                                               + AliTRDgeometry::fgkCroH;  
 
+  // Distance of anode wire plane relative to middle of alignable volume
+  const Float_t  AliTRDgeometry::fgkAnodePos  = AliTRDgeometry::fgkCraH 
+                                              + AliTRDgeometry::fgkCdrH 
+                                              + AliTRDgeometry::fgkCamH/2.0
+                                              - 5.929;
+
   // Vertical spacing of the chambers
   const Float_t  AliTRDgeometry::fgkVspace    =   1.784;
   // Horizontal spacing of the chambers
index 0116569bfd1f9e741b229c74f721c95d5ad8c6fe..41a41d67b0a9494ece1132020571f4badc5530f7 100644 (file)
@@ -96,6 +96,9 @@ class AliTRDgeometry : public AliGeometry {
   static  Float_t  CamHght()                                             { return fgkCamH;          }
   static  Float_t  CroHght()                                             { return fgkCroH;          }
   static  Float_t  CroWid()                                              { return fgkCroW;          }
+
+  static  Float_t  AnodePos()                                            { return fgkAnodePos;      }
+
   static  Float_t  MyThick()                                             { return fgkMyThick;       }
   static  Float_t  DrThick()                                             { return fgkDrThick;       }
   static  Float_t  AmThick()                                             { return fgkAmThick;       }
@@ -142,6 +145,8 @@ class AliTRDgeometry : public AliGeometry {
   static const Float_t  fgkCroH;                             //  Height of the readout of the chambers
   static const Float_t  fgkCH;                               //  Total height of the chambers
 
+  static const Float_t  fgkAnodePos;                         //  Distance of anode wire plane relative to alignabl volume
+
   static const Float_t  fgkVspace;                           //  Vertical spacing of the chambers
   static const Float_t  fgkHspace;                           //  Horizontal spacing of the chambers
   static const Float_t  fgkVrocsm;                           //  Radial distance of the first ROC to the outer SM plates
@@ -219,7 +224,7 @@ class AliTRDgeometry : public AliGeometry {
 
   Char_t                fSMstatus[kNsector];                 //  Super module status byte
 
-  ClassDef(AliTRDgeometry,20)                                //  TRD geometry class
+  ClassDef(AliTRDgeometry,21)                                //  TRD geometry class
 
 };
 #endif