]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpSubZone.h
From Cvetan: new macro to load ITS clusters.
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpSubZone.h
index 37fa6a69b4aee686dae83fee3f8fe70d39dfbb5c..53ea5ca8a9edda58feac0320b8bce25942022ddd 100755 (executable)
@@ -2,27 +2,45 @@
  * See cxx source for full Copyright notice                               */
 
 // $Id$
-// $MpId: AliMpSubZone.h,v 1.7 2005/08/26 15:43:36 ivana Exp $
+// $MpId: AliMpSubZone.h,v 1.11 2006/05/24 13:58:21 ivana Exp $
 
 /// \ingroup sector
 /// \class AliMpSubZone
 /// \brief A region in zone composed of the row segments with the same 
 /// motif type.
 ///
-/// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
+/// \author David Guez, Ivana Hrivnacova; IPN Orsay
 
 #ifndef ALI_MP_SUB_ZONE_H
 #define ALI_MP_SUB_ZONE_H
 
 #include <TObject.h>
 
-#include "AliMpSectorTypes.h"
+#include "AliMpContainers.h"
+
+#ifdef WITH_ROOT
+#include <TList.h>
+#endif
+
+#ifdef WITH_STL
+#include <vector>
+#endif
 
 class AliMpVMotif;
 class AliMpVRowSegment;
 
 class AliMpSubZone : public TObject
 {
+  public:
+#ifdef WITH_STL
+    /// Row segment vector type
+    typedef std::vector<AliMpVRowSegment*>  RowSegmentVector;
+#endif
+#ifdef WITH_ROOT
+    /// Row segment vector type
+    typedef TList  RowSegmentVector;
+#endif
+
   public:
     AliMpSubZone(AliMpVMotif* motif);
     AliMpSubZone();
@@ -37,16 +55,17 @@ class AliMpSubZone : public TObject
     AliMpVRowSegment*  GetRowSegment(Int_t i) const;
     AliMpVMotif*       GetMotif() const;
 
-  protected:
+  private:
+    /// Not implemented
     AliMpSubZone(const AliMpSubZone& right);
+    /// Not implemented
     AliMpSubZone&  operator = (const AliMpSubZone& right);
 
-  private:
     // data members
-    AliMpVMotif*     fMotif;   // the motif in this subzone
-    RowSegmentVector fSegments;// contained row segments
+    AliMpVMotif*     fMotif;   ///< the motif in this subzone
+    RowSegmentVector fSegments;///< contained row segments
     
-  ClassDef(AliMpSubZone,1)  //Zone segment
+  ClassDef(AliMpSubZone,1)  // Zone segment
 };
 
 #endif //ALI_MP_SUB_ZONE_H