4 // Class AliMpVPadRowSegment
5 // --------------------
6 // The abstract base class for a pad row segment composed of the
9 // Authors: David Guez, Ivana Hrivnacova; IPN Orsay
13 #include "AliMpVPadRowSegment.h"
14 #include "AliMpPadRow.h"
15 #include "AliMpMotif.h"
16 #include "AliMpMotifType.h"
18 ClassImp(AliMpVPadRowSegment)
20 //_____________________________________________________________________________
21 AliMpVPadRowSegment::AliMpVPadRowSegment(AliMpPadRow* padRow, AliMpMotif* motif,
22 Int_t motifPositionId, Int_t nofPads)
28 fMotifPositionId(motifPositionId)
33 //_____________________________________________________________________________
34 AliMpVPadRowSegment::AliMpVPadRowSegment()
45 //_____________________________________________________________________________
46 AliMpVPadRowSegment::~AliMpVPadRowSegment() {
54 //_____________________________________________________________________________
55 Double_t AliMpVPadRowSegment::HalfSizeY() const
57 // Returns the size in y of this row segment.
60 return fMotif->GetPadDimensions().Y();
63 //_____________________________________________________________________________
64 AliMpPadRow* AliMpVPadRowSegment::GetPadRow() const
66 // Returns the pad row.which this pad row segment belongs to.
72 //_____________________________________________________________________________
73 AliMpMotif* AliMpVPadRowSegment::GetMotif() const
75 // Returns the motif of this pad row segment.
81 //_____________________________________________________________________________
82 Int_t AliMpVPadRowSegment::GetMotifPositionId() const
84 // Returns the motif of this pad row segment.
87 return fMotifPositionId;
90 //_____________________________________________________________________________
91 void AliMpVPadRowSegment::SetOffsetX(Double_t offsetX)