#include <TGo4Condition.h>
Inheritance diagram for TGo4Condition:
Public Member Functions | |
TGo4Condition () | |
TGo4Condition (const char *name, const char *title="Go4 Condition") | |
virtual | ~TGo4Condition () |
virtual void | Paint (Option_t *opt="") |
Display condition with plain root canvas and in go4 viewpanel. | |
virtual void | Draw (Option_t *opt="") |
Draw this condition on current pad. | |
virtual void | UnDraw (Option_t *opt="") |
Erase view of this condition from the pad. | |
virtual void | Pop () |
Re-implement TObject method to pop all our views to front. | |
virtual TGo4ConditionPainter * | CreatePainter () |
Factory method to generate the subclass implentation for painter. | |
virtual Int_t | Counts () |
Return number of calls of the Test method. | |
virtual Int_t | TrueCounts () |
Return number of true results of the Test method call. | |
virtual void | ResetCounts () |
Clear counters. | |
virtual void | SetCounts (Int_t truecounts, Int_t counts) |
Set counters. | |
virtual void | Disable (Bool_t result) |
Freeze condition, on Test() return result. | |
virtual void | Enable () |
Enable (unfreeze) Test execution. | |
Bool_t | IsEnabled () const |
Returns true if condition is enabled. | |
virtual Bool_t | Test () |
Test if condition is true. | |
virtual Bool_t | Test (Double_t x, Double_t y) |
virtual Bool_t | Test (Double_t x) |
virtual Bool_t | Test (Bool_t result) |
virtual void | SetValues () |
Set values needed, i.e. | |
virtual void | SetValues (Double_t low1, Double_t up1) |
virtual void | SetValues (Double_t low1, Double_t up1, Double_t low2, Double_t up2) |
virtual void | SetValues (TCutG *newcut) |
virtual void | SetValues (Double_t *x, Double_t *y, Int_t len) |
virtual void | AddCondition (TGo4Condition *next) |
Add another condition to this one. | |
void | IncCounts () |
Increment the test counter. | |
void | IncTrueCounts () |
Increment the "test was true" counter. | |
Bool_t | IsTrue () const |
Use this as return, if test was true. | |
Bool_t | IsFalse () const |
Use this as return, if test was false. | |
Bool_t | FixedResult () const |
Returns the value set by Disable(value). | |
virtual void | Invert (Bool_t on) |
Inverts return values, when on is true, i.e. | |
virtual void | PrintCondition (Bool_t full=kTRUE) |
Prints counters and boolean members. | |
virtual void | PrintBar () |
Prints counters and bar. | |
virtual void | Print (Option_t *opt="") const |
Default printout for root object lists. | |
void | SetLast (Bool_t value) |
Can be used in Test to store the result. | |
Bool_t | GetLast () |
Returns result of last Test. | |
virtual Bool_t | UpdateFrom (TGo4Condition *cond, Bool_t counts) |
Copy values from cond to this. | |
virtual void | GetValues (Int_t &dim, Double_t &x1, Double_t &y1, Double_t &x2, Double_t &y2) |
virtual Double_t | GetXLow () |
virtual Double_t | GetXUp () |
virtual Double_t | GetYLow () |
virtual Double_t | GetYUp () |
virtual TCutG * | GetCut (Bool_t owner) |
virtual Double_t | GetIntegral (TH1 *histo, Option_t *opt="") |
Calculate value for histogram inside condition limits. | |
virtual Double_t | GetMean (TH1 *histo, Int_t axis=1) |
Calculate value for histogram inside condition limits. | |
virtual Double_t | GetRMS (TH1 *histo, Int_t axis=1) |
Calculate value for histogram inside condition limits. | |
virtual Double_t | GetXMax (TH1 *histo) |
Calculate value for histogram inside condition limits. | |
virtual Double_t | GetYMax (TH1 *histo) |
Calculate value for histogram inside condition limits. | |
virtual Double_t | GetCMax (TH1 *histo) |
Calculate value for histogram inside condition limits. | |
virtual TGo4Condition * | GetActiveCondition () |
To be overwritten for condition array. | |
virtual void | MarkReset (Bool_t on) |
defines if condition counters shall be reset in UpdateFrom method | |
virtual void | Clear (Option_t *opt="") |
virtual void | SetFlags (Bool_t enabled, Bool_t lastresult, Bool_t markreset, Bool_t result, Bool_t truevalue, Bool_t falsevalue) |
Sets values of external boolean flags to internal variables. | |
virtual void | GetFlags (Bool_t *enabled, Bool_t *lastresult, Bool_t *markreset, Bool_t *result, Bool_t *truevalue, Bool_t *falsevalue) |
Sets values of internal boolean flags to external variables. | |
virtual void | SetVisible (Bool_t on) |
Set/Unset visibility. | |
virtual Bool_t | IsVisible () |
Visibility property for gui display in editor. | |
void | SetHistogramLink (Bool_t on) |
Define if this condition has association with an analysis histogram. | |
Bool_t | IsHistogramLink () |
True if the histogram of given name is linked to this. | |
void | SetHistogram (const char *name) |
Define the name of the associated histogram. | |
const char * | GetLinkedHistogram () |
Access name of the associated histogram. | |
void | SetWorkHistogram (TH1 *histo) |
Set reference to work histogram for statistics functions. | |
TH1 * | GetWorkHistogram () |
access work histogram reference | |
virtual void | SetPainter (TGo4ConditionPainter *painter) |
Replace default painter of this condition by external one. | |
void | SetUpdateEpsilon (Double_t val) |
Configure graphical update tolerance for this condition individually. | |
Double_t | GetUpdateEpsilon () |
void | SaveLabelStyle () |
This will save draw flags into static default setup. | |
void | InitLabelStyle () |
Initialize label setup from static default variables. | |
void | ResetLabel (Option_t *opt="reset") |
Will reset label position to defaults with other option than reset, just pop label to front. | |
virtual void | SetLabelDraw (Bool_t on) |
virtual Bool_t | IsLabelDraw () |
virtual void | SetLimitsDraw (Bool_t on) |
virtual Bool_t | IsLimitsDraw () |
virtual void | SetIntDraw (Bool_t on) |
virtual Bool_t | IsIntDraw () |
virtual void | SetXMeanDraw (Bool_t on) |
virtual Bool_t | IsXMeanDraw () |
virtual void | SetXRMSDraw (Bool_t on) |
virtual Bool_t | IsXRMSDraw () |
virtual void | SetYMeanDraw (Bool_t on) |
virtual Bool_t | IsYMeanDraw () |
virtual void | SetYRMSDraw (Bool_t on) |
virtual Bool_t | IsYRMSDraw () |
virtual void | SetXMaxDraw (Bool_t on) |
virtual Bool_t | IsXMaxDraw () |
virtual void | SetYMaxDraw (Bool_t on) |
virtual Bool_t | IsYMaxDraw () |
virtual void | SetCMaxDraw (Bool_t on) |
virtual Bool_t | IsCMaxDraw () |
virtual void | SetChanged (Bool_t on) |
virtual Int_t | IsChanged () |
void | SetMultiEdit (Bool_t on) |
virtual Bool_t | IsMultiEdit () |
void | SetDimension (Int_t d) |
Int_t | GetDimension () |
void | SetOwnedByEditor (Bool_t on) |
Bool_t | IsOwnedByEditor () |
virtual void | SetCurrentIndex (Int_t ix) |
set index for array type subclasses | |
virtual Int_t | GetCurrentIndex () |
get index for array type subclasses | |
virtual Int_t | GetNumberOfConditions () |
for condition aggregates: return total number of conditions, i.e.size of condition array | |
virtual Int_t | GetMemorySize () |
virtual Bool_t | IsPolygonType () |
virtual Bool_t | IsArrayType () |
void | DeletePainter () |
Static Public Attributes | |
static const Double_t | fgdUPDATEEPSILON = 0.01 |
default value for graphical update tolerance. | |
static Bool_t | fgbLABELDRAW = kTRUE |
default setting for all conditions for label draw on/off flag. | |
static Bool_t | fgbLIMITSDRAW = kTRUE |
default setting for all conditions for label draw limits flag. | |
static Bool_t | fgbINTDRAW = kTRUE |
default setting for all conditions for label draw integral flag. | |
static Bool_t | fgbXMEANDRAW = kTRUE |
default setting for all conditions for label draw xmean flag. | |
static Bool_t | fgbXRMSDRAW = kTRUE |
default setting for all conditions for label draw xrms flag. | |
static Bool_t | fgbYMEANDRAW = kFALSE |
default setting for all conditions for label draw ymean flag. | |
static Bool_t | fgbYRMSDRAW = kFALSE |
default setting for all conditions for label draw yrms flag. | |
static Bool_t | fgbXMAXDRAW = kTRUE |
default setting for all conditions for label draw xmax flag. | |
static Bool_t | fgbYMAXDRAW = kFALSE |
default setting for all conditions for label draw ymax flag. | |
static Bool_t | fgbCMAXDRAW = kTRUE |
default setting for all conditions for label draw cmax flag. | |
Protected Member Functions | |
void | SetPainted (Bool_t on) |
Bool_t | IsPainted () const |
Protected Attributes | |
TGo4ConditionPainter * | fxPainter |
Painter instance to display the condition in root pad. | |
TH1 * | fxCutHis |
temporary histogram used to calculate statistics on polygon cuts. | |
Private Attributes | |
Int_t | fiDim |
Dimension (1 or 2). | |
Bool_t | fbMarkReset |
Bool_t | fbLastResult |
This can be used to store the last result by SetLast(bool). | |
Bool_t | fbTrue |
These are inverted by Invert(true), and restored by Invert(false). | |
Bool_t | fbFalse |
These are inverted by Invert(true), and restored by Invert(false). | |
Int_t | fiTrueCounts |
Counts the number of calls of the Test method with true result. | |
Int_t | fiCounts |
Counts the number of calls of the Test method. | |
Bool_t | fbEnabled |
Flag to enable/disable this condition. | |
Bool_t | fbResult |
If fbEnabled is false, return this as result. | |
Bool_t | fbMultiEdit |
Flag to indicate that properties of all conditions in array are edited/used. | |
Bool_t | fbVisible |
Property to store visibility of condition on display. | |
Bool_t | fbHistogramLink |
is true if this condition has link to a histogram name | |
TString | fxHistoName |
contains associatied histogram name | |
Double_t | fdUpdateEpsilon |
Precision for the check if graphical representation change requires update. | |
Bool_t | fbLabelDraw |
If true, draw corresponding value as label on working pad. | |
Bool_t | fbLimitsDraw |
If true, draw corresponding value as label on working pad. | |
Bool_t | fbIntDraw |
If true, draw corresponding value as label on working pad. | |
Bool_t | fbXMeanDraw |
If true, draw corresponding value as label on working pad. | |
Bool_t | fbXRMSDraw |
If true, draw corresponding value as label on working pad. | |
Bool_t | fbYMeanDraw |
If true, draw corresponding value as label on working pad. | |
Bool_t | fbYRMSDraw |
If true, draw corresponding value as label on working pad. | |
Bool_t | fbXMaxDraw |
If true, draw corresponding value as label on working pad. | |
Bool_t | fbYMaxDraw |
If true, draw corresponding value as label on working pad. | |
Bool_t | fbCMaxDraw |
If true, draw corresponding value as label on working pad. | |
TH1 * | fxHisto |
Reference to currently used histogram (for statistics boxes). | |
Int_t | fiIsChanged |
Counter indicate how many times condition was changed from graphical view. | |
Bool_t | fbIsPainted |
Flag to prevent Paint() method to redraw condition views after UnDraw. | |
Bool_t | fbOwnedByEditor |
Flag to suppress interactive deletion of condition. | |
Bool_t | fbStreamedCondition |
This allows to treat conditions streamed into pad. | |
Friends | |
class | TGo4CondArray |
|
Definition at line 47 of file TGo4Condition.cxx. References fbEnabled, fbFalse, fbHistogramLink, fbIsPainted, fbMarkReset, fbMultiEdit, fbOwnedByEditor, fbResult, fbStreamedCondition, fbTrue, fbVisible, fdUpdateEpsilon, fgdUPDATEEPSILON, fiCounts, fiDim, fiTrueCounts, InitLabelStyle(), and TRACE. |
|
Definition at line 76 of file TGo4Condition.cxx. References fbEnabled, fbFalse, fbHistogramLink, fbIsPainted, fbMarkReset, fbMultiEdit, fbOwnedByEditor, fbResult, fbStreamedCondition, fbTrue, fbVisible, fdUpdateEpsilon, fgdUPDATEEPSILON, fiCounts, fiDim, fiTrueCounts, InitLabelStyle(), and TRACE. |
|
Definition at line 105 of file TGo4Condition.cxx. |
|
Display condition with plain root canvas and in go4 viewpanel.
Definition at line 565 of file TGo4Condition.cxx. References CreatePainter(), fbStreamedCondition, fxPainter, IsPainted(), TGo4ConditionPainter::PaintCondition(), TGo4ConditionPainter::PaintLabel(), and SetPainted(). Referenced by TGo4CondArrayPainter::PaintCondition(). |
|
Draw this condition on current pad.
Reimplemented in TGo4CondArray. Definition at line 583 of file TGo4Condition.cxx. References IsVisible(), SetPainted(), and UnDraw(). Referenced by TGo4CondArray::Draw(), and TGo4RootBrowserProxy::DrawCondition(). |
|
Erase view of this condition from the pad.
Definition at line 595 of file TGo4Condition.cxx. References CreatePainter(), fxPainter, SetPainted(), TGo4ConditionPainter::UnPaintCondition(), and TGo4LabelPainter::UnPaintLabel(). Referenced by Draw(), TGo4CondArrayPainter::UnPaintCondition(), and ~TGo4Condition(). |
|
Re-implement TObject method to pop all our views to front.
Definition at line 609 of file TGo4Condition.cxx. References TGo4LabelPainter::DisplayToFront(), and fxPainter. |
|
Factory method to generate the subclass implentation for painter.
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond. Definition at line 614 of file TGo4Condition.cxx. |
|
Return number of calls of the Test method.
Reimplemented in TGo4CondArray. Definition at line 145 of file TGo4Condition.cxx. References fiCounts, and TRACE. Referenced by TGo4CondArray::Counts(), Print(), and TGo4CondArray::TrueCounts(). |
|
Return number of true results of the Test method call.
Reimplemented in TGo4CondArray. Definition at line 151 of file TGo4Condition.cxx. References fiTrueCounts, and TRACE. Referenced by Print(). |
|
Clear counters.
Reimplemented in TGo4CondArray. Definition at line 157 of file TGo4Condition.cxx. References fiCounts, fiTrueCounts, and TRACE. Referenced by Clear(), TGo4CondArray::ResetCounts(), TXXXProc::TXXXProc(), TXXXUnpackProc::TXXXUnpackProc(), TYYYUnpackProc::TYYYUnpackProc(), and UpdateFrom(). |
|
Set counters.
Definition at line 164 of file TGo4Condition.cxx. References fiCounts, fiTrueCounts, and TRACE. |
|
Freeze condition, on Test() return result. This overwrites inverted result, but does not change it Reimplemented in TGo4CondArray. Definition at line 429 of file TGo4Condition.cxx. References fbEnabled, and fbResult. Referenced by TGo4CondArray::Disable(), TXXXProc::TXXXProc(), TXXXUnpackProc::TXXXUnpackProc(), and TYYYUnpackProc::TYYYUnpackProc(). |
|
Enable (unfreeze) Test execution.
Reimplemented in TGo4CondArray. Definition at line 435 of file TGo4Condition.cxx. References fbEnabled. Referenced by TGo4CondArray::Enable(), TXXXProc::TXXXProc(), TXXXUnpackProc::TXXXUnpackProc(), and TYYYUnpackProc::TYYYUnpackProc(). |
|
Returns true if condition is enabled.
Definition at line 81 of file TGo4Condition.h. References fbEnabled. Referenced by TGo4WinCond::Test(), and TGo4PolyCond::Test(). |
|
Test if condition is true. Result is returned, the internal counters are set appropriately. Should return fbResult if condition is not enabled. the default is increment test counter and return true. Definition at line 121 of file TGo4Condition.cxx. References fiCounts. Referenced by TGo4CondArray::Test(), and TGo4HistogramEntry::TestConditionNew(). |
|
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond. Definition at line 87 of file TGo4Condition.h. |
|
Reimplemented in TGo4CondArray, and TGo4WinCond. Definition at line 88 of file TGo4Condition.h. |
|
Reimplemented in TGo4CounterCond. Definition at line 89 of file TGo4Condition.h. |
|
Set values needed, i.e. limits for windows or cuts for polygons Reimplemented in TGo4CounterCond. Definition at line 92 of file TGo4Condition.h. Referenced by TGo4CondArray::SetValues(). |
|
Reimplemented in TGo4CondArray, and TGo4WinCond. Definition at line 93 of file TGo4Condition.h. |
|
Reimplemented in TGo4CondArray, and TGo4WinCond. Definition at line 94 of file TGo4Condition.h. |
|
Reimplemented in TGo4CondArray, and TGo4PolyCond. Definition at line 95 of file TGo4Condition.h. |
|
Reimplemented in TGo4PolyCond. Definition at line 96 of file TGo4Condition.h. |
|
Add another condition to this one. The newly added condition is added as next condition and may be tested together with the current condition. User may specify the logical connection between the chained conditions (e.g. a locical "and", "or", "xor" relationships are all possible). Depends on the implementation of Test() method. The chained conditions are _not_ owned by the top level condition and are not deleted by dtor, thus one condition instance may be chained to several others. Definition at line 128 of file TGo4Condition.cxx. References TRACE. |
|
Increment the test counter. User has to take care that this method is called within his/her Test method. Definition at line 139 of file TGo4Condition.cxx. References fiCounts, and TRACE. Referenced by TGo4WinCond::Test(), TGo4PolyCond::Test(), TGo4CounterCond::Test(), and TGo4CondArray::Test(). |
|
Increment the "test was true" counter. User has to take care that this method is called within his/her Test method on success. Definition at line 133 of file TGo4Condition.cxx. References fiTrueCounts, and TRACE. Referenced by TGo4WinCond::Test(), TGo4PolyCond::Test(), TGo4CounterCond::Test(), and TGo4CondArray::Test(). |
|
Use this as return, if test was true. Takes into account inversion, i.e. when condition is inverted, IsTrue returns false. Definition at line 121 of file TGo4Condition.h. References fbTrue. Referenced by TGo4WinCond::Test(), and TGo4PolyCond::Test(). |
|
Use this as return, if test was false. Takes into account inversion, i.e. when condition is inverted, IsFalse returns true. Definition at line 125 of file TGo4Condition.h. References fbFalse. Referenced by TGo4WinCond::Test(), and TGo4PolyCond::Test(). |
|
Returns the value set by Disable(value).
Definition at line 128 of file TGo4Condition.h. References fbResult. Referenced by TGo4WinCond::Test(), and TGo4PolyCond::Test(). |
|
Inverts return values, when on is true, i.e. isTrue() will return false, and isFalse() will return true. Whn on is false, inversion is reset. Reimplemented in TGo4CondArray. Definition at line 173 of file TGo4Condition.cxx. References fbFalse, fbTrue, and TRACE. Referenced by TGo4CondArray::Invert(), TGo4AnalysisObjectManager::MakePolyCond(), TGo4AnalysisObjectManager::MakeWindowCond(), TXXXUnpackProc::TXXXUnpackProc(), and TYYYUnpackProc::TYYYUnpackProc(). |
|
Prints counters and boolean members.
Reimplemented in TGo4CondArray, TGo4CounterCond, TGo4PolyCond, and TGo4WinCond. Definition at line 181 of file TGo4Condition.cxx. References fbEnabled, fbHistogramLink, fbResult, fbTrue, fiCounts, fiTrueCounts, and fxHistoName. Referenced by TGo4WinCond::PrintCondition(), TGo4PolyCond::PrintCondition(), and TGo4CounterCond::PrintCondition(). |
|
Prints counters and bar.
Reimplemented in TGo4CondArray. Definition at line 204 of file TGo4Condition.cxx. References fiCounts, and fiTrueCounts. Referenced by Print(), and TGo4CondArray::PrintBar(). |
|
Default printout for root object lists.
Definition at line 219 of file TGo4Condition.cxx. References Counts(), fbEnabled, fbResult, fbTrue, GetActiveCondition(), GetCMax(), GetIntegral(), GetMean(), GetRMS(), GetWorkHistogram(), GetXLow(), GetXMax(), GetXUp(), GetYLow(), GetYMax(), GetYUp(), IsPolygonType(), IsVisible(), TGo4Log::Message(), PrintBar(), and TrueCounts(). Referenced by TGo4CondArray::PrintCondition(). |
|
Can be used in Test to store the result. Is retrieved by GetLast() without further test. Definition at line 145 of file TGo4Condition.h. References fbLastResult. |
|
Returns result of last Test.
Definition at line 148 of file TGo4Condition.h. References fbLastResult. |
|
Copy values from cond to this. When counts is true, copy also counters. Reimplemented in TGo4CondArray, TGo4CounterCond, TGo4PolyCond, and TGo4WinCond. Definition at line 301 of file TGo4Condition.cxx. References fbCMaxDraw, fbEnabled, fbFalse, fbHistogramLink, fbIntDraw, fbLabelDraw, fbMarkReset, fbMultiEdit, fbResult, fbTrue, fbVisible, fbXMaxDraw, fbXMeanDraw, fbXRMSDraw, fbYMaxDraw, fbYMeanDraw, fbYRMSDraw, fdUpdateEpsilon, fiCounts, fiDim, fiTrueCounts, fxHistoName, GetDimension(), and ResetCounts(). Referenced by TGo4AnalysisObjectManager::SetAnalysisCondition(), TGo4WinCond::UpdateFrom(), TGo4PolyCond::UpdateFrom(), TGo4CounterCond::UpdateFrom(), TGo4CondArray::UpdateFrom(), and TGo4BrowserProxy::UpdateObjectContent(). |
|
Reimplemented in TGo4WinCond. Definition at line 335 of file TGo4Condition.cxx. References GetDimension(), GetXLow(), GetXUp(), GetYLow(), and GetYUp(). |
|
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond. Definition at line 344 of file TGo4Condition.cxx. Referenced by GetValues(), TGo4CondArray::GetXLow(), TGo4ConditionPainter::PaintLabel(), and Print(). |
|
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond. Definition at line 345 of file TGo4Condition.cxx. Referenced by GetValues(), TGo4CondArray::GetXUp(), TGo4ConditionPainter::PaintLabel(), and Print(). |
|
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond. Definition at line 346 of file TGo4Condition.cxx. Referenced by GetValues(), TGo4CondArray::GetYLow(), TGo4ConditionPainter::PaintLabel(), and Print(). |
|
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond. Definition at line 347 of file TGo4Condition.cxx. Referenced by GetValues(), TGo4CondArray::GetYUp(), TGo4ConditionPainter::PaintLabel(), and Print(). |
|
Reimplemented in TGo4PolyCond. Definition at line 348 of file TGo4Condition.cxx. |
|
Calculate value for histogram inside condition limits. Option may specify "width" to scale channel sum with axes Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond. Definition at line 403 of file TGo4Condition.cxx. Referenced by TGo4CondArray::GetIntegral(), TGo4ConditionPainter::PaintLabel(), and Print(). |
|
Calculate value for histogram inside condition limits.
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond. Definition at line 408 of file TGo4Condition.cxx. Referenced by TGo4CondArray::GetMean(), TGo4ConditionPainter::PaintLabel(), and Print(). |
|
Calculate value for histogram inside condition limits.
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond. Definition at line 412 of file TGo4Condition.cxx. Referenced by TGo4CondArray::GetRMS(), TGo4ConditionPainter::PaintLabel(), and Print(). |
|
Calculate value for histogram inside condition limits.
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond. Definition at line 416 of file TGo4Condition.cxx. Referenced by TGo4CondArray::GetXMax(), TGo4ConditionPainter::PaintLabel(), and Print(). |
|
Calculate value for histogram inside condition limits.
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond. Definition at line 420 of file TGo4Condition.cxx. Referenced by TGo4CondArray::GetYMax(), TGo4ConditionPainter::PaintLabel(), and Print(). |
|
Calculate value for histogram inside condition limits.
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond. Definition at line 424 of file TGo4Condition.cxx. Referenced by TGo4CondArray::GetCMax(), TGo4ConditionPainter::PaintLabel(), and Print(). |
|
To be overwritten for condition array. By default, it returns this. Reimplemented in TGo4CondArray. Definition at line 351 of file TGo4Condition.cxx. Referenced by Print(). |
|
defines if condition counters shall be reset in UpdateFrom method
Reimplemented in TGo4CondArray. Definition at line 372 of file TGo4Condition.cxx. References fbMarkReset. Referenced by TGo4CondArray::MarkReset(). |
|
Definition at line 376 of file TGo4Condition.cxx. References ResetCounts(). |
|
Sets values of external boolean flags to internal variables. Overwritten in TGo4CondArray. Definition at line 390 of file TGo4Condition.cxx. References fbEnabled, fbFalse, fbLastResult, fbMarkReset, fbResult, and fbTrue. |
|
Sets values of internal boolean flags to external variables. Overwritten in TGo4CondArray. Reimplemented in TGo4CondArray. Definition at line 380 of file TGo4Condition.cxx. References fbEnabled, fbFalse, fbLastResult, fbMarkReset, fbResult, and fbTrue. Referenced by TGo4CondArray::GetFlags(). |
|
Set/Unset visibility. Overloaded for subclasses! Reimplemented in TGo4CondArray. Definition at line 441 of file TGo4Condition.cxx. References fbVisible. Referenced by TGo4CondArray::SetVisible(). |
|
Visibility property for gui display in editor.
Reimplemented in TGo4CondArray. Definition at line 446 of file TGo4Condition.cxx. References fbVisible. Referenced by Draw(), TGo4CondArray::IsVisible(), TGo4WinCondPainter::PaintCondition(), TGo4PolyCondPainter::PaintCondition(), TGo4ConditionPainter::PaintLabel(), and Print(). |
|
Define if this condition has association with an analysis histogram.
Definition at line 451 of file TGo4Condition.cxx. References fbHistogramLink. |
|
True if the histogram of given name is linked to this.
Definition at line 456 of file TGo4Condition.cxx. References fbHistogramLink. |
|
Define the name of the associated histogram.
Definition at line 546 of file TGo4Condition.cxx. References fbHistogramLink, and fxHistoName. Referenced by TGo4AnalysisObjectManager::MakePolyCond(), TGo4AnalysisObjectManager::MakeWindowCond(), TXXXProc::TXXXProc(), and TXXXUnpackProc::TXXXUnpackProc(). |
|
Access name of the associated histogram.
Definition at line 552 of file TGo4Condition.cxx. References fxHistoName. Referenced by TGo4RootBrowserProxy::DrawCondition(). |
|
Set reference to work histogram for statistics functions. Note that this method does not change the histogram link definitions! Definition at line 655 of file TGo4Condition.cxx. References fxCutHis, and fxHisto. Referenced by TGo4RootBrowserProxy::DrawCondition(), TGo4RootBrowserProxy::DrawPicture(), and TGo4CondArrayPainter::PaintCondition(). |
|
access work histogram reference
Definition at line 219 of file TGo4Condition.h. References fxHisto. Referenced by TGo4CondArrayPainter::PaintCondition(), TGo4ConditionPainter::PaintLabel(), and Print(). |
|
Replace default painter of this condition by external one. if different views of this condition shall exist for different TPads, the painter (i.e. view) can be exchanged before pad is updated. Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond. Definition at line 557 of file TGo4Condition.cxx. |
|
Configure graphical update tolerance for this condition individually. by default, update tolerance is set to static value fgdUPDATEEPSILON Definition at line 228 of file TGo4Condition.h. References fdUpdateEpsilon. |
|
Definition at line 230 of file TGo4Condition.h. References fdUpdateEpsilon. Referenced by TGo4WinCondView::ExecuteEvent(), and TGo4PolyCondView::IsCutChanged(). |
|
This will save draw flags into static default setup.
Definition at line 619 of file TGo4Condition.cxx. References fbCMaxDraw, fbIntDraw, fbLabelDraw, fbLimitsDraw, fbXMaxDraw, fbXMeanDraw, fbXRMSDraw, fbYMaxDraw, fbYMeanDraw, fbYRMSDraw, fgbCMAXDRAW, fgbINTDRAW, fgbLABELDRAW, fgbLIMITSDRAW, fgbXMAXDRAW, fgbXMEANDRAW, fgbXRMSDRAW, fgbYMAXDRAW, fgbYMEANDRAW, and fgbYRMSDRAW. Referenced by TGo4WinCondView::SaveLabelStyle(), and TGo4PolyCondView::SaveLabelStyle(). |
|
Initialize label setup from static default variables.
Definition at line 633 of file TGo4Condition.cxx. References fbCMaxDraw, fbIntDraw, fbLabelDraw, fbLimitsDraw, fbXMaxDraw, fbXMeanDraw, fbXRMSDraw, fbYMaxDraw, fbYMeanDraw, fbYRMSDraw, fgbCMAXDRAW, fgbINTDRAW, fgbLABELDRAW, fgbLIMITSDRAW, fgbXMAXDRAW, fgbXMEANDRAW, fgbXRMSDRAW, fgbYMAXDRAW, fgbYMEANDRAW, and fgbYRMSDRAW. Referenced by TGo4Condition(). |
|
Will reset label position to defaults with other option than reset, just pop label to front.
Definition at line 647 of file TGo4Condition.cxx. References fxPainter, TGo4ConditionPainter::PaintLabel(), and TGo4LabelPainter::UnPaintLabel(). Referenced by TGo4WinCondView::ExecuteEvent(), TGo4PolyCondView::ExecuteEvent(), TGo4WinCondView::ResetLabel(), and TGo4PolyCondView::ResetLabel(). |
|
Reimplemented in TGo4CondArray. Definition at line 461 of file TGo4Condition.cxx. References fbLabelDraw. Referenced by TGo4WinCondView::SetLabelDraw(), TGo4PolyCondView::SetLabelDraw(), and TGo4CondArray::SetLabelDraw(). |
|
Reimplemented in TGo4CondArray. Definition at line 466 of file TGo4Condition.cxx. References fbLabelDraw. Referenced by TGo4CondArray::IsLabelDraw(), and TGo4ConditionPainter::PaintLabel(). |
|
Reimplemented in TGo4CondArray. Definition at line 471 of file TGo4Condition.cxx. References fbLimitsDraw. Referenced by TGo4WinCondView::SetLimitsDraw(), TGo4PolyCondView::SetLimitsDraw(), and TGo4CondArray::SetLimitsDraw(). |
|
Reimplemented in TGo4CondArray. Definition at line 476 of file TGo4Condition.cxx. References fbLimitsDraw. Referenced by TGo4CondArray::IsLimitsDraw(), and TGo4ConditionPainter::PaintLabel(). |
|
Reimplemented in TGo4CondArray. Definition at line 481 of file TGo4Condition.cxx. References fbIntDraw. Referenced by TGo4WinCondView::SetIntDraw(), TGo4PolyCondView::SetIntDraw(), and TGo4CondArray::SetIntDraw(). |
|
Reimplemented in TGo4CondArray. Definition at line 485 of file TGo4Condition.cxx. References fbIntDraw. Referenced by TGo4CondArray::IsIntDraw(), and TGo4ConditionPainter::PaintLabel(). |
|
Reimplemented in TGo4CondArray. Definition at line 489 of file TGo4Condition.cxx. References fbXMeanDraw. Referenced by TGo4WinCondView::SetXMeanDraw(), TGo4PolyCondView::SetXMeanDraw(), and TGo4CondArray::SetXMeanDraw(). |
|
Reimplemented in TGo4CondArray. Definition at line 493 of file TGo4Condition.cxx. References fbXMeanDraw. Referenced by TGo4CondArray::IsXMeanDraw(), and TGo4ConditionPainter::PaintLabel(). |
|
Reimplemented in TGo4CondArray. Definition at line 497 of file TGo4Condition.cxx. References fbXRMSDraw. Referenced by TGo4WinCondView::SetXRMSDraw(), TGo4PolyCondView::SetXRMSDraw(), and TGo4CondArray::SetXRMSDraw(). |
|
Reimplemented in TGo4CondArray. Definition at line 501 of file TGo4Condition.cxx. References fbXRMSDraw. Referenced by TGo4CondArray::IsXRMSDraw(), and TGo4ConditionPainter::PaintLabel(). |
|
Reimplemented in TGo4CondArray. Definition at line 505 of file TGo4Condition.cxx. References fbYMeanDraw. Referenced by TGo4WinCondView::SetYMeanDraw(), TGo4PolyCondView::SetYMeanDraw(), and TGo4CondArray::SetYMeanDraw(). |
|
Reimplemented in TGo4CondArray. Definition at line 509 of file TGo4Condition.cxx. References fbYMeanDraw. Referenced by TGo4CondArray::IsYMeanDraw(), and TGo4ConditionPainter::PaintLabel(). |
|
Reimplemented in TGo4CondArray. Definition at line 513 of file TGo4Condition.cxx. References fbYRMSDraw. Referenced by TGo4WinCondView::SetYRMSDraw(), TGo4PolyCondView::SetYRMSDraw(), and TGo4CondArray::SetYRMSDraw(). |
|
Reimplemented in TGo4CondArray. Definition at line 517 of file TGo4Condition.cxx. References fbYRMSDraw. Referenced by TGo4CondArray::IsYRMSDraw(), and TGo4ConditionPainter::PaintLabel(). |
|
Reimplemented in TGo4CondArray. Definition at line 521 of file TGo4Condition.cxx. References fbXMaxDraw. Referenced by TGo4WinCondView::SetXMaxDraw(), TGo4PolyCondView::SetXMaxDraw(), and TGo4CondArray::SetXMaxDraw(). |
|
Reimplemented in TGo4CondArray. Definition at line 525 of file TGo4Condition.cxx. References fbXMaxDraw. Referenced by TGo4CondArray::IsXMaxDraw(), and TGo4ConditionPainter::PaintLabel(). |
|
Reimplemented in TGo4CondArray. Definition at line 529 of file TGo4Condition.cxx. References fbYMaxDraw. Referenced by TGo4WinCondView::SetYMaxDraw(), TGo4PolyCondView::SetYMaxDraw(), and TGo4CondArray::SetYMaxDraw(). |
|
Reimplemented in TGo4CondArray. Definition at line 533 of file TGo4Condition.cxx. References fbYMaxDraw. Referenced by TGo4CondArray::IsYMaxDraw(), and TGo4ConditionPainter::PaintLabel(). |
|
Reimplemented in TGo4CondArray. Definition at line 537 of file TGo4Condition.cxx. References fbCMaxDraw. Referenced by TGo4WinCondView::SetCMaxDraw(), TGo4PolyCondView::SetCMaxDraw(), and TGo4CondArray::SetCMaxDraw(). |
|
Reimplemented in TGo4CondArray. Definition at line 541 of file TGo4Condition.cxx. References fbCMaxDraw. Referenced by TGo4CondArray::IsCMaxDraw(), and TGo4ConditionPainter::PaintLabel(). |
|
Reimplemented in TGo4CondArray. Definition at line 274 of file TGo4Condition.h. References fiIsChanged. Referenced by TGo4WinCondView::ExecuteEvent(), TGo4CondArray::SetChanged(), TGo4PolyCondView::UpdateCondition(), and TGo4BrowserProxy::UpdateObjectContent(). |
|
Reimplemented in TGo4CondArray. Definition at line 275 of file TGo4Condition.h. References fiIsChanged. Referenced by TGo4CondArray::IsChanged(). |
|
Definition at line 277 of file TGo4Condition.h. References fbMultiEdit. |
|
|
Definition at line 280 of file TGo4Condition.h. References fiDim. Referenced by TGo4WinCond::SetValues(), TGo4PolyCond::TGo4PolyCond(), and TGo4WinCond::UpdateFrom(). |
|
Definition at line 281 of file TGo4Condition.h. References fiDim. Referenced by TGo4WinCond::GetValues(), GetValues(), TGo4WinCondPainter::PaintCondition(), TGo4ConditionPainter::PaintLabel(), TGo4WinCond::PrintCondition(), TGo4WinCondView::SetToLimits(), and UpdateFrom(). |
|
Definition at line 283 of file TGo4Condition.h. References fbOwnedByEditor. Referenced by TGo4CondArrayPainter::PaintCondition(). |
|
Definition at line 284 of file TGo4Condition.h. References fbOwnedByEditor. Referenced by TGo4PolyCondView::DeleteRegion(). |
|
set index for array type subclasses
Reimplemented in TGo4CondArray. Definition at line 353 of file TGo4Condition.cxx. |
|
get index for array type subclasses
Reimplemented in TGo4CondArray. Definition at line 354 of file TGo4Condition.cxx. |
|
for condition aggregates: return total number of conditions, i.e.size of condition array
Reimplemented in TGo4CondArray. Definition at line 359 of file TGo4Condition.cxx. |
|
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond. Definition at line 364 of file TGo4Condition.cxx. Referenced by TGo4CondArray::GetMemorySize(). |
|
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond. Definition at line 349 of file TGo4Condition.cxx. Referenced by TGo4CondArray::IsPolygonType(), and Print(). |
|
Reimplemented in TGo4CondArray. Definition at line 350 of file TGo4Condition.cxx. Referenced by TGo4ConditionPainter::PaintLabel(). |
|
Definition at line 662 of file TGo4Condition.cxx. References fxPainter. |
|
Definition at line 345 of file TGo4Condition.h. References fbIsPainted. Referenced by Draw(), TGo4CondArray::Draw(), Paint(), and UnDraw(). |
|
Definition at line 346 of file TGo4Condition.h. References fbIsPainted. Referenced by TGo4CondArray::Draw(), and Paint(). |
|
Definition at line 37 of file TGo4Condition.h. |
|
default value for graphical update tolerance.
Definition at line 30 of file TGo4Condition.cxx. Referenced by TGo4Condition(). |
|
default setting for all conditions for label draw on/off flag.
Definition at line 32 of file TGo4Condition.cxx. Referenced by TGo4QSettings::getBasicSettings(), InitLabelStyle(), SaveLabelStyle(), and TGo4QSettings::setBasicSettings(). |
|
default setting for all conditions for label draw limits flag.
Definition at line 33 of file TGo4Condition.cxx. Referenced by TGo4QSettings::getBasicSettings(), InitLabelStyle(), SaveLabelStyle(), and TGo4QSettings::setBasicSettings(). |
|
default setting for all conditions for label draw integral flag.
Definition at line 34 of file TGo4Condition.cxx. Referenced by TGo4QSettings::getBasicSettings(), InitLabelStyle(), SaveLabelStyle(), and TGo4QSettings::setBasicSettings(). |
|
default setting for all conditions for label draw xmean flag.
Definition at line 35 of file TGo4Condition.cxx. Referenced by TGo4QSettings::getBasicSettings(), InitLabelStyle(), SaveLabelStyle(), and TGo4QSettings::setBasicSettings(). |
|
default setting for all conditions for label draw xrms flag.
Definition at line 36 of file TGo4Condition.cxx. Referenced by TGo4QSettings::getBasicSettings(), InitLabelStyle(), SaveLabelStyle(), and TGo4QSettings::setBasicSettings(). |
|
default setting for all conditions for label draw ymean flag.
Definition at line 37 of file TGo4Condition.cxx. Referenced by TGo4QSettings::getBasicSettings(), InitLabelStyle(), SaveLabelStyle(), and TGo4QSettings::setBasicSettings(). |
|
default setting for all conditions for label draw yrms flag.
Definition at line 38 of file TGo4Condition.cxx. Referenced by TGo4QSettings::getBasicSettings(), InitLabelStyle(), SaveLabelStyle(), and TGo4QSettings::setBasicSettings(). |
|
default setting for all conditions for label draw xmax flag.
Definition at line 39 of file TGo4Condition.cxx. Referenced by TGo4QSettings::getBasicSettings(), InitLabelStyle(), SaveLabelStyle(), and TGo4QSettings::setBasicSettings(). |
|
default setting for all conditions for label draw ymax flag.
Definition at line 40 of file TGo4Condition.cxx. Referenced by TGo4QSettings::getBasicSettings(), InitLabelStyle(), SaveLabelStyle(), and TGo4QSettings::setBasicSettings(). |
|
default setting for all conditions for label draw cmax flag.
Definition at line 41 of file TGo4Condition.cxx. Referenced by TGo4QSettings::getBasicSettings(), InitLabelStyle(), SaveLabelStyle(), and TGo4QSettings::setBasicSettings(). |
|
Painter instance to display the condition in root pad. To be used in Paint() which is called on TPad::Update automatically for all TObjects appended to the pad. Definition at line 338 of file TGo4Condition.h. Referenced by DeletePainter(), Paint(), Pop(), ResetLabel(), TGo4WinCond::SetPainter(), TGo4PolyCond::SetPainter(), TGo4CondArray::SetPainter(), UnDraw(), TGo4CondArray::~TGo4CondArray(), and ~TGo4Condition(). |
|
temporary histogram used to calculate statistics on polygon cuts. Will be recalculated only if boundaries habe changed. Definition at line 343 of file TGo4Condition.h. Referenced by TGo4PolyCond::GetCMax(), TGo4PolyCond::GetCut(), TGo4PolyCond::GetIntegral(), TGo4PolyCond::GetMean(), TGo4PolyCond::GetRMS(), TGo4PolyCond::GetXMax(), TGo4PolyCond::GetYMax(), TGo4PolyCond::SetValues(), TGo4PolyCond::SetValuesDirect(), SetWorkHistogram(), TGo4PolyCond::UpdateFrom(), and ~TGo4Condition(). |
|
Dimension (1 or 2).
Definition at line 351 of file TGo4Condition.h. Referenced by GetDimension(), SetDimension(), TGo4Condition(), and UpdateFrom(). |
|
Definition at line 353 of file TGo4Condition.h. Referenced by GetFlags(), MarkReset(), SetFlags(), TGo4Condition(), and UpdateFrom(). |
|
This can be used to store the last result by SetLast(bool). It can then be retrieved by GetLast() without new testing. Definition at line 357 of file TGo4Condition.h. Referenced by GetFlags(), GetLast(), SetFlags(), and SetLast(). |
|
These are inverted by Invert(true), and restored by Invert(false).
Definition at line 360 of file TGo4Condition.h. Referenced by GetFlags(), Invert(), IsTrue(), Print(), PrintCondition(), SetFlags(), TGo4Condition(), and UpdateFrom(). |
|
These are inverted by Invert(true), and restored by Invert(false).
Definition at line 363 of file TGo4Condition.h. Referenced by GetFlags(), Invert(), IsFalse(), SetFlags(), TGo4Condition(), and UpdateFrom(). |
|
Counts the number of calls of the Test method with true result.
Definition at line 366 of file TGo4Condition.h. Referenced by IncTrueCounts(), PrintBar(), PrintCondition(), ResetCounts(), SetCounts(), TGo4Condition(), TrueCounts(), and UpdateFrom(). |
|
Counts the number of calls of the Test method.
Definition at line 369 of file TGo4Condition.h. Referenced by Counts(), IncCounts(), PrintBar(), PrintCondition(), ResetCounts(), SetCounts(), Test(), TGo4Condition(), and UpdateFrom(). |
|
Flag to enable/disable this condition. Disabled condition will always return fbResult. Counters are incremented even if disabled. After instantiation, fbEnabled will be false and fbResult true. Definition at line 375 of file TGo4Condition.h. Referenced by Disable(), Enable(), GetFlags(), IsEnabled(), Print(), PrintCondition(), SetFlags(), TGo4Condition(), and UpdateFrom(). |
|
If fbEnabled is false, return this as result.
Definition at line 378 of file TGo4Condition.h. Referenced by Disable(), FixedResult(), GetFlags(), Print(), PrintCondition(), SetFlags(), TGo4Condition(), and UpdateFrom(). |
|
Flag to indicate that properties of all conditions in array are edited/used. for use in TGo4CondArray or other multi-condition implementations Definition at line 382 of file TGo4Condition.h. Referenced by IsMultiEdit(), SetMultiEdit(), TGo4Condition(), and UpdateFrom(). |
|
Property to store visibility of condition on display.
Definition at line 385 of file TGo4Condition.h. Referenced by IsVisible(), SetVisible(), TGo4Condition(), and UpdateFrom(). |
|
is true if this condition has link to a histogram name
Definition at line 388 of file TGo4Condition.h. Referenced by IsHistogramLink(), PrintCondition(), SetHistogram(), SetHistogramLink(), TGo4Condition(), and UpdateFrom(). |
|
contains associatied histogram name
Definition at line 391 of file TGo4Condition.h. Referenced by GetLinkedHistogram(), PrintCondition(), SetHistogram(), and UpdateFrom(). |
|
Precision for the check if graphical representation change requires update.
Definition at line 394 of file TGo4Condition.h. Referenced by GetUpdateEpsilon(), SetUpdateEpsilon(), TGo4Condition(), and UpdateFrom(). |
|
If true, draw corresponding value as label on working pad.
Definition at line 397 of file TGo4Condition.h. Referenced by InitLabelStyle(), IsLabelDraw(), SaveLabelStyle(), SetLabelDraw(), and UpdateFrom(). |
|
If true, draw corresponding value as label on working pad.
Definition at line 400 of file TGo4Condition.h. Referenced by InitLabelStyle(), IsLimitsDraw(), SaveLabelStyle(), and SetLimitsDraw(). |
|
If true, draw corresponding value as label on working pad.
Definition at line 403 of file TGo4Condition.h. Referenced by InitLabelStyle(), IsIntDraw(), SaveLabelStyle(), SetIntDraw(), and UpdateFrom(). |
|
If true, draw corresponding value as label on working pad.
Definition at line 406 of file TGo4Condition.h. Referenced by InitLabelStyle(), IsXMeanDraw(), SaveLabelStyle(), SetXMeanDraw(), and UpdateFrom(). |
|
If true, draw corresponding value as label on working pad.
Definition at line 409 of file TGo4Condition.h. Referenced by InitLabelStyle(), IsXRMSDraw(), SaveLabelStyle(), SetXRMSDraw(), and UpdateFrom(). |
|
If true, draw corresponding value as label on working pad.
Definition at line 412 of file TGo4Condition.h. Referenced by InitLabelStyle(), IsYMeanDraw(), SaveLabelStyle(), SetYMeanDraw(), and UpdateFrom(). |
|
If true, draw corresponding value as label on working pad.
Definition at line 415 of file TGo4Condition.h. Referenced by InitLabelStyle(), IsYRMSDraw(), SaveLabelStyle(), SetYRMSDraw(), and UpdateFrom(). |
|
If true, draw corresponding value as label on working pad.
Definition at line 418 of file TGo4Condition.h. Referenced by InitLabelStyle(), IsXMaxDraw(), SaveLabelStyle(), SetXMaxDraw(), and UpdateFrom(). |
|
If true, draw corresponding value as label on working pad.
Definition at line 421 of file TGo4Condition.h. Referenced by InitLabelStyle(), IsYMaxDraw(), SaveLabelStyle(), SetYMaxDraw(), and UpdateFrom(). |
|
If true, draw corresponding value as label on working pad.
Definition at line 424 of file TGo4Condition.h. Referenced by InitLabelStyle(), IsCMaxDraw(), SaveLabelStyle(), SetCMaxDraw(), and UpdateFrom(). |
|
Reference to currently used histogram (for statistics boxes). This is _not_ necessarily the same histogram as specified in the linked histogram! Definition at line 428 of file TGo4Condition.h. Referenced by GetWorkHistogram(), and SetWorkHistogram(). |
|
Counter indicate how many times condition was changed from graphical view.
Definition at line 431 of file TGo4Condition.h. Referenced by IsChanged(), and SetChanged(). |
|
Flag to prevent Paint() method to redraw condition views after UnDraw. Problem with Paint() called from ROOT event loop. Definition at line 435 of file TGo4Condition.h. Referenced by IsPainted(), SetPainted(), and TGo4Condition(). |
|
Flag to suppress interactive deletion of condition.
Definition at line 438 of file TGo4Condition.h. Referenced by IsOwnedByEditor(), SetOwnedByEditor(), and TGo4Condition(). |
|
This allows to treat conditions streamed into pad.
Definition at line 441 of file TGo4Condition.h. Referenced by Paint(), and TGo4Condition(). |