#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.
+// This has two rings.
+class AliFMD2 : public AliFMDDetector
{
-public:
- AliFMD2();
- virtual ~AliFMD2();
- virtual void SetupGeometry(Int_t airId, Int_t kaptionId);
- 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