![]() |
AliRoot Core
v5-06-15 (45dab64)
|
A group of AliMUONVPainter. More...
#include <AliMUONPainterGroup.h>
Public Member Functions | |
AliMUONPainterGroup () | |
AliMUONPainterGroup (const char *type, Int_t depth) | |
virtual | ~AliMUONPainterGroup () |
Bool_t | Add (AliMUONVPainter *painter) |
void | ComputeDataRange (Double_t &dataMin, Double_t &dataMax) |
AliMUONVTrackerData * | Data () const |
Return the data we are plotting. More... | |
Int_t | DataIndex () const |
Return the index within the data. More... | |
Double_t | DataMax () const |
Max data we are plotting. More... | |
Double_t | DataMin () const |
Min data we are plotting. More... | |
Int_t | Depth () const |
Depth. More... | |
void | Draw (Option_t *opt="") |
AliMUONVPainter * | First () const |
Bool_t | IsSortable () const |
We are sortable (by type) More... | |
Int_t | Compare (const TObject *obj) const |
Bool_t | IsOutlined () const |
Whether we should outline ourselves. More... | |
Bool_t | IsPlotter () const |
Whether we are the plotting group. More... | |
Bool_t | IsResponder () const |
Whether we are the responder group. More... | |
Bool_t | IsVisible () const |
Whether we are visible. More... | |
Bool_t | Matches (const char *pattern) const |
void | Print (Option_t *opt="") const |
void | SetData (AliMUONVTrackerData *data, Int_t dataIndex) |
void | SetDataRange (Double_t min, Double_t max) |
Set the data range. More... | |
Int_t | GetLineColor () const |
Int_t | GetLineWidth () const |
void | SetLine (Int_t lineColor, Int_t lineWidth) |
void | SetOutlined (Bool_t flag=kTRUE) |
Set the outlined flag. More... | |
void | SetResponder (Bool_t flag=kTRUE) |
Set the responder flag. More... | |
void | SetVisible (Bool_t flag=kTRUE) |
Set the visible flag. More... | |
const char * | Type () const |
Our type. More... | |
Private Member Functions | |
AliMUONPainterGroup (const AliMUONPainterGroup &rhs) | |
Not implemented. More... | |
AliMUONPainterGroup & | operator= (const AliMUONPainterGroup &rhs) |
Not implemented. More... | |
Private Attributes | |
TString | fType |
type of this group (e.g. PADS, MANU, PCB, etc...) More... | |
Bool_t | fIsResponder |
whether we are responding to mouse events More... | |
Bool_t | fIsVisible |
whether we are visible More... | |
AliMUONVTrackerData * | fData |
the data we plot (can be 0x0) More... | |
Int_t | fDataIndex |
the index of the data to plot (can be -1 if data=0x0) More... | |
Double_t | fDataMin |
min data More... | |
Double_t | fDataMax |
max data More... | |
TObjArray * | fPainters |
painters of this group More... | |
Int_t | fDepth |
depth in the hierarchy of painters More... | |
Bool_t | fIsOutlined |
whether we should be outlined More... | |
A group of AliMUONVPainter.
A group of AliMUONVPainter
Definition at line 25 of file AliMUONPainterGroup.h.
AliMUONPainterGroup::AliMUONPainterGroup | ( | ) |
ctor
Definition at line 40 of file AliMUONPainterGroup.cxx.
AliMUONPainterGroup::AliMUONPainterGroup | ( | const char * | type, |
Int_t | depth | ||
) |
ctor
Definition at line 57 of file AliMUONPainterGroup.cxx.
|
virtual |
dtor
Definition at line 78 of file AliMUONPainterGroup.cxx.
|
private |
Not implemented.
Bool_t AliMUONPainterGroup::Add | ( | AliMUONVPainter * | painter | ) |
Add a painter to this group (must be of the correct type)
Definition at line 86 of file AliMUONPainterGroup.cxx.
Referenced by AliMUONVPainter::CreateGroups().
Int_t AliMUONPainterGroup::Compare | ( | const TObject * | obj | ) | const |
Compare with another group (based on type)
Definition at line 118 of file AliMUONPainterGroup.cxx.
void AliMUONPainterGroup::ComputeDataRange | ( | Double_t & | dataMin, |
Double_t & | dataMax | ||
) |
Compute the data range spanned by this group
Definition at line 128 of file AliMUONPainterGroup.cxx.
Referenced by AliMUONPainterMatrix::ComputeDataRange().
|
inline |
Return the data we are plotting.
Definition at line 37 of file AliMUONPainterGroup.h.
Referenced by AliMUONPainterMatrixFrame::ChangeTitle(), AliMUONTrackerDataHistogrammer::CreateHisto(), AliMUONPainterMatrix::Data(), AliMUONManuPadPainter::DrawHistogramClone(), AliMUONPainterPlotSelector::Update(), and AliMUONVPainter::UpdateGroupsFrom().
|
inline |
Return the index within the data.
Definition at line 40 of file AliMUONPainterGroup.h.
Referenced by AliMUONPainterMatrixFrame::ChangeTitle(), AliMUONPainterMatrix::DataIndex(), AliMUONPainterPlotSelector::Update(), and AliMUONVPainter::UpdateGroupsFrom().
|
inline |
Max data we are plotting.
Definition at line 43 of file AliMUONPainterGroup.h.
Referenced by AliMUONPainterMatrix::GetDataRange(), Print(), and AliMUONVPainter::UpdateGroupsFrom().
|
inline |
Min data we are plotting.
Definition at line 46 of file AliMUONPainterGroup.h.
Referenced by AliMUONPainterMatrix::GetDataRange(), Print(), and AliMUONVPainter::UpdateGroupsFrom().
|
inline |
Depth.
Definition at line 49 of file AliMUONPainterGroup.h.
Referenced by AliMUONVPainter::GetTypes(), AliMUONVPainter::Group(), AliMUONVPainter::SetResponder(), and AliMUONVPainter::UpdateGroupsFrom().
void AliMUONPainterGroup::Draw | ( | Option_t * | opt = "" | ) |
Draw our painters
Definition at line 150 of file AliMUONPainterGroup.cxx.
AliMUONVPainter * AliMUONPainterGroup::First | ( | ) | const |
Get the first painter in group
Definition at line 163 of file AliMUONPainterGroup.cxx.
Int_t AliMUONPainterGroup::GetLineColor | ( | ) | const |
Get line color of this group's painters
Definition at line 175 of file AliMUONPainterGroup.cxx.
Referenced by AliMUONVPainter::UpdateGroupsFrom().
Int_t AliMUONPainterGroup::GetLineWidth | ( | ) | const |
Get line width of this group's painters
Definition at line 187 of file AliMUONPainterGroup.cxx.
Referenced by AliMUONVPainter::UpdateGroupsFrom().
|
inline |
Whether we should outline ourselves.
Definition at line 61 of file AliMUONPainterGroup.h.
Referenced by Print(), AliMUONVPainter::UpdateGroupsFrom(), and AliMUONPainterMatrixFrame::UpdateInterface().
|
inline |
Whether we are the plotting group.
Definition at line 64 of file AliMUONPainterGroup.h.
Referenced by Print().
|
inline |
Whether we are the responder group.
Definition at line 67 of file AliMUONPainterGroup.h.
Referenced by AliMUONVPainter::GetPainter(), AliMUONVPainter::IsResponder(), and Print().
|
inline |
We are sortable (by type)
Definition at line 56 of file AliMUONPainterGroup.h.
|
inline |
Whether we are visible.
Definition at line 70 of file AliMUONPainterGroup.h.
Referenced by Print(), and AliMUONVPainter::UpdateGroupsFrom().
Bool_t AliMUONPainterGroup::Matches | ( | const char * | pattern | ) | const |
Whether our type matches "pattern"
Definition at line 199 of file AliMUONPainterGroup.cxx.
Referenced by AliMUONVPainter::SetData(), AliMUONVPainter::SetOutlined(), AliMUONVPainter::SetResponder(), and AliMUONVPainter::SetVisible().
|
private |
Not implemented.
void AliMUONPainterGroup::Print | ( | Option_t * | opt = "" | ) | const |
Printout
Definition at line 213 of file AliMUONPainterGroup.cxx.
Referenced by AliMUONVPainter::Print().
void AliMUONPainterGroup::SetData | ( | AliMUONVTrackerData * | data, |
Int_t | dataIndex | ||
) |
Set the data to be plotted
Definition at line 254 of file AliMUONPainterGroup.cxx.
Referenced by AliMUONVPainter::SetData().
|
inline |
Set the data range.
Definition at line 79 of file AliMUONPainterGroup.h.
Referenced by AliMUONPainterMatrix::SetDataRange(), and AliMUONVPainter::UpdateGroupsFrom().
void AliMUONPainterGroup::SetLine | ( | Int_t | lineColor, |
Int_t | lineWidth | ||
) |
Set our outline attributes
Definition at line 265 of file AliMUONPainterGroup.cxx.
Referenced by AliMUONVPainter::SetLine().
|
inline |
Set the outlined flag.
Definition at line 89 of file AliMUONPainterGroup.h.
Referenced by AliMUONVPainter::SetOutlined().
|
inline |
Set the responder flag.
Definition at line 92 of file AliMUONPainterGroup.h.
Referenced by AliMUONDEPainter::SetResponder(), and AliMUONVPainter::SetResponder().
|
inline |
Set the visible flag.
Definition at line 95 of file AliMUONPainterGroup.h.
Referenced by AliMUONVPainter::SetVisible().
|
inline |
Our type.
Definition at line 98 of file AliMUONPainterGroup.h.
Referenced by Compare(), AliMUONPainterMatrix::DataPattern(), AliMUONVPainter::GetTypes(), AliMUONVPainter::Print(), AliMUONPainterPlotSelector::Update(), AliMUONVPainter::UpdateGroupsFrom(), and AliMUONPainterMatrixFrame::UpdateInterface().
|
private |
the data we plot (can be 0x0)
Definition at line 110 of file AliMUONPainterGroup.h.
Referenced by ComputeDataRange(), Data(), IsPlotter(), Print(), and SetData().
|
private |
the index of the data to plot (can be -1 if data=0x0)
Definition at line 111 of file AliMUONPainterGroup.h.
Referenced by ComputeDataRange(), DataIndex(), IsPlotter(), Print(), and SetData().
|
private |
max data
Definition at line 113 of file AliMUONPainterGroup.h.
Referenced by DataMax(), SetData(), and SetDataRange().
|
private |
min data
Definition at line 112 of file AliMUONPainterGroup.h.
Referenced by DataMin(), SetData(), and SetDataRange().
|
private |
depth in the hierarchy of painters
Definition at line 115 of file AliMUONPainterGroup.h.
Referenced by Add(), AliMUONPainterGroup(), Depth(), and Print().
|
private |
whether we should be outlined
Definition at line 116 of file AliMUONPainterGroup.h.
Referenced by IsOutlined(), and SetOutlined().
|
private |
whether we are responding to mouse events
Definition at line 108 of file AliMUONPainterGroup.h.
Referenced by IsResponder(), and SetResponder().
|
private |
whether we are visible
Definition at line 109 of file AliMUONPainterGroup.h.
Referenced by IsVisible(), and SetVisible().
|
private |
painters of this group
Definition at line 114 of file AliMUONPainterGroup.h.
Referenced by Add(), ComputeDataRange(), Draw(), First(), GetLineColor(), GetLineWidth(), Print(), SetLine(), and ~AliMUONPainterGroup().
|
private |
type of this group (e.g. PADS, MANU, PCB, etc...)
Definition at line 107 of file AliMUONPainterGroup.h.
Referenced by Add(), AliMUONPainterGroup(), Compare(), Matches(), Print(), and Type().