]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - MUON/mapping/AliMpSubZone.h
Updated/added comments for Doxygen
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpSubZone.h
... / ...
CommitLineData
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
19#include "AliMpContainers.h"
20
21#ifdef WITH_ROOT
22#include <TList.h>
23#endif
24
25#ifdef WITH_STL
26#include <vector>
27#endif
28
29class AliMpVMotif;
30class AliMpVRowSegment;
31
32class AliMpSubZone : public TObject
33{
34 public:
35#ifdef WITH_STL
36 /// Row segment vector type
37 typedef std::vector<AliMpVRowSegment*> RowSegmentVector;
38#endif
39#ifdef WITH_ROOT
40 /// Row segment vector type
41 typedef TList RowSegmentVector;
42#endif
43
44 public:
45 AliMpSubZone(AliMpVMotif* motif);
46 AliMpSubZone();
47 virtual ~AliMpSubZone();
48
49 // methods
50 void AddRowSegment(AliMpVRowSegment* rowSegment);
51 virtual void Print(const char* /*option*/ = 0) const;
52
53 // access methods
54 Int_t GetNofRowSegments() const;
55 AliMpVRowSegment* GetRowSegment(Int_t i) const;
56 AliMpVMotif* GetMotif() const;
57
58 private:
59 /// Not implemented
60 AliMpSubZone(const AliMpSubZone& right);
61 /// Not implemented
62 AliMpSubZone& operator = (const AliMpSubZone& right);
63
64 // data members
65 AliMpVMotif* fMotif; ///< the motif in this subzone
66 RowSegmentVector fSegments;///< contained row segments
67
68 ClassDef(AliMpSubZone,1) // Zone segment
69};
70
71#endif //ALI_MP_SUB_ZONE_H