![]() |
AliRoot Core
3abf5b4 (3abf5b4)
|
A motif with its unique ID and the motif type. More...
#include <AliMpMotif.h>
Public Member Functions | |
AliMpMotif (const TString &id, AliMpMotifType *motifType, Double_t dx, Double_t dy) | |
AliMpMotif () | |
virtual | ~AliMpMotif () |
virtual Int_t | GetNofPadDimensions () const |
Return 1 as the number of pad dimensions. More... | |
virtual Double_t | GetPadDimensionX (Int_t=0) const |
Return the pad x dimension. More... | |
virtual Double_t | GetPadDimensionY (Int_t=0) const |
Return the pad y dimension. More... | |
virtual void | GetPadDimensionsByIndices (MpPair_t localIndices, Double_t &dx, Double_t &dy) const |
Return the dimensions of the pad specified by localIndices. More... | |
virtual void | GetPadDimensionsByIndices (Int_t ixLocal, Int_t iyLocal, Double_t &dx, Double_t &dy) const |
Return the dimensions of the pad specified by localIndices. More... | |
virtual Double_t | DimensionX () const |
Return x dimensions. More... | |
virtual Double_t | DimensionY () const |
Return y dimensions. More... | |
virtual void | PadPositionLocal (MpPair_t localIndices, Double_t &posx, Double_t &posy) const |
Fill local position of the pad specified by local indices. More... | |
virtual void | PadPositionLocal (Int_t ixLocal, Int_t iyLocal, Double_t &posx, Double_t &posy) const |
Fill local position of the pad specified by local indices. More... | |
virtual MpPair_t | PadIndicesLocal (Double_t localPosX, Double_t localPosY) const |
Return local indices of the pad specified by local position. More... | |
![]() | |
AliMpVMotif (const TString &id, AliMpMotifType *motifType) | |
AliMpVMotif () | |
virtual | ~AliMpVMotif () |
AliMpMotifType * | GetMotifType () const |
Return the motif type. More... | |
TString | GetID () const |
Return the motif identifier. More... | |
AliMpConnection * | FindConnectionByLocalPos (Double_t localPosX, Double_t localPosY) const |
virtual void | Print (Option_t *option) const |
Private Attributes | |
Double_t | fPadDimensionX |
pad dimensions (halflength x, y size) More... | |
Double_t | fPadDimensionY |
pad dimensions (halflength x, y size) More... | |
A motif with its unique ID and the motif type.
Definition at line 23 of file AliMpMotif.h.
AliMpMotif::AliMpMotif | ( | const TString & | id, |
AliMpMotifType * | motifType, | ||
Double_t | dx, | ||
Double_t | dy | ||
) |
Standard constructor.
The dimension in a given direction is calculated by multiplying the total dimension by the number of pads
Definition at line 49 of file AliMpMotif.cxx.
AliMpMotif::AliMpMotif | ( | ) |
Default constructor
Definition at line 40 of file AliMpMotif.cxx.
|
virtual |
Destructor
Definition at line 61 of file AliMpMotif.cxx.
|
virtual |
Return x dimensions.
Give the x dimension of the motif
Implements AliMpVMotif.
Definition at line 94 of file AliMpMotif.cxx.
Referenced by AliMpRowSegmentLSpecial::MotifCenterSlow(), AliMpRowSegmentRSpecial::MotifCenterSlow(), PadIndicesLocal(), and PadPositionLocal().
|
virtual |
Return y dimensions.
Give the y dimension of the motif
Implements AliMpVMotif.
Definition at line 102 of file AliMpMotif.cxx.
Referenced by AliMpRowSegmentLSpecial::MotifCenterSlow(), AliMpRowSegmentRSpecial::MotifCenterSlow(), PadIndicesLocal(), and PadPositionLocal().
|
inlinevirtual |
Return 1 as the number of pad dimensions.
Implements AliMpVMotif.
Definition at line 68 of file AliMpMotif.h.
|
virtual |
Return the dimensions of the pad specified by localIndices.
Give the dimension of the specified pad in the motif
Implements AliMpVMotif.
Definition at line 68 of file AliMpMotif.cxx.
Referenced by GetPadDimensionsByIndices().
|
virtual |
Return the dimensions of the pad specified by localIndices.
Give the dimension of the specified pad in the motif
Implements AliMpVMotif.
Definition at line 85 of file AliMpMotif.cxx.
|
inlinevirtual |
Return the pad x dimension.
Implements AliMpVMotif.
Definition at line 72 of file AliMpMotif.h.
Referenced by AliMpPadRowLSegment::FirstPadCenterX(), AliMpPadRowRSegment::FirstPadCenterX(), AliMpPadRowRSegment::LastPadBorderX(), AliMpPadRowLSegment::LastPadBorderX(), AliMpPadRowLSegment::LastPadCenterX(), and AliMpPadRowRSegment::LastPadCenterX().
|
inlinevirtual |
Return the pad y dimension.
Implements AliMpVMotif.
Definition at line 76 of file AliMpMotif.h.
Referenced by AliMpVPadRowSegment::HalfSizeY().
|
virtual |
Return local indices of the pad specified by local position.
Return the pad indices from a given local position or (-1,-1) if this position doesn't correspond to any valid connection
Implements AliMpVMotif.
Definition at line 133 of file AliMpMotif.cxx.
|
virtual |
Fill local position of the pad specified by local indices.
Give the local position of the pad number (ix,iy) (0,0 is the center of the motif)
Implements AliMpVMotif.
Definition at line 110 of file AliMpMotif.cxx.
|
virtual |
Fill local position of the pad specified by local indices.
Give the local position of the pad number (ix,iy) (0,0 is the center of the motif)
Implements AliMpVMotif.
Definition at line 122 of file AliMpMotif.cxx.
|
private |
pad dimensions (halflength x, y size)
Definition at line 59 of file AliMpMotif.h.
Referenced by DimensionX(), GetPadDimensionsByIndices(), GetPadDimensionX(), PadIndicesLocal(), and PadPositionLocal().
|
private |
pad dimensions (halflength x, y size)
Definition at line 60 of file AliMpMotif.h.
Referenced by DimensionY(), GetPadDimensionsByIndices(), GetPadDimensionY(), PadIndicesLocal(), and PadPositionLocal().