1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
7 /// \class AliMUONVGeometryDEIndexing
8 /// \brief Base class for definition of detection elements indexing
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.
14 /// Author: Ivana Hrivnacova, IPN Orsay
16 #ifndef ALI_MUON_V_GEOMETRY_DE_INDEXING_H
17 #define ALI_MUON_V_GEOMETRY_DE_INDEXING_H
21 class AliMUONVGeometryDEIndexing;
23 class AliMUONVGeometryDEIndexing : public TObject
26 AliMUONVGeometryDEIndexing();
27 virtual ~AliMUONVGeometryDEIndexing();
30 static Int_t GetModuleId(Int_t detElemId);
33 virtual Int_t GetDetElementIndex(Int_t detElemId) const = 0;
34 virtual Int_t GetDetElementId(Int_t detElemIndex) const = 0;
36 virtual Int_t GetNofDetElements() const = 0;
37 virtual void SetNofDetElements(Int_t nofDetElements) = 0;
39 ClassDef(AliMUONVGeometryDEIndexing, 1) // MUON transformations store
42 #endif //ALI_MUON_DE_INDEXING_H