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.6 2005/08/26 15:43:36 ivana Exp $
9 /// \brief A pad row composed of the pad row segments.
11 /// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
13 #ifndef ALI_MP_PAD_ROW_H
14 #define ALI_MP_PAD_ROW_H
18 #include "AliMpSectorTypes.h"
19 #include "AliMpXDirection.h"
21 class AliMpVPadRowSegment;
24 class AliMpPadRow : public TObject
27 AliMpPadRow(AliMpXDirection direction);
29 virtual ~AliMpPadRow();
32 AliMpVPadRowSegment* AddPadRowSegment(AliMpMotif* motif,
33 Int_t motifPositionId,
35 AliMpVPadRowSegment* FindPadRowSegment(Double_t x) const;
36 Double_t HalfSizeY() const;
40 void SetOffsetX(Double_t offsetX);
44 Int_t GetNofPadRowSegments() const;
45 AliMpVPadRowSegment* GetPadRowSegment(Int_t i) const;
46 Int_t GetNofPads() const;
50 Double_t CurrentBorderX() const;
53 AliMpXDirection fDirection;//the pad row x direction
54 Int_t fID; //the pad row ID
55 Double_t fOffsetX; //the x position of the border
56 PadRowSegmentVector fSegments; //the pad row segments
58 ClassDef(AliMpPadRow,1) //Pad row
61 #endif //ALI_MP_PAD_ROW_H