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.10 2006/05/24 13:58:21 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 /// \author David Guez, Ivana Hrivnacova; IPN Orsay
21 #include <TObjArray.h>
26 class AliMpZone : public TObject
34 void AddSubZone(AliMpSubZone* subZone);
37 AliMpSubZone* FindSubZone(AliMpVMotif* motif) const;
40 void SetPadDimensions(const TVector2& padDimensions);
44 Int_t GetNofSubZones() const;
45 AliMpSubZone* GetSubZone(Int_t i) const;
46 TVector2 GetPadDimensions() const;
51 TObjArray fSubZones; ///< subzones
52 TVector2 fPadDimensions;///< pad dimensions
54 ClassDef(AliMpZone,1) // Zone
59 /// Set pad dimensions
60 inline void AliMpZone::SetPadDimensions(const TVector2& padDimensions)
61 { fPadDimensions = padDimensions; }
64 inline UInt_t AliMpZone::GetID() const
67 /// Return pad dimensions
68 inline TVector2 AliMpZone::GetPadDimensions() const
69 { return fPadDimensions;}
71 #endif //ALI_MP_ZONE_H