![]() |
AliRoot Core
3abf5b4 (3abf5b4)
|
A region of pads of the same dimensions composed of subzones. More...
#include <AliMpZone.h>
Public Member Functions | |
AliMpZone (Int_t id) | |
AliMpZone () | |
virtual | ~AliMpZone () |
void | AddSubZone (AliMpSubZone *subZone) |
AliMpSubZone * | FindSubZone (const AliMpVMotif *motif) const |
void | SetPadDimensions (Double_t dx, Double_t dy) |
UInt_t | GetID () const |
Return ID. More... | |
Int_t | GetNofSubZones () const |
AliMpSubZone * | GetSubZone (Int_t i) const |
Double_t | GetPadDimensionX () const |
Return pad x dimensions. More... | |
Double_t | GetPadDimensionY () const |
Return pad y dimensions. More... | |
Private Attributes | |
UInt_t | fID |
ID. More... | |
TObjArray | fSubZones |
subzones More... | |
Double_t | fPadDimensionX |
pad x dimension More... | |
Double_t | fPadDimensionY |
pad y dimension More... | |
A region of pads of the same dimensions composed of subzones.
The zone contains pads of the same dimensions, it is composed of the subzones.
Definition at line 25 of file AliMpZone.h.
AliMpZone::AliMpZone | ( | Int_t | id | ) |
Standard constructor
Definition at line 37 of file AliMpZone.cxx.
AliMpZone::AliMpZone | ( | ) |
Default constructor
Definition at line 48 of file AliMpZone.cxx.
|
virtual |
Destructor
Definition at line 59 of file AliMpZone.cxx.
void AliMpZone::AddSubZone | ( | AliMpSubZone * | subZone | ) |
Add row segment.
Definition at line 72 of file AliMpZone.cxx.
Referenced by AliMpSectorReader::ReadMotifsSpecialData(), and AliMpSectorReader::ReadSubZoneData().
AliMpSubZone * AliMpZone::FindSubZone | ( | const AliMpVMotif * | motif | ) | const |
Find a subzone with a specified motif; return 0 if not found.
Definition at line 80 of file AliMpZone.cxx.
Referenced by AliMpSectorReader::ReadRowSpecialData().
|
inline |
Return ID.
Definition at line 62 of file AliMpZone.h.
Referenced by AliMpZonePainter::Draw(), and AliMpZonePainter::Paint().
Int_t AliMpZone::GetNofSubZones | ( | ) | const |
Return number of row segments.
Definition at line 103 of file AliMpZone.cxx.
Referenced by AliMpZonePainter::DistancetoPrimitive(), AliMpSectorPainter::Draw(), AliMpZonePainter::Draw(), FindSubZone(), AliMpZonePainter::GetDimensions(), AliMpZonePainter::GetPosition(), GetSubZone(), AliMpZonePainter::Paint(), and ~AliMpZone().
|
inline |
Return pad x dimensions.
Definition at line 66 of file AliMpZone.h.
Referenced by AliMpSectorReader::ReadMotifData(), and AliMpSector::SetMinMaxPadDimensions().
|
inline |
Return pad y dimensions.
Definition at line 70 of file AliMpZone.h.
Referenced by AliMpSectorReader::ReadMotifData(), and AliMpSector::SetMinMaxPadDimensions().
AliMpSubZone * AliMpZone::GetSubZone | ( | Int_t | i | ) | const |
Return i-th sub zone.
Definition at line 111 of file AliMpZone.cxx.
Referenced by AliMpZonePainter::DistancetoPrimitive(), AliMpSectorPainter::Draw(), AliMpZonePainter::Draw(), FindSubZone(), AliMpZonePainter::GetDimensions(), AliMpZonePainter::GetPosition(), and AliMpZonePainter::Paint().
void AliMpZone::SetPadDimensions | ( | Double_t | dx, |
Double_t | dy | ||
) |
Set pad dimensions
Definition at line 94 of file AliMpZone.cxx.
Referenced by AliMpSectorReader::ReadZoneData().
|
private |
|
private |
pad x dimension
Definition at line 53 of file AliMpZone.h.
Referenced by GetPadDimensionX(), and SetPadDimensions().
|
private |
pad y dimension
Definition at line 54 of file AliMpZone.h.
Referenced by GetPadDimensionY(), and SetPadDimensions().
|
private |
subzones
Definition at line 52 of file AliMpZone.h.
Referenced by AddSubZone(), GetNofSubZones(), GetSubZone(), and ~AliMpZone().