]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/mapping/AliMpSubZone.h
AliMpReader splitted into AliMpMotifReader and AliMpSectorReader
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpSubZone.h
CommitLineData
5f91c9e8 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
18class AliMpVMotif;
19class AliMpVRowSegment;
20
21class AliMpSubZone : public TObject
22{
23 public:
24 AliMpSubZone(AliMpVMotif* motif);
25 AliMpSubZone();
26 virtual ~AliMpSubZone();
27
28 // methods
29 void AddRowSegment(AliMpVRowSegment* rowSegment);
2998a151 30 virtual void Print(const char* /*option*/ = 0) const;
5f91c9e8 31
32 // access methods
33 Int_t GetNofRowSegments() const;
34 AliMpVRowSegment* GetRowSegment(Int_t i) const;
35 AliMpVMotif* GetMotif() const;
36
fb1bf5c0 37 protected:
38 AliMpSubZone(const AliMpSubZone& right);
39 AliMpSubZone& operator = (const AliMpSubZone& right);
40
5f91c9e8 41 private:
5f91c9e8 42 // data members
2998a151 43 AliMpVMotif* fMotif; // the motif in this subzone
44 RowSegmentVector fSegments;// contained row segments
5f91c9e8 45
46 ClassDef(AliMpSubZone,1) //Zone segment
47};
48
49#endif //ALI_MP_SUB_ZONE_H