]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMD3.cxx
Put LOGY in the histograms DrawOptions - so that AMORE will show these
[u/mrichter/AliRoot.git] / FMD / AliFMD3.cxx
index 32cf2fcd51cb106f6d5188188c5ae8dfd14cf0a6..8d2a3901ffe74fb99087fa32c9a73cc71214f018 100644 (file)
@@ -46,7 +46,8 @@ ClassImp(AliFMD3)
 //____________________________________________________________________
 AliFMD3::AliFMD3(AliFMDRing* inner, AliFMDRing* outer) 
   : AliFMDDetector(3, inner, outer),
-    fNoseZ(16.54667),    // From drawing
+    // fNoseZ(16.54667)
+    fNoseZ(18.13 - inner->GetModuleDepth()-inner->GetModuleSpacing()/2),    // From drawing
     fFlangeDepth(0),
     fFlangeHighR(49.25), // From drawing 
     fFlangeLength(0),
@@ -65,7 +66,7 @@ AliFMD3::AliFMD3(AliFMDRing* inner, AliFMDRing* outer)
     fFiducialHoles(4)
 {
   // Constructor. 
-  Double_t off = -0.25;
+  Double_t off = 0; // -0.39615-0.10185; // -0.25;
   if (off != 0) 
     AliWarning(Form("Z position of FMD3 rings may be off by %fcm!", off));
 
@@ -111,8 +112,8 @@ AliFMD3::Init()
   fConeInnerAngle  = TMath::ATan2(v4.Z()-v1.Z(), v4.X()-v1.X());
   fConeOuterAngle  = TMath::ATan2(v3.Y()-v2.Y(), v3.X()-v2.X());
   
-  Double_t    hz1  = -fHoleOffset+fInnerZ+fNoseZ;
 #if 0
+  Double_t    hz1  = -fHoleOffset+fInnerZ+fNoseZ;
   fHoleLength      = TMath::Sqrt(TMath::Power(v4.Z()-ConeR(hz1),2) + 
                                 TMath::Power(v4.X()-fHoleOffset,2));  
 #endif