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 14204a4..e7d881a 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 0116569..41a41d6 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