]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpSubZone.h
Code for MUON Station1 (I.Hrivnacova)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpSubZone.h
1 // $Id$
2 // Category: sector
3 //
4 // Class AliMpSubZone
5 // ------------------
6 // Class describing a zone segment composed of the 
7 // line segments with the same motif type.
8 //
9 // Authors: David Guez, Ivana Hrivnacova; IPN Orsay
10
11 #ifndef ALI_MP_SUB_ZONE_H
12 #define ALI_MP_SUB_ZONE_H
13
14 #include <TObject.h>
15
16 #include "AliMpSectorTypes.h"
17
18 class AliMpVMotif;
19 class AliMpVRowSegment;
20
21 class AliMpSubZone : public TObject
22 {
23   public:
24     AliMpSubZone(AliMpVMotif* motif);
25     AliMpSubZone();
26     virtual ~AliMpSubZone();
27   
28     // methods
29     void AddRowSegment(AliMpVRowSegment* rowSegment);
30     void Print() const;
31
32     // access methods
33     Int_t              GetNofRowSegments() const;
34     AliMpVRowSegment*  GetRowSegment(Int_t i) const;
35     AliMpVMotif*       GetMotif() const;
36
37   private:
38     // unused derrived functions
39     virtual void Print(const char* option) const {}
40
41     // data members
42     AliMpVMotif*  fMotif;
43     RowSegmentVector fSegments;
44     
45   ClassDef(AliMpSubZone,1)  //Zone segment
46 };
47
48 #endif //ALI_MP_SUB_ZONE_H