]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpSt345Reader.h
Main changes:
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpSt345Reader.h
index fd659ce67f84b452ae33adafd68e0f6a56cedd8e..3123cd16a876bd2d039af9675937c0c685652a3e 100644 (file)
 #  include "AliMpPlaneType.h"
 #endif
 
+class AliMpSlatMotifMap;
 class AliMpSlat;
 class AliMpPCB;
-class TObjString;
 
 class AliMpSt345Reader : public TObject
 {
  public:
-  AliMpSt345Reader();
+  AliMpSt345Reader(AliMpSlatMotifMap&);
   virtual ~AliMpSt345Reader();
 
-  static AliMpSlat* ReadSlat(const char* slatType, AliMpPlaneType planeType);
+  AliMpSlat* ReadSlat(const char* slatType, AliMp::PlaneType planeType);
 
-  static AliMpPCB* ReadPCB(const char* pcbType);
+  AliMpPCB* ReadPCB(const char* pcbType);
 
- private:
-
-       static AliMpPCB* PCB(const char* pcbType); 
-
-  static TMap fgPCBMap; ///< map of TObjString to AliMpPCB*
-
-  ClassDef(AliMpSt345Reader,1) // Reader for slat stations mapping files 
+private:
+    AliMpSlatMotifMap& fMotifMap; //!< storage for motifTypes and motifs...
+  
+  ClassDef(AliMpSt345Reader,0) // Reader for slat stations mapping files 
 };
 
 #endif