GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
#include <TGo4ConditionPainter.h>
Public Member Functions | |
TGo4ConditionPainter () | |
TGo4ConditionPainter (const char *name, const char *title=nullptr) | |
virtual | ~TGo4ConditionPainter () |
virtual void | PaintCondition (Option_t *opt="") |
Display condition with plain root canvas and in go4 viewpanel. | |
void | PaintLabel (Option_t *opt="") override |
Display statistics label for this condition with respect to working histogram. | |
virtual void | SetCondition (TGo4Condition *con) |
Not inline, because we overwrite this for polygon condition. | |
virtual void | UnPaintCondition (Option_t *opt="") |
Display condition with plain root canvas and in go4 viewpanel. | |
![]() | |
TGo4LabelPainter () | |
TGo4LabelPainter (const char *name, const char *title=nullptr) | |
virtual | ~TGo4LabelPainter () |
void | AddToLabel (const char *txt) |
virtual void | DisplayToFront (Option_t *opt="") |
pop all components to the front of the pad | |
Double_t | GetLabelXlo () |
Reference coordinate x of label box (lower left corner) | |
Double_t | GetLabelXup () |
Reference coordinate x of label box (upper right corner) | |
Double_t | GetLabelYlo () |
Reference coordinate y of label box (lower left corner) | |
Double_t | GetLabelYup () |
Reference coordinate y of label box (upper right corner) | |
void | InitAttributes () |
Initialize the label attributes. | |
virtual void | RePaintLabel (Option_t *opt="") |
refresh painting of label with current attributes | |
void | SetCaption (const char *txt) |
void | SetHeight (Double_t h=0.) |
void | SetWidth (Double_t w=0.) |
void | SetX0 (Double_t x=0.) |
void | SetY0 (Double_t y=0.) |
virtual void | UnPaintLabel (Option_t *opt="") |
Erase the label. | |
Protected Attributes | |
TGo4Condition * | fxCondition {nullptr} |
Condition to be painted. | |
Definition at line 21 of file TGo4ConditionPainter.h.
TGo4ConditionPainter::TGo4ConditionPainter | ( | ) |
Definition at line 23 of file TGo4ConditionPainter.cxx.
References TGo4LabelPainter::TGo4LabelPainter(), and fxCondition.
Referenced by TGo4CondArrayPainter::TGo4CondArrayPainter(), TGo4CondArrayPainter::TGo4CondArrayPainter(), TGo4PolyCondPainter::TGo4PolyCondPainter(), TGo4PolyCondPainter::TGo4PolyCondPainter(), TGo4WinCondPainter::TGo4WinCondPainter(), and TGo4WinCondPainter::TGo4WinCondPainter().
TGo4ConditionPainter::TGo4ConditionPainter | ( | const char * | name, |
const char * | title = nullptr ) |
Definition at line 28 of file TGo4ConditionPainter.cxx.
References TGo4LabelPainter::TGo4LabelPainter(), and fxCondition.
|
virtual |
Definition at line 33 of file TGo4ConditionPainter.cxx.
References UnPaintCondition().
|
virtual |
Display condition with plain root canvas and in go4 viewpanel.
Reimplemented in TGo4CondArrayPainter, TGo4PolyCondPainter, and TGo4WinCondPainter.
Definition at line 38 of file TGo4ConditionPainter.cxx.
|
overridevirtual |
Display statistics label for this condition with respect to working histogram.
Reimplemented from TGo4LabelPainter.
Definition at line 46 of file TGo4ConditionPainter.cxx.
References TGo4LabelPainter::AddToLabel(), fxCondition, TGo4PolyCond::GetCut(), TGo4WinCond::GetValues(), TGo4LabelPainter::PaintLabel(), TGo4LabelPainter::RePaintLabel(), TGo4LabelPainter::SetCaption(), TGo4LabelPainter::SetX0(), TGo4LabelPainter::SetY0(), and TGo4LabelPainter::UnPaintLabel().
|
virtual |
Not inline, because we overwrite this for polygon condition.
Reimplemented in TGo4PolyCondPainter.
Definition at line 144 of file TGo4ConditionPainter.cxx.
References fxCondition.
Referenced by TGo4PolyCond::CreatePainter().
|
virtual |
Display condition with plain root canvas and in go4 viewpanel.
Reimplemented in TGo4CondArrayPainter, TGo4PolyCondPainter, and TGo4WinCondPainter.
Definition at line 42 of file TGo4ConditionPainter.cxx.
Referenced by ~TGo4ConditionPainter().
|
protected |
Condition to be painted.
Definition at line 41 of file TGo4ConditionPainter.h.
Referenced by TGo4ConditionPainter(), TGo4ConditionPainter(), TGo4CondArrayPainter::PaintCondition(), TGo4PolyCondPainter::PaintCondition(), TGo4WinCondPainter::PaintCondition(), PaintLabel(), SetCondition(), TGo4PolyCondPainter::SetCondition(), and TGo4CondArrayPainter::UnPaintCondition().