1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
6 // Class AliMUONVGeometryDEIndexing
7 // --------------------------------
8 // The abstract singleton base class for definition of
9 // the conversion between the detection element Ids and
10 // the indexing in a simple array.
12 // Author: Ivana Hrivnacova, IPN Orsay
14 #ifndef ALI_MUON_V_GEOMETRY_DE_INDEXING_H
15 #define ALI_MUON_V_GEOMETRY_DE_INDEXING_H
19 class AliMUONVGeometryDEIndexing;
21 class AliMUONVGeometryDEIndexing : public TObject
24 AliMUONVGeometryDEIndexing();
25 virtual ~AliMUONVGeometryDEIndexing();
28 static Int_t GetModuleId(Int_t detElemId);
31 virtual Int_t GetDetElementIndex(Int_t detElemId) const = 0;
32 virtual Int_t GetDetElementId(Int_t detElemIndex) const = 0;
34 virtual Int_t GetNofDetElements() const = 0;
35 virtual void SetNofDetElements(Int_t nofDetElements) = 0;
37 ClassDef(AliMUONVGeometryDEIndexing, 1) // MUON transformations store
40 #endif //ALI_MUON_DE_INDEXING_H