]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpSubZone.h
From Laurent
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpSubZone.h
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.7 2005/08/26 15:43:36 ivana Exp $
6
7 /// \ingroup sector
8 /// \class AliMpSubZone
9 /// \brief A region in zone composed of the row segments with the same 
10 /// motif type.
11 ///
12 /// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
13
14 #ifndef ALI_MP_SUB_ZONE_H
15 #define ALI_MP_SUB_ZONE_H
16
17 #include <TObject.h>
18
19 #include "AliMpSectorTypes.h"
20
21 class AliMpVMotif;
22 class AliMpVRowSegment;
23
24 class AliMpSubZone : public TObject
25 {
26   public:
27     AliMpSubZone(AliMpVMotif* motif);
28     AliMpSubZone();
29     virtual ~AliMpSubZone();
30   
31     // methods
32     void AddRowSegment(AliMpVRowSegment* rowSegment);
33     virtual void Print(const char* /*option*/ = 0) const;
34
35     // access methods
36     Int_t              GetNofRowSegments() const;
37     AliMpVRowSegment*  GetRowSegment(Int_t i) const;
38     AliMpVMotif*       GetMotif() const;
39
40   protected:
41     AliMpSubZone(const AliMpSubZone& right);
42     AliMpSubZone&  operator = (const AliMpSubZone& right);
43
44   private:
45     // data members
46     AliMpVMotif*     fMotif;   // the motif in this subzone
47     RowSegmentVector fSegments;// contained row segments
48     
49   ClassDef(AliMpSubZone,1)  //Zone segment
50 };
51
52 #endif //ALI_MP_SUB_ZONE_H