| 1 | #ifndef ALIABSO_H |
| 2 | #define ALIABSO_H |
| 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
| 4 | * See cxx source for full Copyright notice */ |
| 5 | |
| 6 | /* $Id$ */ |
| 7 | |
| 8 | //////////////////////////////////////////////// |
| 9 | // Manager class for detector: ABSO // |
| 10 | //////////////////////////////////////////////// |
| 11 | |
| 12 | #include "AliModule.h" |
| 13 | |
| 14 | |
| 15 | class AliABSO : public AliModule { |
| 16 | |
| 17 | public: |
| 18 | AliABSO(); |
| 19 | AliABSO(const char *name, const char *title); |
| 20 | virtual ~AliABSO() {} |
| 21 | virtual void CreateGeometry(); |
| 22 | virtual void CreateMaterials(); |
| 23 | virtual void Init(); |
| 24 | virtual Int_t IsVersion() const {return 0;} |
| 25 | virtual Int_t GetMatId(Int_t imat) const; |
| 26 | virtual Int_t NumberOfLayers(Int_t i) const {return fNLayers[i];} |
| 27 | virtual Float_t ZPositionOfLayer(Int_t i, Int_t il) const |
| 28 | {return fZLayers[i][il];} |
| 29 | virtual Int_t MaterialOfLayer (Int_t i, Int_t il) const |
| 30 | {return fMLayers[i][il];} |
| 31 | protected: |
| 32 | Int_t fNLayers[2]; // Number of Material Layers in the tracking Region |
| 33 | Float_t fZLayers[2][15]; // z-position of layers |
| 34 | Int_t fMLayers[2][15]; // Material type of layers |
| 35 | ClassDef(AliABSO,1) // Muon Absorber Class |
| 36 | }; |
| 37 | |
| 38 | #endif |