![]() |
AliRoot Core
da88d91 (da88d91)
|
A pad row composed of the pad row segments. More...
#include <AliMpPadRow.h>
Public Member Functions | |
AliMpPadRow (AliMp::XDirection direction) | |
AliMpPadRow () | |
virtual | ~AliMpPadRow () |
AliMpVPadRowSegment * | AddPadRowSegment (AliMpMotif *motif, Int_t motifPositionId, Int_t nofPads) |
AliMpVPadRowSegment * | FindPadRowSegment (Double_t x) const |
Double_t | HalfSizeY () const |
void | SetID (Int_t id) |
void | SetOffsetX (Double_t offsetX) |
Int_t | GetID () const |
Int_t | GetNofPadRowSegments () const |
AliMpVPadRowSegment * | GetPadRowSegment (Int_t i) const |
Int_t | GetNofPads () const |
Private Member Functions | |
Double_t | CurrentBorderX () const |
Private Attributes | |
AliMp::XDirection | fDirection |
the pad row x direction More... | |
Int_t | fID |
the pad row ID More... | |
Double_t | fOffsetX |
the x position of the border More... | |
TObjArray | fSegments |
the pad row segments More... | |
A pad row composed of the pad row segments.
Definition at line 25 of file AliMpPadRow.h.
AliMpPadRow::AliMpPadRow | ( | AliMp::XDirection | direction | ) |
Standard constructor
Definition at line 42 of file AliMpPadRow.cxx.
AliMpPadRow::AliMpPadRow | ( | ) |
Default constructor
Definition at line 53 of file AliMpPadRow.cxx.
|
virtual |
Destructor
Definition at line 64 of file AliMpPadRow.cxx.
AliMpVPadRowSegment * AliMpPadRow::AddPadRowSegment | ( | AliMpMotif * | motif, |
Int_t | motifPositionId, | ||
Int_t | nofPads | ||
) |
Add a pad row segment.
Definition at line 97 of file AliMpPadRow.cxx.
Referenced by AliMpSectorReader::ReadRowSegmentSpecialData().
|
private |
Return the left/right x border (depending on the direction which the row segments are filled in).
Definition at line 77 of file AliMpPadRow.cxx.
Referenced by AddPadRowSegment().
AliMpVPadRowSegment * AliMpPadRow::FindPadRowSegment | ( | Double_t | x | ) | const |
Find the row segment for the specified x position; return 0 if no row segment is found.
Definition at line 123 of file AliMpPadRow.cxx.
Referenced by AliMpVRowSegmentSpecial::FindMotif(), and AliMpVRowSegmentSpecial::FindMotifPositionId().
Int_t AliMpPadRow::GetID | ( | ) | const |
Return the pad row ID.
Definition at line 162 of file AliMpPadRow.cxx.
Referenced by AliMpRowSegmentLSpecial::MotifCenterSlow(), AliMpRowSegmentRSpecial::MotifCenterSlow(), and AliMpRowSegmentRSpecial::SetIndicesToMotifPosition().
Int_t AliMpPadRow::GetNofPadRowSegments | ( | ) | const |
Return the number of pad row segments.
Definition at line 170 of file AliMpPadRow.cxx.
Referenced by CurrentBorderX(), AliMpRowSegmentRSpecial::FindMostLeftPadRowSegment(), AliMpRowSegmentLSpecial::FindMostRightPadRowSegment(), FindPadRowSegment(), AliMpVRowSegmentSpecial::FindPadRowSegment(), AliMpVRowSegmentSpecial::FindRelativeLowIndicesOf(), AliMpVRowSegmentSpecial::GetDimensionX(), GetNofPads(), GetPadRowSegment(), AliMpRowSegmentLSpecial::LeftBorderX(), AliMpRowSegmentRSpecial::RightBorderX(), AliMpVRowSegmentSpecial::UpdateMotifVector(), and ~AliMpPadRow().
Int_t AliMpPadRow::GetNofPads | ( | ) | const |
Return the number of pads in this pad row.
Definition at line 191 of file AliMpPadRow.cxx.
Referenced by AliMpVRowSegmentSpecial::MaxNofPadsInRow().
AliMpVPadRowSegment * AliMpPadRow::GetPadRowSegment | ( | Int_t | i | ) | const |
Return the pad row segment with the specified number.
Definition at line 178 of file AliMpPadRow.cxx.
Referenced by CurrentBorderX(), AliMpRowSegmentRSpecial::FindMostLeftPadRowSegment(), AliMpRowSegmentLSpecial::FindMostRightPadRowSegment(), FindPadRowSegment(), AliMpVRowSegmentSpecial::FindPadRowSegment(), AliMpVRowSegmentSpecial::FindRelativeLowIndicesOf(), AliMpVRowSegmentSpecial::GetDimensionX(), GetNofPads(), HalfSizeY(), AliMpRowSegmentLSpecial::LeftBorderX(), AliMpRowSegmentRSpecial::LeftBorderX(), AliMpRowSegmentLSpecial::RightBorderX(), AliMpRowSegmentRSpecial::RightBorderX(), AliMpRowSegmentRSpecial::SetIndicesToMotifPosition(), and AliMpVRowSegmentSpecial::UpdateMotifVector().
Double_t AliMpPadRow::HalfSizeY | ( | ) | const |
Return the half size in y
Definition at line 138 of file AliMpPadRow.cxx.
Referenced by AliMpVRowSegmentSpecial::FindPadRow(), AliMpVRowSegmentSpecial::GetDimensionY(), AliMpVRowSegmentSpecial::HalfSizeY(), AliMpRowSegmentLSpecial::MotifCenterSlow(), and AliMpRowSegmentRSpecial::MotifCenterSlow().
void AliMpPadRow::SetID | ( | Int_t | id | ) |
Set the ID.
Definition at line 146 of file AliMpPadRow.cxx.
Referenced by AliMpVRowSegmentSpecial::AddPadRow().
void AliMpPadRow::SetOffsetX | ( | Double_t | offsetX | ) |
Set the x offset.
Definition at line 154 of file AliMpPadRow.cxx.
Referenced by AliMpVRowSegmentSpecial::AddPadRow().
|
private |
the pad row x direction
Definition at line 54 of file AliMpPadRow.h.
Referenced by AddPadRowSegment(), and CurrentBorderX().
|
private |
|
private |
the x position of the border
Definition at line 56 of file AliMpPadRow.h.
Referenced by CurrentBorderX(), and SetOffsetX().
|
private |
the pad row segments
Definition at line 57 of file AliMpPadRow.h.
Referenced by AddPadRowSegment(), GetNofPadRowSegments(), GetPadRowSegment(), and ~AliMpPadRow().