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
20 #include <TObjArray.h>
25 class AliMpZone : public TObject
33 void AddSubZone(AliMpSubZone* subZone);
36 AliMpSubZone* FindSubZone(AliMpVMotif* motif) const;
39 void SetPadDimensions(Double_t dx, Double_t dy);
43 Int_t GetNofSubZones() const;
44 AliMpSubZone* GetSubZone(Int_t i) const;
46 Double_t GetPadDimensionX() const;
47 Double_t GetPadDimensionY() const;
52 TObjArray fSubZones; ///< subzones
53 Double_t fPadDimensionX;///< pad x dimension
54 Double_t fPadDimensionY;///< pad y dimension
56 ClassDef(AliMpZone,2) // Zone
62 inline UInt_t AliMpZone::GetID() const
65 /// Return pad x dimensions
66 inline Double_t AliMpZone::GetPadDimensionX() const
67 { return fPadDimensionX; }
69 /// Return pad y dimensions
70 inline Double_t AliMpZone::GetPadDimensionY() const
71 { return fPadDimensionY; }
73 #endif //ALI_MP_ZONE_H