]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMD2.h
Migrated to a geometry implemented via AliFMDGeometry (derives from
[u/mrichter/AliRoot.git] / FMD / AliFMD2.h
index 54dcc937f36a5c4d1ffb72865f699faf13edfda6..b0a0711a302ee8bb07aac77020248d97a77b981f 100644 (file)
@@ -4,22 +4,21 @@
 #ifndef ALIFMD2_H
 #define ALIFMD2_H
 
-#ifndef ALIFMDSUBDETECTOR_H
-# include "AliFMDSubDetector.h"
+#ifndef ALIFMDDETECTOR_H
+# include "AliFMDDetector.h"
 #endif
 
-class AliFMD2 : public AliFMDSubDetector 
+/** Geometry description and parameters of the FMD2
+    detector. 
+*/
+class AliFMD2 : public AliFMDDetector 
 {
-public:
-  AliFMD2();
-  virtual ~AliFMD2();
-  virtual void   SetupGeometry(Int_t airId, Int_t alId, Int_t cId=0);  
-  virtual void   Geometry(const char* mother, Int_t pbRotId, 
-                         Int_t idRotId, Double_t z=0);
-protected:
-  Int_t    fVolumeId;  // Volume ID       
-  Double_t fDz;               // Half-length in Z
-  ClassDef(AliFMD2,1); // Geometry of FMD2
+protected: 
+public: 
+  AliFMD2(AliFMDRing* inner, AliFMDRing* outer);
+  /** Initialize the geometry */
+  virtual void Init();
+  ClassDef(AliFMD2, 1);
 };
 
 #endif