]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpDEManager.h
Fix warning passing float to int (Javier)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpDEManager.h
index a5d79c3c8e5a58cc7e6c716f1f588c86428072d4..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;
 
 class AliMpDEManager : public  TObject {
 
@@ -43,16 +46,23 @@ 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 Int_t GetNofDEInChamber(Int_t chamberId, 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 MpPair_t  GetDetElemIdRange(Int_t chamberId);
 
   private:
+    /// Not implemented
     AliMpDEManager();
+    /// Not implemented
     AliMpDEManager(const AliMpDEManager& rhs);
+    /// Not implemented
     AliMpDEManager& operator=(const AliMpDEManager& rhs);
       
     // static data members