* 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();
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