Access function to material id and absorber composition added.
[u/mrichter/AliRoot.git] / STRUCT / AliABSO.h
... / ...
CommitLineData
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
15class 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 void DrawModule();
26 virtual Int_t GetMatId(Int_t imat);
27 virtual Int_t NumberOfLayers(Int_t i) {return fNLayers[i];}
28 virtual Float_t ZPositionOfLayer(Int_t i, Int_t il) {return fZLayers[i][il];}
29 virtual Int_t MaterialOfLayer (Int_t i, Int_t il) {return fMLayers[i][il];}
30 protected:
31 Int_t fNLayers[2]; // Number of Material Layers in the tracking Region
32 Float_t fZLayers[2][15]; // z-position of layers
33 Int_t fMLayers[2][15]; // Material type of layers
34 ClassDef(AliABSO,1) // Muon Absorber Class
35};
36
37#endif