1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
7 /// \class AliMUONGeometryDEIndexing
8 /// \brief Conversion between the detection element Id and the array index
10 /// The class that provides static methods for conversions
11 /// between the module & detection element Id
12 /// and the index in the array.
13 /// Used in storing DE transformations and segmentations.
14 /// The detection elements numbering:
15 /// DetElemId = chamberId*100 + detElemNum
16 /// where chamberId = 1, 2, ..., 14
17 /// detElemNum = 0, 1, ...
19 /// Author: Ivana Hrivnacova, IPN Orsay
21 #ifndef ALI_MUON_GEOMETRY_DE_INDEXING_H
22 #define ALI_MUON_GEOMETRY_DE_INDEXING_H
24 class AliMUONGeometryDEIndexing
28 static Int_t GetModuleId(Int_t detElemId);
29 static Int_t GetDEIndex(Int_t detElemId);
30 static Int_t GetDEId(Int_t moduleId, Int_t detElemIndex);
33 AliMUONGeometryDEIndexing() {}
34 ~AliMUONGeometryDEIndexing() {}
37 static const Int_t fgkSeparator;
40 #endif //ALI_MUON_GEOMETRY_DE_INDEXING_H