]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpRow.h
New class - the factory for building mapping segmentations
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpRow.h
index b83b2569d9cb31ee9acc64a01b2bb0f91a0d4932..dc9bc623f52c5bd7d4965327df3b4ec32bcd0df6 100755 (executable)
@@ -1,18 +1,30 @@
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
 // $Id$
-// Category: sector
-//
-// Class AliMpRow
-// --------------
-// Class describing a row composed of the row segments.
-//
-// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
+// $MpId: AliMpRow.h,v 1.8 2005/09/26 16:12:11 ivana Exp $
+
+/// \ingroup sector
+/// \class AliMpRow
+/// \brief A row composed of the row segments.
+///
+/// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
 
 #ifndef ALI_MP_ROW_H
 #define ALI_MP_ROW_H
 
+#include "AliMpContainers.h"
+
+#ifdef WITH_STL
+#include <vector>
+#endif
+
+#ifdef WITH_ROOT
+#include <TList.h>
+#endif
+
 #include <TVector2.h>
 
-#include "AliMpSectorTypes.h"
 #include "AliMpVIndexed.h"
 #include "AliMpDirection.h"
 
@@ -23,6 +35,14 @@ class AliMpMotifMap;
 
 class AliMpRow : public AliMpVIndexed
 {
+  public:
+#ifdef WITH_STL
+    typedef std::vector<AliMpVRowSegment*>  RowSegmentVector;
+#endif
+#ifdef WITH_ROOT
+    typedef TList  RowSegmentVector;
+#endif
+
   public:
     AliMpRow(Int_t id, AliMpMotifMap* motifMap);
     AliMpRow();
@@ -52,6 +72,10 @@ class AliMpRow : public AliMpVIndexed
     AliMpVRowSegment*  GetRowSegment(Int_t i) const;
     AliMpMotifMap*     GetMotifMap() const;
 
+  protected:
+    AliMpRow(const AliMpRow& right);
+    AliMpRow&  operator = (const AliMpRow& right);
+
   private:
     // methods
     AliMpVRowSegment*    FindRowSegment(Int_t ix) const;