]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpDEManager.h
Option for customized binning (as in AliUEHist), EventMixing binning now derived...
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpDEManager.h
index 4953c91e4b74b24bc3353b8ad679768fd9b01fe2..5d31330fa18e833edaf93e21e89deaacf0af686b 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,15 +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 AliMpIntPair GetDetElemIdRange(Int_t chamberId);
+    static Int_t     GetNofDEInChamber(Int_t chamberId, Bool_t warn = true);
+    static MpPair_t  GetDetElemIdRange(Int_t chamberId);
 
   private:
     /// Not implemented
@@ -61,10 +64,12 @@ class AliMpDEManager : public  TObject {
     AliMpDEManager(const AliMpDEManager& rhs);
     /// Not implemented
     AliMpDEManager& operator=(const AliMpDEManager& rhs);
+
+    // static methods
+    static  TArrayI&  GetNofDEPerChamber();
       
     // static data members     
-    static const Int_t   fgkCoefficient; ///< Coefficient used in DE Id <-> station
-    static    TArrayI fgNofDEPerChamber; ///< Number of detElemId per chamber
+    static const Int_t  fgkCoefficient; ///< Coefficient used in DE Id <-> station
 
   ClassDef(AliMpDEManager,0)  // The manager class for definition of detection element types
 };