]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpDEManager.h
Replacement of AliMpIntPair object with algoritmic
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpDEManager.h
index 51a940ba9e75d9759805f62d50edd278e8f8f212..74afdd57bd81febdd6305c7c2d133fd497e631fa 100644 (file)
 
 #include "AliMpExMap.h"
 #include "AliMpPlaneType.h"
-#include "AliMpStationType.h"
 #include "AliMpCathodType.h"
+#include "AliMpStationType.h"
+#include "AliMpStation12Type.h"
 #include "AliMpDEIterator.h"
+#include "AliMpEncodePair.h"
 
 class AliMpDetElement;
 class TString;
@@ -44,14 +46,16 @@ class AliMpDEManager : public  TObject {
 
     static Int_t   GetChamberId(Int_t detElemId, Bool_t warn = true);    
     static Int_t   GetGeomModuleId(Int_t detElemId, Bool_t warn = true);    
-    static AliMp::PlaneType   GetPlaneType(Int_t detElemId, AliMp::CathodType cath);
-    static AliMp::StationType GetStationType(Int_t detElemId);
-    static AliMp::CathodType  GetCathod(Int_t detElemId, AliMp::PlaneType planeType);
+    static AliMp::PlaneType     GetPlaneType(Int_t detElemId, AliMp::CathodType cath);
+    static AliMp::CathodType    GetCathod(Int_t detElemId, AliMp::PlaneType planeType);
+    static AliMp::StationType   GetStationType(Int_t detElemId);
+    static AliMq::Station12Type GetStation12Type(Int_t detElemId);
 
     static AliMpDetElement* GetDetElement(Int_t detElemId, Bool_t warn = true);
     static AliMpDetElement* GetDetElement(const TString& deName, Bool_t warn = true);
 
-    static Int_t GetNofDEInChamber(Int_t chamberId, Bool_t warn = true);
+    static Int_t     GetNofDEInChamber(Int_t chamberId, Bool_t warn = true);
+    static MpPair_t  GetDetElemIdRange(Int_t chamberId);
 
   private:
     /// Not implemented