]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONVGeometryDEIndexing.h
Splitting Draw option in cluaster finder AZ (Sacha)
[u/mrichter/AliRoot.git] / MUON / AliMUONVGeometryDEIndexing.h
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice                               */
3
4 // $Id$
5
6 /// \ingroup geometry
7 /// \class AliMUONVGeometryDEIndexing
8 /// \brief Base class for definition of detection elements indexing 
9 /// 
10 /// The abstract singleton base class for definition of
11 /// the conversion between the detection element Ids and 
12 /// the indexing in a simple array.
13 ///
14 /// Author: Ivana Hrivnacova, IPN Orsay
15
16 #ifndef ALI_MUON_V_GEOMETRY_DE_INDEXING_H
17 #define ALI_MUON_V_GEOMETRY_DE_INDEXING_H
18
19 #include <TObject.h>
20
21 class AliMUONVGeometryDEIndexing;
22
23 class AliMUONVGeometryDEIndexing : public TObject
24 {
25   public:
26     AliMUONVGeometryDEIndexing();
27     virtual ~AliMUONVGeometryDEIndexing();
28
29     // static method
30     static  Int_t GetModuleId(Int_t detElemId);
31             
32     // methods
33     virtual Int_t GetDetElementIndex(Int_t detElemId) const = 0;
34     virtual Int_t GetDetElementId(Int_t detElemIndex) const = 0;
35
36     virtual Int_t GetNofDetElements() const = 0;
37     virtual void  SetNofDetElements(Int_t  nofDetElements) = 0;  
38
39   ClassDef(AliMUONVGeometryDEIndexing, 1) // MUON transformations store
40 };
41
42 #endif //ALI_MUON_DE_INDEXING_H