]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/MUONmapping/AliMpSubZone.h
Fixes for object target dependencies
[u/mrichter/AliRoot.git] / MUON / MUONmapping / 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.11 2006/05/24 13:58:21 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 /// \author 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 #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:
40     /// Not implemented
41     AliMpSubZone(const AliMpSubZone& right);
42     /// Not implemented
43     AliMpSubZone&  operator = (const AliMpSubZone& right);
44
45     // data members
46     AliMpVMotif*     fMotif;   ///< the motif in this subzone
47     TList fSegments;///< contained row segments
48     
49   ClassDef(AliMpSubZone,1)  // Zone segment
50 };
51
52 #endif //ALI_MP_SUB_ZONE_H