6 // Class describing a pad row composed of the pad row segments.
8 // Authors: David Guez, Ivana Hrivnacova; IPN Orsay
10 #ifndef ALI_MP_PAD_ROW_H
11 #define ALI_MP_PAD_ROW_H
15 #include "AliMpSectorTypes.h"
16 #include "AliMpXDirection.h"
18 class AliMpVPadRowSegment;
21 class AliMpPadRow : public TObject
24 AliMpPadRow(AliMpXDirection direction);
26 virtual ~AliMpPadRow();
29 AliMpVPadRowSegment* AddPadRowSegment(AliMpMotif* motif,
30 Int_t motifPositionId,
32 AliMpVPadRowSegment* FindPadRowSegment(Double_t x) const;
33 Double_t HalfSizeY() const;
37 void SetOffsetX(Double_t offsetX);
41 Int_t GetNofPadRowSegments() const;
42 AliMpVPadRowSegment* GetPadRowSegment(Int_t i) const;
43 Int_t GetNofPads() const;
47 Double_t CurrentBorderX() const;
50 AliMpXDirection fDirection;//the pad row x direction
51 Int_t fID; //the pad row ID
52 Double_t fOffsetX; //the x position of the border
53 PadRowSegmentVector fSegments; //the pad row segments
55 ClassDef(AliMpPadRow,1) //Pad row
58 #endif //ALI_MP_PAD_ROW_H