]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMD1.cxx
During simulation: fill STU region w/ non null time sums
[u/mrichter/AliRoot.git] / FMD / AliFMD1.cxx
index 91f3e77eae64ccfdc86d104d13553f6e78fc7651..cbe4e2e586cb703b1c3f9edbb4c7aa6ace983aa8 100644 (file)
 //                                                                          
 // 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 <AliLog.h>
 // #include "AliFMDRing.h"             // ALIFMDRING_H 
 
 
@@ -41,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);
+}
 
 //____________________________________________________________________
 //