1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 // $MpId: AliMpZone.h,v 1.7 2005/09/26 16:12:11 ivana Exp $
9 /// \brief A region of pads of the same dimensions composed of subzones.
11 /// The zone contains pads of the same dimensions,
12 /// it is composed of the subzones.
14 /// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
19 #include "AliMpContainers.h"
26 #include <TObjArray.h>
35 class AliMpZone : public TObject
39 typedef std::vector<AliMpSubZone*> SubZoneVector;
42 typedef TObjArray SubZoneVector;
51 void AddSubZone(AliMpSubZone* subZone);
54 AliMpSubZone* FindSubZone(AliMpVMotif* motif) const;
57 void SetPadDimensions(const TVector2& padDimensions);
61 Int_t GetNofSubZones() const;
62 AliMpSubZone* GetSubZone(Int_t i) const;
63 TVector2 GetPadDimensions() const;
68 SubZoneVector fSubZones; // subzones
69 TVector2 fPadDimensions;// pad dimensions
71 ClassDef(AliMpZone,1) //Zone
76 inline void AliMpZone::SetPadDimensions(const TVector2& padDimensions)
77 { fPadDimensions = padDimensions; }
79 inline UInt_t AliMpZone::GetID() const
82 inline TVector2 AliMpZone::GetPadDimensions() const
83 { return fPadDimensions;}
85 #endif //ALI_MP_ZONE_H