1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 // $MpId: AliMpPadRow.h,v 1.10 2006/05/24 13:58:21 ivana Exp $
9 /// \brief A pad row composed of the pad row segments.
11 /// \author David Guez, Ivana Hrivnacova; IPN Orsay
13 #ifndef ALI_MP_PAD_ROW_H
14 #define ALI_MP_PAD_ROW_H
18 #include "AliMpXDirection.h"
20 #include <TObjArray.h>
22 class AliMpVPadRowSegment;
25 class AliMpPadRow : public TObject
28 AliMpPadRow(AliMp::XDirection direction);
30 virtual ~AliMpPadRow();
33 AliMpVPadRowSegment* AddPadRowSegment(AliMpMotif* motif,
34 Int_t motifPositionId,
36 AliMpVPadRowSegment* FindPadRowSegment(Double_t x) const;
37 Double_t HalfSizeY() const;
41 void SetOffsetX(Double_t offsetX);
45 Int_t GetNofPadRowSegments() const;
46 AliMpVPadRowSegment* GetPadRowSegment(Int_t i) const;
47 Int_t GetNofPads() const;
51 Double_t CurrentBorderX() const;
54 AliMp::XDirection fDirection; ///< the pad row x direction
55 Int_t fID; ///< the pad row ID
56 Double_t fOffsetX; ///< the x position of the border
57 TObjArray fSegments; ///< the pad row segments
59 ClassDef(AliMpPadRow,1) // Pad row
62 #endif //ALI_MP_PAD_ROW_H