ROOT logo
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

// $Id$
// $MpId: AliMpSubZone.h,v 1.11 2006/05/24 13:58:21 ivana Exp $

/// \ingroup sector
/// \class AliMpSubZone
/// \brief A region in zone composed of the row segments with the same 
/// motif type.
///
/// \author David Guez, Ivana Hrivnacova; IPN Orsay

#ifndef ALI_MP_SUB_ZONE_H
#define ALI_MP_SUB_ZONE_H

#include <TObject.h>
#include <TList.h>

class AliMpVMotif;
class AliMpVRowSegment;

class AliMpSubZone : public TObject
{
  public:
    AliMpSubZone(AliMpVMotif* motif);
    AliMpSubZone();
    virtual ~AliMpSubZone();
  
    // methods
    void AddRowSegment(AliMpVRowSegment* rowSegment);
    virtual void Print(const char* /*option*/ = 0) const;

    // access methods
    Int_t              GetNofRowSegments() const;
    AliMpVRowSegment*  GetRowSegment(Int_t i) const;
    AliMpVMotif*       GetMotif() const;

  private:
    /// Not implemented
    AliMpSubZone(const AliMpSubZone& right);
    /// Not implemented
    AliMpSubZone&  operator = (const AliMpSubZone& right);

    // data members
    AliMpVMotif*     fMotif;   ///< the motif in this subzone
    TList fSegments;///< contained row segments
    
  ClassDef(AliMpSubZone,1)  // Zone segment
};

#endif //ALI_MP_SUB_ZONE_H
 AliMpSubZone.h:1
 AliMpSubZone.h:2
 AliMpSubZone.h:3
 AliMpSubZone.h:4
 AliMpSubZone.h:5
 AliMpSubZone.h:6
 AliMpSubZone.h:7
 AliMpSubZone.h:8
 AliMpSubZone.h:9
 AliMpSubZone.h:10
 AliMpSubZone.h:11
 AliMpSubZone.h:12
 AliMpSubZone.h:13
 AliMpSubZone.h:14
 AliMpSubZone.h:15
 AliMpSubZone.h:16
 AliMpSubZone.h:17
 AliMpSubZone.h:18
 AliMpSubZone.h:19
 AliMpSubZone.h:20
 AliMpSubZone.h:21
 AliMpSubZone.h:22
 AliMpSubZone.h:23
 AliMpSubZone.h:24
 AliMpSubZone.h:25
 AliMpSubZone.h:26
 AliMpSubZone.h:27
 AliMpSubZone.h:28
 AliMpSubZone.h:29
 AliMpSubZone.h:30
 AliMpSubZone.h:31
 AliMpSubZone.h:32
 AliMpSubZone.h:33
 AliMpSubZone.h:34
 AliMpSubZone.h:35
 AliMpSubZone.h:36
 AliMpSubZone.h:37
 AliMpSubZone.h:38
 AliMpSubZone.h:39
 AliMpSubZone.h:40
 AliMpSubZone.h:41
 AliMpSubZone.h:42
 AliMpSubZone.h:43
 AliMpSubZone.h:44
 AliMpSubZone.h:45
 AliMpSubZone.h:46
 AliMpSubZone.h:47
 AliMpSubZone.h:48
 AliMpSubZone.h:49
 AliMpSubZone.h:50
 AliMpSubZone.h:51
 AliMpSubZone.h:52