![]() |
AliRoot Core
d69033e (d69033e)
|
Abstract base class for a motif with its unique ID and the motif type. More...
#include <AliMpVMotif.h>
Public Member Functions | |
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... | |
virtual Int_t | GetNofPadDimensions () const =0 |
Return the number of pad dimensions. More... | |
virtual Double_t | GetPadDimensionX (Int_t i) const =0 |
Return the i-th pad x dimension. More... | |
virtual Double_t | GetPadDimensionY (Int_t i) const =0 |
Return the i-th pad y dimension. More... | |
virtual void | GetPadDimensionsByIndices (MpPair_t localIndices, Double_t &dx, Double_t &dy) const =0 |
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 =0 |
Return the dimensions of the pad specified by localIndices. More... | |
virtual Double_t | DimensionX () const =0 |
Return x dimensions. More... | |
virtual Double_t | DimensionY () const =0 |
Return y dimensions. More... | |
virtual void | PadPositionLocal (MpPair_t localIndices, Double_t &posx, Double_t &posy) const =0 |
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 =0 |
Fill local position of the pad specified by local indices. More... | |
AliMpConnection * | FindConnectionByLocalPos (Double_t localPosX, Double_t localPosY) const |
virtual MpPair_t | PadIndicesLocal (Double_t localPosX, Double_t localPosY) const =0 |
Return local indices of the pad specified by local position. More... | |
virtual void | Print (Option_t *option) const |
Private Member Functions | |
AliMpVMotif (const AliMpVMotif &right) | |
Not implemented. More... | |
AliMpVMotif & | operator= (const AliMpVMotif &right) |
Not implemented. More... | |
Private Attributes | |
TString | fID |
identifier More... | |
AliMpMotifType * | fMotifType |
the motif type More... | |
Abstract base class for a motif with its unique ID and the motif type.
Definition at line 24 of file AliMpVMotif.h.
AliMpVMotif::AliMpVMotif | ( | const TString & | id, |
AliMpMotifType * | motifType | ||
) |
Standard constructor. The dimension in a given direction is calculated by multiplying the total dimension by the number of pads
Definition at line 54 of file AliMpVMotif.cxx.
AliMpVMotif::AliMpVMotif | ( | ) |
Default constructor
Definition at line 46 of file AliMpVMotif.cxx.
|
virtual |
Destructor
Definition at line 65 of file AliMpVMotif.cxx.
|
private |
Not implemented.
|
pure virtual |
Return x dimensions.
Implemented in AliMpMotifSpecial, and AliMpMotif.
Referenced by AliMpPCB::Add(), AliMpMotifPainter::AliMpMotifPainter(), AliMUONManuContourMaker::CreateMotifContour(), AliMpRowSegment::FindMotifPositionId(), AliMpMotifPosition::GetDimensionX(), AliMpRowSegment::LastMotifCenterX(), AliMpRowSegment::LeftBorderX(), AliMpRowSegment::MotifCenterX(), AliMpMotifMap::PrintMotif(), AliMpRowSegment::RightBorderX(), and AliMpRowSegment::SetOffset().
|
pure virtual |
Return y dimensions.
Implemented in AliMpMotifSpecial, and AliMpMotif.
Referenced by AliMpPCB::Add(), AliMpMotifPainter::AliMpMotifPainter(), AliMUONManuContourMaker::CreateMotifContour(), AliMpMotifPosition::GetDimensionY(), AliMpRowSegment::HalfSizeY(), AliMpRowSegment::IsInside(), and AliMpMotifMap::PrintMotif().
AliMpConnection * AliMpVMotif::FindConnectionByLocalPos | ( | Double_t | localPosX, |
Double_t | localPosY | ||
) | const |
Return the local indices from the local (x,y) position
Definition at line 72 of file AliMpVMotif.cxx.
|
inline |
Return the motif identifier.
Definition at line 90 of file AliMpVMotif.h.
Referenced by AliMpSlatMotifMap::AddMotif(), AliMpMotifMap::AddMotif(), AliMpSlatMotifMap::FindMotif(), AliMUONManuContourMaker::NameIt(), AliMpSlatSegmentation::PadByPosition(), AliMpSubZonePainter::Paint(), AliMpSlatMotifMap::Print(), AliMpMotifPosition::Print(), AliMpMotifMap::PrintMotif(), AliMpMotifMap::PrintMotifPosition(), and AliMpPCB::Save().
|
inline |
Return the motif type.
Definition at line 87 of file AliMpVMotif.h.
Referenced by AliMpMotifSpecial::CalculateDimensions(), AliMpMotifMap::CalculateNofPads(), AliMUONManuContourMaker::CreateMotifContour(), AliMpMotifPositionPadIterator::CurrentItem(), AliMpMotif::DimensionX(), AliMpMotif::DimensionY(), AliMpMotifMap::FindMotif(), AliMpPCB::FindMotifPosition(), AliMpMotifSpecial::GetPadDimensionsByIndices(), AliMpMotif::GetPadDimensionsByIndices(), AliMpMotifPosition::HasPadByIndices(), AliMpMotifPosition::HasPadByManuChannel(), AliMpSectorSegmentation::PadByIndices(), AliMpFastSegmentation::PadByIndices(), AliMpSlatSegmentation::PadByIndices(), AliMpSectorSegmentation::PadByLocation(), AliMpFastSegmentation::PadByLocation(), AliMpSlatSegmentation::PadByLocation(), AliMpSectorSegmentation::PadByPosition(), AliMpSlatSegmentation::PadByPosition(), AliMpMotif::PadIndicesLocal(), AliMpMotifSpecial::PadIndicesLocal(), AliMpMotifPainter::Paint(), AliMpMotifPainter::PaintContour(), AliMpMotifMap::PrintMotif(), AliMpRowSegmentLSpecial::SetIndicesToMotifPosition(), AliMpRowSegmentRSpecial::SetIndicesToMotifPosition(), AliMpRowSegment::SetIndicesToMotifPosition(), AliMpRowSegment::SetOffset(), AliMpMotifSpecial::SetPadDimensions(), and AliMpMotifMap::UpdateGlobalIndices().
|
pure virtual |
Return the number of pad dimensions.
Implemented in AliMpMotifSpecial, and AliMpMotif.
Referenced by AliMUONManuContourMaker::NameIt().
|
pure virtual |
Return the dimensions of the pad specified by localIndices.
Implemented in AliMpMotif, and AliMpMotifSpecial.
Referenced by AliMUONManuContourMaker::CreateMotifContour(), AliMpMotifPositionPadIterator::CurrentItem(), AliMpSectorSegmentation::PadByIndices(), AliMpFastSegmentation::PadByIndices(), AliMpSlatSegmentation::PadByIndices(), AliMpSectorSegmentation::PadByLocation(), AliMpFastSegmentation::PadByLocation(), AliMpSlatSegmentation::PadByLocation(), AliMpSectorSegmentation::PadByPosition(), AliMpSlatSegmentation::PadByPosition(), AliMpMotifPainter::Paint(), AliMpMotifPainter::PaintContour(), and AliMpRowSegment::SetOffset().
|
pure virtual |
Return the dimensions of the pad specified by localIndices.
Implemented in AliMpMotif, and AliMpMotifSpecial.
|
pure virtual |
Return the i-th pad x dimension.
Implemented in AliMpMotifSpecial, and AliMpMotif.
Referenced by AliMpMotifMap::FindMotif(), AliMpDEVisu::InfoManuMotif(), and AliMUONManuContourMaker::NameIt().
|
pure virtual |
Return the i-th pad y dimension.
Implemented in AliMpMotifSpecial, and AliMpMotif.
Referenced by AliMpMotifMap::FindMotif(), AliMpDEVisu::InfoManuMotif(), and AliMUONManuContourMaker::NameIt().
|
private |
Not implemented.
|
pure virtual |
Return local indices of the pad specified by local position.
Implemented in AliMpMotifSpecial, and AliMpMotif.
Referenced by FindConnectionByLocalPos(), AliMpPCB::FindMotifPosition(), AliMpSectorSegmentation::PadByPosition(), and AliMpSlatSegmentation::PadByPosition().
|
pure virtual |
Fill local position of the pad specified by local indices.
Implemented in AliMpMotifSpecial, and AliMpMotif.
Referenced by AliMUONManuContourMaker::CreateMotifContour(), AliMpMotifPositionPadIterator::CurrentItem(), AliMpSectorSegmentation::PadByIndices(), AliMpFastSegmentation::PadByIndices(), AliMpSlatSegmentation::PadByIndices(), AliMpSectorSegmentation::PadByLocation(), AliMpFastSegmentation::PadByLocation(), AliMpSlatSegmentation::PadByLocation(), AliMpSectorSegmentation::PadByPosition(), AliMpSlatSegmentation::PadByPosition(), AliMpMotifPainter::Paint(), AliMpMotifPainter::PaintContour(), and Print().
|
pure virtual |
Fill local position of the pad specified by local indices.
Implemented in AliMpMotifSpecial, and AliMpMotif.
|
virtual |
Print the map of the motif. In each cel, the value printed depends of option, as the following:
NOTE : this method is really not optimized, in case 'N' or '', but the Print() this should not be very important in a Print() method
Definition at line 85 of file AliMpVMotif.cxx.
Referenced by AliMpMotifPosition::Print().
|
private |
|
private |
the motif type
Definition at line 79 of file AliMpVMotif.h.
Referenced by FindConnectionByLocalPos(), GetMotifType(), and Print().