]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMD1.cxx
Update the mult corr histograms
[u/mrichter/AliRoot.git] / FMD / AliFMD1.cxx
index 98e2040b60f9e21d8daf298336882a476e264eae..cbe4e2e586cb703b1c3f9edbb4c7aa6ace983aa8 100644 (file)
  * about the suitability of this software for any purpose. It is          *
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
-
 /* $Id$ */
-
+/** @file    AliFMD1.cxx
+    @author  Christian Holm Christensen <cholm@nbi.dk>
+    @date    Sun Mar 26 18:00:23 2006
+    @brief   Implementation of FMD1 parameters 
+*/
 //____________________________________________________________________
 //                                                                          
 // Concrete implementation of AliFMDDetector 
 //
-// This implements the geometry for FMD1 
+// This implements the geometry for FMD1 
 // FMD1 has only one ring, of type `inner'.  
 // It is sitting at z=320.
-// It is the FMD ring with highest eta
+// It is the FMD ring with highest eta.  
+// FMD1 currently has no support defined. 
 //
 #include "AliFMD1.h"           // ALIFMD1_H 
-#include "AliFMDRing.h"                // ALIFMDRING_H 
+#include <AliLog.h>
+// #include "AliFMDRing.h"             // ALIFMDRING_H 
 
 
 //====================================================================
@@ -38,9 +43,23 @@ ClassImp(AliFMD1)
 AliFMD1::AliFMD1(AliFMDRing* inner) 
   : AliFMDDetector(1, inner, 0)
 {
-  SetInnerZ(320);
+  // Subtracting 0.25 cm puts the middle plane of the detector at 320
+  // cm
+  Double_t off = 0; // -0.25
+  if (off != 0) 
+    AliWarning(Form("FMD1 is off by %fcm", off));
+  SetInnerZ(321.5 + off);
+      
 }
 
+//____________________________________________________________________
+void
+AliFMD1::Init() 
+{
+  // Initialize 
+  AliFMDDetector::Init();
+  SetInnerHoneyHighR(22.3716);
+}
 
 //____________________________________________________________________
 //