1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 // $MpId: AliMpSubZone.h,v 1.11 2006/05/24 13:58:21 ivana Exp $
8 /// \class AliMpSubZone
9 /// \brief A region in zone composed of the row segments with the same
12 /// \author David Guez, Ivana Hrivnacova; IPN Orsay
14 #ifndef ALI_MP_SUB_ZONE_H
15 #define ALI_MP_SUB_ZONE_H
19 #include "AliMpContainers.h"
30 class AliMpVRowSegment;
32 class AliMpSubZone : public TObject
36 /// Row segment vector type
37 typedef std::vector<AliMpVRowSegment*> RowSegmentVector;
40 /// Row segment vector type
41 typedef TList RowSegmentVector;
45 AliMpSubZone(AliMpVMotif* motif);
47 virtual ~AliMpSubZone();
50 void AddRowSegment(AliMpVRowSegment* rowSegment);
51 virtual void Print(const char* /*option*/ = 0) const;
54 Int_t GetNofRowSegments() const;
55 AliMpVRowSegment* GetRowSegment(Int_t i) const;
56 AliMpVMotif* GetMotif() const;
60 AliMpSubZone(const AliMpSubZone& right);
62 AliMpSubZone& operator = (const AliMpSubZone& right);
65 AliMpVMotif* fMotif; ///< the motif in this subzone
66 RowSegmentVector fSegments;///< contained row segments
68 ClassDef(AliMpSubZone,1) // Zone segment
71 #endif //ALI_MP_SUB_ZONE_H