]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpMotifReader.h
Adding CreateIterator(void) and GetNeighbours() pure virtual methods,
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpMotifReader.h
index ed8ed7b27560b48ddb6e2f0e696ce35cb9fa4657..5e80049d650bb2f1e570b8b62be195fe218f38c3 100644 (file)
@@ -2,38 +2,37 @@
  * See cxx source for full Copyright notice                               */
 
 // $Id$
-// $MpId: AliMpMotifReader.h,v 1.5 2005/09/26 16:10:46 ivana Exp $
+// $MpId: AliMpMotifReader.h,v 1.9 2006/05/24 13:58:18 ivana Exp $
 
 /// \ingroup motif
 /// \class AliMpMotifReader
 /// \brief Class that takes care of reading the motifs data.
 ///
-/// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
+/// \author David Guez, Ivana Hrivnacova; IPN Orsay
 
 #ifndef ALI_MP_MOTIF_READER_H
 #define ALI_MP_MOTIF_READER_H
 
+#include <TObject.h>
+
 #include "AliMpContainers.h"
 
-#ifdef WITH_STL
-#include <map>
-#endif    
+#include "AliMpStationType.h"
+#include "AliMpPlaneType.h"
+#include "AliMpIntPair.h"
+#include "AliMpContainers.h"
 
 #ifdef WITH_ROOT
 #include <TExMap.h>
 #endif    
-
-#include <fstream>
-
-#include <TObject.h>
 #include <TString.h>
 #include <TVector2.h>
 #include <Riostream.h>
 
-#include "AliMpStationType.h"
-#include "AliMpPlaneType.h"
-#include "AliMpIntPair.h"
-#include "AliMpContainers.h"
+#include <fstream>
+#ifdef WITH_STL
+#include <map>
+#endif    
 
 class AliMpMotifMap;
 class AliMpVMotif;
@@ -52,7 +51,7 @@ class AliMpMotifReader : public TObject
 #endif    
 
   public:
-    AliMpMotifReader(AliMpStationType station, AliMpPlaneType plane);
+    AliMpMotifReader(AliMp::StationType station, AliMp::PlaneType plane);
     AliMpMotifReader();
     virtual ~AliMpMotifReader();
   
@@ -61,19 +60,15 @@ class AliMpMotifReader : public TObject
     AliMpMotifSpecial*  BuildMotifSpecial(const TString& motifID,
                                           AliMpMotifType* motifType,
                                           Double_t scale=1.0);
-
-    // set methods
-    void SetVerboseLevel(Int_t verboseLevel); 
+    TString MotifSpecialName(const TString& motifID, Double_t scale);
     
-  protected:
+  private:
     AliMpMotifReader(const AliMpMotifReader& right);
     AliMpMotifReader&  operator = (const AliMpMotifReader& right);
 
-  private:
     // data members  
-    AliMpStationType  fStationType; // station type 
-    AliMpPlaneType    fPlaneType;   // plane type 
-    Int_t             fVerboseLevel;// verbose level
+    AliMp::StationType  fStationType; ///< station type 
+    AliMp::PlaneType    fPlaneType;   ///< plane type 
 
   ClassDef(AliMpMotifReader,1)  // Data reader
 };