AliRoot Core  3dc7879 (3dc7879)
AliMpSubZone.h
Go to the documentation of this file.
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice */
3 
4 // $Id$
5 // $MpId: AliMpSubZone.h,v 1.11 2006/05/24 13:58:21 ivana Exp $
6 
13 
14 #ifndef ALI_MP_SUB_ZONE_H
15 #define ALI_MP_SUB_ZONE_H
16 
17 #include <TObject.h>
18 #include <TList.h>
19 
20 class AliMpVMotif;
21 class AliMpVRowSegment;
22 
23 class AliMpSubZone : public TObject
24 {
25  public:
26  AliMpSubZone(AliMpVMotif* motif);
27  AliMpSubZone();
28  virtual ~AliMpSubZone();
29 
30  // methods
31  void AddRowSegment(AliMpVRowSegment* rowSegment);
32  virtual void Print(const char* /*option*/ = 0) const;
33 
34  // access methods
35  Int_t GetNofRowSegments() const;
36  AliMpVRowSegment* GetRowSegment(Int_t i) const;
37  AliMpVMotif* GetMotif() const;
38 
39  private:
41  AliMpSubZone(const AliMpSubZone& right);
43  AliMpSubZone& operator = (const AliMpSubZone& right);
44 
45  // data members
47  TList fSegments;
48 
49  ClassDef(AliMpSubZone,1) // Zone segment
50 };
51 
52 #endif //ALI_MP_SUB_ZONE_H
AliMpVMotif * GetMotif() const
Int_t GetNofRowSegments() const
An interface for a row segment.
virtual ~AliMpSubZone()
virtual void Print(const char *=0) const
TList fSegments
contained row segments
Definition: AliMpSubZone.h:47
Abstract base class for a motif with its unique ID and the motif type.
Definition: AliMpVMotif.h:24
void AddRowSegment(AliMpVRowSegment *rowSegment)
AliMpSubZone & operator=(const AliMpSubZone &right)
Not implemented.
AliMpVMotif * fMotif
the motif in this subzone
Definition: AliMpSubZone.h:46
AliMpVRowSegment * GetRowSegment(Int_t i) const
A region in zone composed of the row segments with the same motif type.
Definition: AliMpSubZone.h:23