![]() |
AliRoot Core
a565103 (a565103)
|
A placed motif. More...
#include <AliMpMotifPosition.h>
Public Member Functions | |
AliMpMotifPosition (Int_t id, AliMpVMotif *motif, Double_t x, Double_t y) | |
AliMpMotifPosition () | |
virtual | ~AliMpMotifPosition () |
virtual AliMpVPadIterator * | CreateIterator () const |
Create iterator over this element. More... | |
Int_t | GetID () const |
Return motif position ID = manu id. More... | |
AliMpVMotif * | GetMotif () const |
Return motif. More... | |
Bool_t | HasPadByIndices (MpPair_t indices) const |
Bool_t | HasPadByManuChannel (Int_t manuChannel) const |
Double_t | GetPositionX () const |
Return x position. More... | |
Double_t | GetPositionY () const |
Return y position. More... | |
Double_t | GetDimensionX () const |
Return x dimension. More... | |
Double_t | GetDimensionY () const |
Return y dimension. More... | |
void | SetID (Int_t id) |
void | SetPosition (Double_t x, Double_t y) |
void | Print (Option_t *option="") const |
![]() | |
AliMpVIndexed () | |
virtual | ~AliMpVIndexed () |
virtual MpPair_t | GlobalIndices (MpPair_t localIndices) const |
virtual Int_t | GlobalIx (Int_t localIx) const |
virtual Int_t | GlobalIy (Int_t localIy) const |
void | SetLowIndicesLimit (MpPair_t limit, Bool_t valid=true) |
void | SetLowIndicesLimit (Int_t ix, Int_t iy, Bool_t valid=true) |
void | SetHighIndicesLimit (MpPair_t limit, Bool_t valid=true) |
void | SetHighIndicesLimit (Int_t ix, Int_t iy, Bool_t valid=true) |
Bool_t | HasIndices (MpPair_t indices) const |
Bool_t | HasIndices (Int_t ix, Int_t iy) const |
Bool_t | HasValidIndices () const |
MpPair_t | GetLowIndicesLimit () const |
Int_t | GetLowLimitIx () const |
Int_t | GetLowLimitIy () const |
Bool_t | IsLowLimitValid () const |
MpPair_t | GetHighIndicesLimit () const |
Int_t | GetHighLimitIx () const |
Int_t | GetHighLimitIy () const |
Bool_t | IsHighLimitValid () const |
Private Member Functions | |
AliMpMotifPosition (const AliMpMotifPosition &right) | |
Not implemented. More... | |
AliMpMotifPosition & | operator= (const AliMpMotifPosition &right) |
Not implemented. More... | |
Private Attributes | |
Int_t | fID |
identifier=manu id More... | |
AliMpVMotif * | fMotif |
motif More... | |
Double_t | fPositionX |
x position More... | |
Double_t | fPositionY |
y position More... | |
A placed motif.
Definition at line 21 of file AliMpMotifPosition.h.
AliMpMotifPosition::AliMpMotifPosition | ( | Int_t | id, |
AliMpVMotif * | motif, | ||
Double_t | x, | ||
Double_t | y | ||
) |
Standard constructor
Definition at line 38 of file AliMpMotifPosition.cxx.
AliMpMotifPosition::AliMpMotifPosition | ( | ) |
Default constructor
Definition at line 50 of file AliMpMotifPosition.cxx.
|
virtual |
Destructor
Definition at line 61 of file AliMpMotifPosition.cxx.
|
private |
Not implemented.
|
virtual |
Create iterator over this element.
Return motif position iterator
Implements AliMpVIndexed.
Definition at line 67 of file AliMpMotifPosition.cxx.
|
inline |
Return x dimension.
Definition at line 85 of file AliMpMotifPosition.h.
Referenced by AliMpPCBPainter::Draw(), AliMpRowSegmentPainter::Draw(), AliMpMotifPainter::GetDimensions(), AliMpDEVisu::InfoManuMotif(), AliMpDCSNamer::ManuId2Sector(), AliMpDEVisu::PopUpManuMotif(), and AliMpPCB::Save().
|
inline |
Return y dimension.
Definition at line 89 of file AliMpMotifPosition.h.
Referenced by AliMpPCBPainter::Draw(), AliMpMotifPainter::GetDimensions(), AliMpDEVisu::InfoManuMotif(), AliMpDEVisu::PopUpManuMotif(), and AliMpPCB::Save().
|
inline |
Return motif position ID = manu id.
Definition at line 69 of file AliMpMotifPosition.h.
Referenced by AliMpSlat::Add(), AliMpMotifMap::AddMotifPosition(), AliMUONPCBPainter::AliMUONPCBPainter(), AliMpPCB::Copy(), AliMpMotifPositionPadIterator::CurrentItem(), AliMpPCB::HasMotifPositionID(), AliMpSectorSegmentation::PadByIndices(), AliMpFastSegmentation::PadByIndices(), AliMpSlatSegmentation::PadByIndices(), AliMpSlatSegmentation::PadByPosition(), AliMpMotifPainter::Paint(), AliMpMotifPainter::PaintContour(), AliMpDEVisu::PopUpManuMotif(), Print(), AliMpSlat::Print(), AliMpMotifMap::PrintGlobalIndices(), AliMpMotifMap::PrintMotifPosition(), AliMpMotifMap::PrintMotifPosition2(), AliMUONRejectList::SetPCBProbability(), and AliMpMotifMap::UpdateGlobalIndices().
|
inline |
Return motif.
Definition at line 73 of file AliMpMotifPosition.h.
Referenced by AliMpMotifMap::CalculateNofPads(), AliMpPCB::Copy(), AliMUONManuContourMaker::CreateMotifContour(), AliMpMotifPositionPadIterator::CurrentItem(), AliMpPCB::FindMotifPosition(), AliMpDEVisu::InfoManuMotif(), AliMUONManuContourMaker::NameIt(), AliMpSectorSegmentation::PadByIndices(), AliMpFastSegmentation::PadByIndices(), AliMpSlatSegmentation::PadByIndices(), AliMpSectorSegmentation::PadByLocation(), AliMpFastSegmentation::PadByLocation(), AliMpSlatSegmentation::PadByLocation(), AliMpSectorSegmentation::PadByPosition(), AliMpSlatSegmentation::PadByPosition(), AliMpMotifPainter::Paint(), AliMpMotifPainter::PaintContour(), Print(), AliMpMotifMap::PrintMotifPosition(), AliMpPCB::Save(), AliMpRowSegmentLSpecial::SetIndicesToMotifPosition(), AliMpRowSegmentRSpecial::SetIndicesToMotifPosition(), AliMpRowSegment::SetIndicesToMotifPosition(), and AliMpMotifMap::UpdateGlobalIndices().
|
inline |
Return x position.
Definition at line 77 of file AliMpMotifPosition.h.
Referenced by AliMpPCB::Clone(), AliMpPCB::Copy(), AliMUONManuContourMaker::CreateManuContour(), AliMpMotifPositionPadIterator::CurrentItem(), AliMpPCBPainter::Draw(), AliMpRowSegmentPainter::Draw(), AliMpPCB::FindMotifPosition(), AliMpMotifPainter::GetPosition(), AliMpDCSNamer::ManuId2Sector(), AliMpVRowSegmentSpecial::MotifCenter(), AliMpSectorSegmentation::PadByIndices(), AliMpFastSegmentation::PadByIndices(), AliMpSlatSegmentation::PadByIndices(), AliMpSectorSegmentation::PadByLocation(), AliMpFastSegmentation::PadByLocation(), AliMpSlatSegmentation::PadByLocation(), AliMpSectorSegmentation::PadByPosition(), AliMpSlatSegmentation::PadByPosition(), AliMUONSt1GeometryBuilderV2::PlaceSector(), Print(), AliMpMotifMap::PrintMotifPosition(), AliMpPCB::Save(), and AliMpBusPatch::SetNofManusPerModule().
|
inline |
Return y position.
Definition at line 81 of file AliMpMotifPosition.h.
Referenced by AliMpPCB::Clone(), AliMpPCB::Copy(), AliMUONManuContourMaker::CreateManuContour(), AliMpMotifPositionPadIterator::CurrentItem(), AliMpPCBPainter::Draw(), AliMpRowSegmentPainter::Draw(), AliMpPCB::FindMotifPosition(), AliMpMotifPainter::GetPosition(), AliMpVRowSegmentSpecial::MotifCenter(), AliMpSectorSegmentation::PadByIndices(), AliMpFastSegmentation::PadByIndices(), AliMpSlatSegmentation::PadByIndices(), AliMpSectorSegmentation::PadByLocation(), AliMpFastSegmentation::PadByLocation(), AliMpSlatSegmentation::PadByLocation(), AliMpSectorSegmentation::PadByPosition(), AliMpSlatSegmentation::PadByPosition(), AliMUONSt1GeometryBuilderV2::PlaceSector(), Print(), AliMpMotifMap::PrintMotifPosition(), and AliMpPCB::Save().
Bool_t AliMpMotifPosition::HasPadByIndices | ( | MpPair_t | indices | ) | const |
Return true if pad with the specified indices exists in this motif position.
Definition at line 75 of file AliMpMotifPosition.cxx.
Referenced by AliMpSectorSegmentation::FindMotifPosition(), AliMpPCB::FindMotifPosition(), AliMpFastSegmentation::HasPadByIndices(), AliMpSectorSegmentation::HasPadByIndices(), and AliMpSlatSegmentation::HasPadByIndices().
Bool_t AliMpMotifPosition::HasPadByManuChannel | ( | Int_t | manuChannel | ) | const |
Return true if pad with the specified manuChannel exists in this motif position.
Definition at line 89 of file AliMpMotifPosition.cxx.
Referenced by AliMpFastSegmentation::HasPadByLocation(), AliMpSectorSegmentation::HasPadByLocation(), and AliMpSlatSegmentation::HasPadByLocation().
|
private |
Not implemented.
void AliMpMotifPosition::Print | ( | Option_t * | option = "" | ) | const |
Printing
Definition at line 118 of file AliMpMotifPosition.cxx.
void AliMpMotifPosition::SetID | ( | Int_t | id | ) |
void AliMpMotifPosition::SetPosition | ( | Double_t | x, |
Double_t | y | ||
) |
Set position
Definition at line 108 of file AliMpMotifPosition.cxx.
Referenced by AliMpPCB::Clone().
|
private |
identifier=manu id
Definition at line 58 of file AliMpMotifPosition.h.
|
private |
motif
Definition at line 59 of file AliMpMotifPosition.h.
Referenced by GetDimensionX(), GetDimensionY(), GetMotif(), HasPadByIndices(), and HasPadByManuChannel().
|
private |
x position
Definition at line 60 of file AliMpMotifPosition.h.
Referenced by GetPositionX(), and SetPosition().
|
private |
y position
Definition at line 61 of file AliMpMotifPosition.h.
Referenced by GetPositionY(), and SetPosition().