GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
|
#include <TGo4Condition.h>
Public Member Functions | |
TGo4Condition () | |
TGo4Condition (const char *name, const char *title="Go4 Condition") | |
virtual | ~TGo4Condition () |
void | Paint (Option_t *opt="") override |
void | Draw (Option_t *opt="") override |
virtual void | UnDraw (Option_t *opt="") |
void | Pop () override |
virtual TGo4ConditionPainter * | CreatePainter () |
virtual Int_t | Counts () |
virtual Int_t | TrueCounts () |
virtual void | ResetCounts () |
virtual void | SetCounts (Int_t truecounts, Int_t counts) |
virtual void | Disable (Bool_t result) |
virtual void | Enable () |
Bool_t | IsEnabled () const |
virtual Bool_t | Test () |
virtual Bool_t | Test (Double_t x, Double_t y) |
virtual Bool_t | Test (Double_t x) |
virtual void | SetValues () |
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) |
void | IncCounts () |
void | IncTrueCounts () |
Bool_t | IsTrue () const |
Bool_t | IsFalse () const |
Bool_t | FixedResult () const |
virtual void | Invert (Bool_t on) |
virtual void | PrintCondition (Bool_t full=kTRUE) |
virtual void | PrintBar () |
void | Print (Option_t *opt="") const override |
void | SetLast (Bool_t value) |
Bool_t | GetLast () const |
virtual Bool_t | UpdateFrom (TGo4Condition *cond, Bool_t counts) |
virtual Bool_t | UpdateFromUrl (const char *rest_url_opt) |
virtual void | GetValues (Int_t &dim, Double_t &x1, Double_t &y1, Double_t &x2, Double_t &y2) |
virtual Double_t | GetXLow () const |
virtual Double_t | GetXUp () const |
virtual Double_t | GetYLow () const |
virtual Double_t | GetYUp () const |
virtual TCutG * | GetCut (Bool_t owner) |
virtual Double_t | GetIntegral (TH1 *, Option_t *="") |
virtual Double_t | GetMean (TH1 *, Int_t=1) |
virtual Double_t | GetRMS (TH1 *, Int_t=1) |
virtual Double_t | GetSkewness (TH1 *, Int_t=1) |
virtual Double_t | GetCurtosis (TH1 *, Int_t=1) |
virtual Double_t | GetXMax (TH1 *) |
virtual Double_t | GetYMax (TH1 *) |
virtual Double_t | GetCMax (TH1 *) |
virtual const TGo4Condition * | GetActiveCondition () const |
virtual void | MarkReset (Bool_t on) |
void | Clear (Option_t *opt="") override |
virtual void | SetFlags (Bool_t enabled, Bool_t lastresult, Bool_t markreset, Bool_t result, Bool_t truevalue, Bool_t falsevalue) |
virtual void | GetFlags (Bool_t *enabled, Bool_t *lastresult, Bool_t *markreset, Bool_t *result, Bool_t *truevalue, Bool_t *falsevalue) |
virtual void | SetVisible (Bool_t on) |
virtual Bool_t | IsVisible () const |
void | SetHistogramLink (Bool_t on) |
Bool_t | IsHistogramLink () const |
void | SetHistogram (const char *name) |
const char * | GetLinkedHistogram () const |
virtual void | SetWorkHistogram (TH1 *histo) |
TH1 * | GetWorkHistogram () const |
virtual void | SetPainter (TGo4ConditionPainter *painter) |
void | SetUpdateEpsilon (Double_t val) |
Double_t | GetUpdateEpsilon () const |
void | SaveLabelStyle () |
void | InitLabelStyle () |
void | ResetLabel (Option_t *opt="reset") |
virtual void | SetLabelDraw (Bool_t on) |
virtual Bool_t | IsLabelDraw () const |
virtual void | SetLimitsDraw (Bool_t on) |
virtual Bool_t | IsLimitsDraw () const |
virtual void | SetIntDraw (Bool_t on) |
virtual Bool_t | IsIntDraw () const |
virtual void | SetXMeanDraw (Bool_t on) |
virtual Bool_t | IsXMeanDraw () const |
virtual void | SetXRMSDraw (Bool_t on) |
virtual Bool_t | IsXRMSDraw () const |
virtual void | SetYMeanDraw (Bool_t on) |
virtual Bool_t | IsYMeanDraw () const |
virtual void | SetYRMSDraw (Bool_t on) |
virtual Bool_t | IsYRMSDraw () const |
virtual void | SetXMaxDraw (Bool_t on) |
virtual Bool_t | IsXMaxDraw () const |
virtual void | SetYMaxDraw (Bool_t on) |
virtual Bool_t | IsYMaxDraw () const |
virtual void | SetCMaxDraw (Bool_t on) |
virtual Bool_t | IsCMaxDraw () const |
virtual void | SetLabelNumFormat (const char *fmt) |
virtual const char * | GetLabelNumFormat () const |
virtual void | SetChanged (Bool_t on=kTRUE) |
virtual Int_t | IsChanged () const |
void | SetMultiEdit (Bool_t on) |
virtual Bool_t | IsMultiEdit () const |
void | SetDimension (Int_t d) |
Int_t | GetDimension () const |
void | SetOwnedByEditor (Bool_t on) |
Bool_t | IsOwnedByEditor () const |
virtual void | SetCurrentIndex (Int_t) |
virtual Int_t | GetCurrentIndex () const |
virtual Int_t | GetNumberOfConditions () const |
virtual Int_t | GetMemorySize () const |
virtual Bool_t | IsPolygonType () const |
virtual Bool_t | IsArrayType () const |
void | DeletePainter () |
Static Public Member Functions | |
static void | SetGlobalStyle (Bool_t LABELDRAW, Bool_t LIMITSDRAW, Bool_t INTDRAW, Bool_t XMEANDRAW, Bool_t YMEANDRAW, Bool_t XRMSDRAW, Bool_t YRMSDRAW, Bool_t XMAXDRAW, Bool_t YMAXDRAW, Bool_t CMAXDRAW, const char *NUMFORMAT) |
static void | GetGlobalStyle (Bool_t &LABELDRAW, Bool_t &LIMITSDRAW, Bool_t &INTDRAW, Bool_t &XMEANDRAW, Bool_t &YMEANDRAW, Bool_t &XRMSDRAW, Bool_t &YRMSDRAW, Bool_t &XMAXDRAW, Bool_t &YMAXDRAW, Bool_t &CMAXDRAW, TString &NUMFORMAT) |
Static Public Attributes | |
static const Double_t | fgdUPDATEEPSILON = 0.01 |
static Bool_t | fgbLABELDRAW =kTRUE |
static Bool_t | fgbLIMITSDRAW =kTRUE |
static Bool_t | fgbINTDRAW =kTRUE |
static Bool_t | fgbXMEANDRAW =kTRUE |
static Bool_t | fgbXRMSDRAW =kTRUE |
static Bool_t | fgbYMEANDRAW =kFALSE |
static Bool_t | fgbYRMSDRAW =kFALSE |
static Bool_t | fgbXMAXDRAW =kTRUE |
static Bool_t | fgbYMAXDRAW =kFALSE |
static Bool_t | fgbCMAXDRAW =kTRUE |
static TString | fgxNUMFORMAT ="%.4E" |
static TString | fgxURL_RESET ="resetcounters" |
static TString | fgxURL_RESULT ="resultmode" |
static TString | fgxURL_INVERT ="invertmode" |
static TString | fgxURL_VISIBLE ="visible" |
static TString | fgxURL_LABEL ="labeldraw" |
static TString | fgxURL_LIMITS ="limitsdraw" |
static TString | fgxURL_INTEGRAL ="intdraw" |
static TString | fgxURL_XMEAN ="xmeandraw" |
static TString | fgxURL_XRMS ="xrmsdraw" |
static TString | fgxURL_YMEAN ="ymeandraw" |
static TString | fgxURL_YRMS ="yrmsdraw" |
static TString | fgxURL_XMAX ="xmaxdraw" |
static TString | fgxURL_YMAX ="ymaxdraw" |
static TString | fgxURL_CMAX ="cmaxdraw" |
Protected Member Functions | |
void | BuildUrlOptionArray (const char *rest_url_opt) |
Bool_t | UrlOptionHasKey (const char *key) |
TString | GetUrlOptionAsString (const char *key, TString def_value) |
Int_t | GetUrlOptionAsInt (const char *key, Int_t def_value) |
Double_t | GetUrlOptionAsDouble (const char *key, Double_t def_value) |
void | SetPainted (Bool_t on) |
Bool_t | IsPainted () const |
const char * | MakeScript (std::ostream &out, const char *varname, Option_t *opt="", const char *arrextraargs=nullptr) |
Protected Attributes | |
TGo4ConditionPainter * | fxPainter {nullptr} |
TObjArray * | fxUrlOptionArray {nullptr} |
Private Attributes | |
Int_t | fiDim {0} |
Bool_t | fbMarkReset {kFALSE} |
Bool_t | fbLastResult {kFALSE} |
Bool_t | fbTrue {kTRUE} |
Bool_t | fbFalse {kFALSE} |
Int_t | fiTrueCounts {0} |
Int_t | fiCounts {0} |
Bool_t | fbEnabled {kFALSE} |
Bool_t | fbResult {kFALSE} |
Bool_t | fbMultiEdit {kFALSE} |
Bool_t | fbVisible {kFALSE} |
Bool_t | fbHistogramLink {kFALSE} |
TString | fxHistoName |
Double_t | fdUpdateEpsilon {0} |
Bool_t | fbLabelDraw {kFALSE} |
Bool_t | fbLimitsDraw {kFALSE} |
Bool_t | fbIntDraw {kFALSE} |
Bool_t | fbXMeanDraw {kFALSE} |
Bool_t | fbXRMSDraw {kFALSE} |
Bool_t | fbYMeanDraw {kFALSE} |
Bool_t | fbYRMSDraw {kFALSE} |
Bool_t | fbXMaxDraw {kFALSE} |
Bool_t | fbYMaxDraw {kFALSE} |
Bool_t | fbCMaxDraw {kFALSE} |
TString | fxNumFormat |
TH1 * | fxHisto {nullptr} |
Int_t | fiIsChanged {0} |
Bool_t | fbIsPainted {kFALSE} |
Bool_t | fbOwnedByEditor {kFALSE} |
Bool_t | fbStreamedCondition {kFALSE} |
Friends | |
class | TGo4CondArray |
Definition at line 36 of file TGo4Condition.h.
TGo4Condition::TGo4Condition | ( | ) |
Definition at line 59 of file TGo4Condition.cxx.
References fbEnabled, fbFalse, fbHistogramLink, fbIsPainted, fbMarkReset, fbMultiEdit, fbOwnedByEditor, fbResult, fbStreamedCondition, fbTrue, fbVisible, fdUpdateEpsilon, fgdUPDATEEPSILON, fiCounts, fiDim, fiTrueCounts, GO4TRACE, and InitLabelStyle().
TGo4Condition::TGo4Condition | ( | const char * | name, |
const char * | title = "Go4 Condition" |
||
) |
Definition at line 85 of file TGo4Condition.cxx.
References fbEnabled, fbFalse, fbHistogramLink, fbIsPainted, fbMarkReset, fbMultiEdit, fbOwnedByEditor, fbResult, fbStreamedCondition, fbTrue, fbVisible, fdUpdateEpsilon, fgdUPDATEEPSILON, fiCounts, fiDim, fiTrueCounts, GO4TRACE, and InitLabelStyle().
|
virtual |
Definition at line 111 of file TGo4Condition.cxx.
References fxPainter, fxUrlOptionArray, and GO4TRACE.
|
virtual |
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 logical "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 135 of file TGo4Condition.cxx.
References GO4TRACE.
Referenced by SetValues().
|
protected |
re-build the list of url options from string
Definition at line 329 of file TGo4Condition.cxx.
References fxUrlOptionArray.
Referenced by UpdateFromUrl().
|
override |
Definition at line 520 of file TGo4Condition.cxx.
References ResetCounts().
Referenced by GetActiveCondition().
|
virtual |
Return number of calls of the Test method.
Reimplemented in TGo4CondArray.
Definition at line 152 of file TGo4Condition.cxx.
References fiCounts, and GO4TRACE.
Referenced by TGo4CondArray::Counts(), MakeScript(), Print(), TGo4ConditionInfo::RefreshWidget(), and TGo4CondArray::TrueCounts().
|
virtual |
Factory method to generate the subclass implementation for painter
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.
Definition at line 633 of file TGo4Condition.cxx.
void TGo4Condition::DeletePainter | ( | ) |
Definition at line 711 of file TGo4Condition.cxx.
References fxPainter.
Referenced by IsArrayType(), and TGo4ViewPanel::MakePictureForPad().
|
virtual |
Freeze condition, on Test() return result. This overwrites inverted result, but does not change it
Reimplemented in TGo4CondArray.
Definition at line 547 of file TGo4Condition.cxx.
References fbEnabled, and fbResult.
Referenced by TGo4CondArray::Disable(), TGo4ConditionEditor::SetResultMode(), TXXXUnpackProc::TXXXUnpackProc(), TYYYUnpackProc::TYYYUnpackProc(), and UpdateFromUrl().
|
override |
Draw this condition on current pad
Definition at line 601 of file TGo4Condition.cxx.
References IsVisible(), SetPainted(), and UnDraw().
Referenced by TGo4CondArray::Draw(), TGo4RootBrowserProxy::DrawCondition(), TGo4RootBrowserProxy::DrawPicture(), and TGo4ViewPanel::PadClickedSlot().
|
virtual |
Enable (unfreeze) Test execution
Reimplemented in TGo4CondArray.
Definition at line 553 of file TGo4Condition.cxx.
References fbEnabled.
Referenced by TGo4CondArray::Enable(), TGo4CreateNewCondition::MakeCondition(), TGo4Analysis::MakeEllipseCond(), TGo4Analysis::MakeListCond(), TGo4Analysis::MakeWinCond(), TGo4ConditionEditor::SetResultMode(), TXXXUnpackProc::TXXXUnpackProc(), and UpdateFromUrl().
|
inline |
Returns the value set by Disable(value).
Definition at line 129 of file TGo4Condition.h.
References fbResult, Invert(), Print(), PrintBar(), and PrintCondition().
Referenced by TGo4ConditionInfo::RefreshWidget(), TGo4ListCond::Test(), TGo4WinCond::Test(), and TGo4PolyCond::Test().
|
inlinevirtual |
To be overwritten for condition array. By default, it returns this.
Reimplemented in TGo4CondArray.
Definition at line 190 of file TGo4Condition.h.
References Clear(), GetFlags(), MarkReset(), and SetFlags().
Referenced by Print().
|
inlinevirtual |
Calculate value for histogram inside condition limits.
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.
Definition at line 187 of file TGo4Condition.h.
Referenced by TGo4CondArray::GetCMax(), TGo4ConditionPainter::PaintLabel(), and Print().
|
inlinevirtual |
get index for array type subclasses
Reimplemented in TGo4CondArray.
Definition at line 311 of file TGo4Condition.h.
|
inlinevirtual |
Calculate value for histogram inside condition limits.
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.
Definition at line 178 of file TGo4Condition.h.
Referenced by TGo4CondArray::GetCurtosis().
|
inlinevirtual |
Reimplemented in TGo4PolyCond.
Definition at line 162 of file TGo4Condition.h.
|
inline |
Definition at line 302 of file TGo4Condition.h.
References fiDim.
Referenced by TGo4WinCond::GetValues(), GetValues(), TGo4ViewPanel::PadClickedSlot(), TGo4WinCondPainter::PaintCondition(), TGo4ConditionPainter::PaintLabel(), Print(), TGo4WinCond::PrintCondition(), TGo4ConditionEditor::RefreshWidget(), TGo4ConditionInfo::RefreshWidget(), TGo4WinCondView::SetToLimits(), UpdateFrom(), TGo4WinCond::UpdateFromUrl(), and TGo4ConditionEditor::UpdateLimits().
|
virtual |
Sets values of internal boolean flags to external variables. Overwritten in TGo4CondArray.
Reimplemented in TGo4CondArray.
Definition at line 525 of file TGo4Condition.cxx.
References fbEnabled, fbFalse, fbLastResult, fbMarkReset, fbResult, and fbTrue.
Referenced by GetActiveCondition(), TGo4CondArray::GetFlags(), and MakeScript().
|
static |
Definition at line 685 of file TGo4Condition.cxx.
References fgbCMAXDRAW, fgbINTDRAW, fgbLABELDRAW, fgbLIMITSDRAW, fgbXMAXDRAW, fgbXMEANDRAW, fgbXRMSDRAW, fgbYMAXDRAW, fgbYMEANDRAW, fgbYRMSDRAW, and fgxNUMFORMAT.
Referenced by TGo4QSettings::setBasicSettings(), and TGo4MarkerSettings::TGo4MarkerSettings().
|
inlinevirtual |
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 166 of file TGo4Condition.h.
Referenced by TGo4CondArray::GetIntegral(), TGo4ConditionPainter::PaintLabel(), and Print().
|
inlinevirtual |
Definition at line 287 of file TGo4Condition.h.
References fxNumFormat.
Referenced by TGo4ConditionPainter::PaintLabel().
|
inline |
Returns result of last Test.
Definition at line 149 of file TGo4Condition.h.
References fbLastResult, GetValues(), UpdateFrom(), and UpdateFromUrl().
const char * TGo4Condition::GetLinkedHistogram | ( | ) | const |
Access name of the associated histogram.
Definition at line 569 of file TGo4Condition.cxx.
References fxHistoName.
Referenced by TGo4RootBrowserProxy::DrawCondition(), IsHistogramLink(), and TGo4ConditionEditor::RefreshWidget().
|
inlinevirtual |
Calculate value for histogram inside condition limits.
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.
Definition at line 169 of file TGo4Condition.h.
Referenced by TGo4CondArray::GetMean(), TGo4ConditionPainter::PaintLabel(), and Print().
|
virtual |
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.
Definition at line 507 of file TGo4Condition.cxx.
Referenced by TGo4CondArray::GetMemorySize(), GetNumberOfConditions(), and TGo4ConditionInfo::RefreshWidget().
|
inlinevirtual |
for condition aggregates: return total number of conditions, i.e.size of condition array
Reimplemented in TGo4CondArray.
Definition at line 315 of file TGo4Condition.h.
References GetMemorySize().
|
inlinevirtual |
Calculate value for histogram inside condition limits.
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.
Definition at line 172 of file TGo4Condition.h.
Referenced by TGo4CondArray::GetRMS(), TGo4ConditionPainter::PaintLabel(), and Print().
|
inlinevirtual |
Calculate value for histogram inside condition limits.
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.
Definition at line 175 of file TGo4Condition.h.
Referenced by TGo4CondArray::GetSkewness().
|
inline |
Definition at line 241 of file TGo4Condition.h.
References fdUpdateEpsilon.
Referenced by TGo4WinCondView::ExecuteEvent(), and TGo4PolyCondView::IsCutChanged().
|
protected |
Scan list of url options for key. If found, return Double value. If not found, return default value def_value
Definition at line 386 of file TGo4Condition.cxx.
References GetUrlOptionAsString().
Referenced by TGo4WinCond::UpdateFromUrl(), TGo4PolyCond::UpdateFromUrl(), and TGo4ShapedCond::UpdateFromUrl().
|
protected |
Scan list of url options for key. If found, return Integer value. If not found, return default value def_value
Definition at line 377 of file TGo4Condition.cxx.
References GetUrlOptionAsString().
Referenced by TGo4PolyCond::UpdateFromUrl(), TGo4ShapedCond::UpdateFromUrl(), and UpdateFromUrl().
|
protected |
Scan list of url options for key. If found, return TString value. If not found, return default value def_value
Definition at line 356 of file TGo4Condition.cxx.
References fxUrlOptionArray.
Referenced by GetUrlOptionAsDouble(), and GetUrlOptionAsInt().
|
virtual |
Reimplemented in TGo4WinCond.
Definition at line 497 of file TGo4Condition.cxx.
References GetDimension(), GetXLow(), GetXUp(), GetYLow(), and GetYUp().
Referenced by GetLast(), and TGo4WinCond::UpdateFrom().
|
inline |
access work histogram reference
Definition at line 230 of file TGo4Condition.h.
References fxHisto, and SetPainter().
Referenced by TGo4ViewPanel::CheckObjectsAssigments(), TGo4CondArrayPainter::PaintCondition(), TGo4ConditionPainter::PaintLabel(), and Print().
|
inlinevirtual |
Reimplemented in TGo4CondArray, TGo4ListCond, TGo4PolyCond, and TGo4WinCond.
Definition at line 158 of file TGo4Condition.h.
Referenced by GetValues(), TGo4CondArray::GetXLow(), TGo4ConditionPainter::PaintLabel(), and Print().
|
inlinevirtual |
Calculate value for histogram inside condition limits.
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.
Definition at line 181 of file TGo4Condition.h.
Referenced by TGo4CondArray::GetXMax(), TGo4ConditionPainter::PaintLabel(), and Print().
|
inlinevirtual |
Reimplemented in TGo4CondArray, TGo4ListCond, TGo4PolyCond, and TGo4WinCond.
Definition at line 159 of file TGo4Condition.h.
Referenced by GetValues(), TGo4CondArray::GetXUp(), TGo4ConditionPainter::PaintLabel(), and Print().
|
inlinevirtual |
Reimplemented in TGo4CondArray, TGo4ListCond, TGo4PolyCond, and TGo4WinCond.
Definition at line 160 of file TGo4Condition.h.
Referenced by GetValues(), TGo4CondArray::GetYLow(), TGo4ConditionPainter::PaintLabel(), and Print().
|
inlinevirtual |
Calculate value for histogram inside condition limits.
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.
Definition at line 184 of file TGo4Condition.h.
Referenced by TGo4CondArray::GetYMax(), TGo4ConditionPainter::PaintLabel(), and Print().
|
inlinevirtual |
Reimplemented in TGo4CondArray, TGo4ListCond, TGo4PolyCond, and TGo4WinCond.
Definition at line 161 of file TGo4Condition.h.
Referenced by GetValues(), TGo4CondArray::GetYUp(), TGo4ConditionPainter::PaintLabel(), and Print().
void TGo4Condition::IncCounts | ( | ) |
Increment the test counter. User has to take care that this method is called within his/her Test method.
Definition at line 146 of file TGo4Condition.cxx.
References fiCounts, and GO4TRACE.
Referenced by SetValues(), TGo4CounterCond::Test(), TGo4ListCond::Test(), TGo4WinCond::Test(), TGo4PolyCond::Test(), and TGo4CondArray::Test().
void TGo4Condition::IncTrueCounts | ( | ) |
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 140 of file TGo4Condition.cxx.
References fiTrueCounts, and GO4TRACE.
Referenced by SetValues(), TGo4CounterCond::Test(), TGo4ListCond::Test(), TGo4WinCond::Test(), TGo4PolyCond::Test(), and TGo4CondArray::Test().
void TGo4Condition::InitLabelStyle | ( | ) |
Initialize label setup from static default variables
Definition at line 653 of file TGo4Condition.cxx.
References fbCMaxDraw, fbIntDraw, fbLabelDraw, fbLimitsDraw, fbXMaxDraw, fbXMeanDraw, fbXRMSDraw, fbYMaxDraw, fbYMeanDraw, fbYRMSDraw, fgbCMAXDRAW, fgbINTDRAW, fgbLABELDRAW, fgbLIMITSDRAW, fgbXMAXDRAW, fgbXMEANDRAW, fgbXRMSDRAW, fgbYMAXDRAW, fgbYMEANDRAW, fgbYRMSDRAW, fgxNUMFORMAT, and fxNumFormat.
Referenced by TGo4Condition().
|
virtual |
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 180 of file TGo4Condition.cxx.
References fbFalse, fbTrue, and GO4TRACE.
Referenced by FixedResult(), TGo4CondArray::Invert(), TGo4AnalysisObjectManager::MakeWindowCond(), TGo4ConditionEditor::SetInvertMode(), TXXXUnpackProc::TXXXUnpackProc(), TYYYUnpackProc::TYYYUnpackProc(), and UpdateFromUrl().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 320 of file TGo4Condition.h.
References DeletePainter().
Referenced by TGo4ConditionPainter::PaintLabel().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 296 of file TGo4Condition.h.
References fiIsChanged.
Referenced by TGo4CondArray::IsChanged(), and TGo4ViewPanel::RefreshButtons().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 284 of file TGo4Condition.h.
References fbCMaxDraw.
Referenced by TGo4PolyCondView::IsCMaxDraw(), TGo4CondArray::IsCMaxDraw(), and TGo4ConditionPainter::PaintLabel().
|
inline |
Returns true if condition is enabled
Definition at line 82 of file TGo4Condition.h.
References fbEnabled, and Test().
Referenced by TGo4ConditionInfo::RefreshWidget(), TGo4ListCond::Test(), TGo4WinCond::Test(), and TGo4PolyCond::Test().
|
inline |
Use this as return, if test was false. Takes into account inversion, i.e. when condition is inverted, IsFalse returns true.
Definition at line 126 of file TGo4Condition.h.
References fbFalse.
Referenced by TGo4WinCond::Test(), and TGo4PolyCond::Test().
|
inline |
True if the histogram of given name is linked to this
Definition at line 217 of file TGo4Condition.h.
References fbHistogramLink, GetLinkedHistogram(), and SetHistogram().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 263 of file TGo4Condition.h.
References fbIntDraw.
Referenced by TGo4PolyCondView::IsIntDraw(), TGo4CondArray::IsIntDraw(), and TGo4ConditionPainter::PaintLabel().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 257 of file TGo4Condition.h.
References fbLabelDraw.
Referenced by TGo4PolyCondView::IsLabelDraw(), TGo4CondArray::IsLabelDraw(), and TGo4ConditionPainter::PaintLabel().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 260 of file TGo4Condition.h.
References fbLimitsDraw.
Referenced by TGo4PolyCondView::IsLimitsDraw(), TGo4CondArray::IsLimitsDraw(), and TGo4ConditionPainter::PaintLabel().
|
inlinevirtual |
Definition at line 299 of file TGo4Condition.h.
References fbMultiEdit.
Referenced by TGo4CondArray::Counts(), TGo4CondArray::Disable(), TGo4CondArray::Enable(), TGo4CondArray::GetActiveCondition(), TGo4CondArray::GetCMax(), TGo4CondArray::GetCurtosis(), TGo4CondArray::GetFlags(), TGo4CondArray::GetIntegral(), TGo4CondArray::GetMean(), TGo4CondArray::GetRMS(), TGo4CondArray::GetSkewness(), TGo4CondArray::GetXLow(), TGo4CondArray::GetXMax(), TGo4CondArray::GetXUp(), TGo4CondArray::GetYLow(), TGo4CondArray::GetYMax(), TGo4CondArray::GetYUp(), TGo4CondArray::Invert(), TGo4CondArray::IsCMaxDraw(), TGo4CondArray::IsIntDraw(), TGo4CondArray::IsLabelDraw(), TGo4CondArray::IsLimitsDraw(), TGo4CondArray::IsPolygonType(), TGo4CondArray::IsVisible(), TGo4CondArray::IsXMaxDraw(), TGo4CondArray::IsXMeanDraw(), TGo4CondArray::IsXRMSDraw(), TGo4CondArray::IsYMaxDraw(), TGo4CondArray::IsYMeanDraw(), TGo4CondArray::IsYRMSDraw(), TGo4CondArray::MarkReset(), TGo4CondArrayPainter::PaintCondition(), TGo4ConditionPainter::PaintLabel(), TGo4CondArray::ResetCounts(), TGo4CondArray::SetCMaxDraw(), TGo4CondArray::SetIntDraw(), TGo4CondArray::SetLabelDraw(), TGo4CondArray::SetLimitsDraw(), TGo4CondArray::SetValues(), TGo4CondArray::SetVisible(), TGo4CondArray::SetXMaxDraw(), TGo4CondArray::SetXMeanDraw(), TGo4CondArray::SetXRMSDraw(), TGo4CondArray::SetYMaxDraw(), TGo4CondArray::SetYMeanDraw(), TGo4CondArray::SetYRMSDraw(), TGo4CondArray::Test(), and TGo4CondArray::TrueCounts().
|
inline |
Definition at line 305 of file TGo4Condition.h.
References fbOwnedByEditor.
Referenced by TGo4PolyCondView::DeleteRegion().
|
inlineprotected |
Definition at line 422 of file TGo4Condition.h.
References fbIsPainted, and MakeScript().
Referenced by TGo4CondArray::Draw(), and Paint().
|
inlinevirtual |
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.
Definition at line 319 of file TGo4Condition.h.
Referenced by TGo4CondArray::IsPolygonType(), and Print().
|
inline |
Use this as return, if test was true. Takes into account inversion, i.e. when condition is inverted, IsTrue returns false.
Definition at line 122 of file TGo4Condition.h.
References fbTrue.
Referenced by TGo4ConditionInfo::RefreshWidget(), TGo4WinCond::Test(), and TGo4PolyCond::Test().
|
inlinevirtual |
Visibility property for gui display in editor
Reimplemented in TGo4CondArray.
Definition at line 211 of file TGo4Condition.h.
References fbVisible.
Referenced by Draw(), TGo4CondArray::IsVisible(), TGo4WinCondPainter::PaintCondition(), TGo4PolyCondPainter::PaintCondition(), TGo4ConditionPainter::PaintLabel(), and Print().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 278 of file TGo4Condition.h.
References fbXMaxDraw.
Referenced by TGo4PolyCondView::IsXMaxDraw(), TGo4CondArray::IsXMaxDraw(), TGo4ViewPanel::PadClickedSlot(), and TGo4ConditionPainter::PaintLabel().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 266 of file TGo4Condition.h.
References fbXMeanDraw.
Referenced by TGo4PolyCondView::IsXMeanDraw(), TGo4CondArray::IsXMeanDraw(), TGo4ViewPanel::PadClickedSlot(), and TGo4ConditionPainter::PaintLabel().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 269 of file TGo4Condition.h.
References fbXRMSDraw.
Referenced by TGo4PolyCondView::IsXRMSDraw(), TGo4CondArray::IsXRMSDraw(), TGo4ViewPanel::PadClickedSlot(), and TGo4ConditionPainter::PaintLabel().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 281 of file TGo4Condition.h.
References fbYMaxDraw.
Referenced by TGo4PolyCondView::IsYMaxDraw(), TGo4CondArray::IsYMaxDraw(), and TGo4ConditionPainter::PaintLabel().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 272 of file TGo4Condition.h.
References fbYMeanDraw.
Referenced by TGo4PolyCondView::IsYMeanDraw(), TGo4CondArray::IsYMeanDraw(), and TGo4ConditionPainter::PaintLabel().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 275 of file TGo4Condition.h.
References fbYRMSDraw.
Referenced by TGo4PolyCondView::IsYRMSDraw(), TGo4CondArray::IsYRMSDraw(), and TGo4ConditionPainter::PaintLabel().
|
protected |
Definition at line 719 of file TGo4Condition.cxx.
References Counts(), GetFlags(), and TrueCounts().
Referenced by IsPainted(), TGo4WinCond::SavePrimitive(), TGo4PolyCond::SavePrimitive(), and TGo4CondArray::SavePrimitive().
|
virtual |
defines if condition counters shall be reset in UpdateFrom method
Reimplemented in TGo4CondArray.
Definition at line 515 of file TGo4Condition.cxx.
References fbMarkReset.
Referenced by GetActiveCondition(), and TGo4CondArray::MarkReset().
|
override |
Display condition with plain root canvas and in go4 viewpanel
Definition at line 581 of file TGo4Condition.cxx.
References CreatePainter(), fbStreamedCondition, fxPainter, IsPainted(), TGo4ConditionPainter::PaintCondition(), TGo4ConditionPainter::PaintLabel(), TGo4ConditionPainter::SetCondition(), and SetPainted().
Referenced by TGo4CondArrayPainter::PaintCondition().
|
override |
Re-implement TObject method to pop all our views to front
Definition at line 628 of file TGo4Condition.cxx.
References TGo4LabelPainter::DisplayToFront(), and fxPainter.
|
override |
Default printout for root object lists
Definition at line 225 of file TGo4Condition.cxx.
References Counts(), fbEnabled, fbResult, fbTrue, GetActiveCondition(), GetCMax(), GetDimension(), GetIntegral(), GetMean(), GetRMS(), GetWorkHistogram(), GetXLow(), GetXMax(), GetXUp(), GetYLow(), GetYMax(), GetYUp(), IsPolygonType(), IsVisible(), TGo4Log::Message(), PrintBar(), and TrueCounts().
Referenced by FixedResult().
|
virtual |
Prints counters and bar.
Reimplemented in TGo4CondArray.
Definition at line 209 of file TGo4Condition.cxx.
References fiCounts, and fiTrueCounts.
Referenced by FixedResult(), Print(), and TGo4CondArray::PrintBar().
|
virtual |
Prints counters and boolean members.
Reimplemented in TGo4ShapedCond, TGo4CondArray, TGo4PolyCond, TGo4WinCond, TGo4ListCond, and TGo4CounterCond.
Definition at line 188 of file TGo4Condition.cxx.
References fbEnabled, fbHistogramLink, fbResult, fbTrue, fiCounts, fiTrueCounts, and fxHistoName.
Referenced by FixedResult(), TGo4CounterCond::PrintCondition(), TGo4ListCond::PrintCondition(), TGo4WinCond::PrintCondition(), TGo4PolyCond::PrintCondition(), and TGo4CondArray::PrintCondition().
|
virtual |
Clear counters
Reimplemented in TGo4CondArray.
Definition at line 164 of file TGo4Condition.cxx.
References fiCounts, fiTrueCounts, and GO4TRACE.
Referenced by Clear(), TGo4Analysis::MakeEllipseCond(), TGo4Analysis::MakeListCond(), TGo4Analysis::MakePolyCond(), TGo4Analysis::MakeWinCond(), TGo4CondArray::ResetCounts(), UpdateFrom(), and UpdateFromUrl().
void TGo4Condition::ResetLabel | ( | Option_t * | opt = "reset" | ) |
Will reset label position to defaults with other option than reset, just pop label to front
Definition at line 703 of file TGo4Condition.cxx.
References fxPainter, TGo4ConditionPainter::PaintLabel(), and TGo4LabelPainter::UnPaintLabel().
Referenced by TGo4PolyCondView::ExecuteEvent(), TGo4WinCondView::ExecuteEvent(), TGo4WinCondView::ResetLabel(), and TGo4PolyCondView::ResetLabel().
void TGo4Condition::SaveLabelStyle | ( | ) |
This will save draw flags into static default setup
Definition at line 638 of file TGo4Condition.cxx.
References fbCMaxDraw, fbIntDraw, fbLabelDraw, fbLimitsDraw, fbXMaxDraw, fbXMeanDraw, fbXRMSDraw, fbYMaxDraw, fbYMeanDraw, fbYRMSDraw, fgbCMAXDRAW, fgbINTDRAW, fgbLABELDRAW, fgbLIMITSDRAW, fgbXMAXDRAW, fgbXMEANDRAW, fgbXRMSDRAW, fgbYMAXDRAW, fgbYMEANDRAW, fgbYRMSDRAW, fgxNUMFORMAT, and fxNumFormat.
Referenced by TGo4WinCondView::SaveLabelStyle(), and TGo4PolyCondView::SaveLabelStyle().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 289 of file TGo4Condition.h.
References fiIsChanged.
Referenced by TGo4WinCondView::ExecuteEvent(), TGo4ConditionEditor::linkedObjectUpdated(), TGo4ViewPanel::PadClickedSlot(), TGo4CondArray::SetChanged(), TGo4ViewPanel::SetConditionBtn_clicked(), TGo4PolyCondView::UpdateCondition(), and TGo4BrowserProxy::UpdateObjectContent().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 283 of file TGo4Condition.h.
References fbCMaxDraw.
Referenced by TGo4ConditionEditor::ChangeConditionProperty(), TGo4WinCondView::SetCMaxDraw(), TGo4PolyCondView::SetCMaxDraw(), TGo4CondArray::SetCMaxDraw(), and UpdateFromUrl().
|
virtual |
Set counters
Definition at line 171 of file TGo4Condition.cxx.
References fiCounts, fiTrueCounts, and GO4TRACE.
|
inlinevirtual |
set index for array type subclasses
Reimplemented in TGo4CondArray.
Definition at line 308 of file TGo4Condition.h.
|
inline |
Definition at line 301 of file TGo4Condition.h.
References fiDim.
Referenced by TGo4WinCond::SetValues(), TGo4ListCond::TGo4ListCond(), TGo4PolyCond::TGo4PolyCond(), and TGo4WinCond::UpdateFrom().
|
virtual |
Sets values of external boolean flags to internal variables. Overwritten in TGo4CondArray.
Definition at line 536 of file TGo4Condition.cxx.
References fbEnabled, fbFalse, fbLastResult, fbMarkReset, fbResult, and fbTrue.
Referenced by GetActiveCondition().
|
static |
Definition at line 668 of file TGo4Condition.cxx.
References fgbCMAXDRAW, fgbINTDRAW, fgbLABELDRAW, fgbLIMITSDRAW, fgbXMAXDRAW, fgbXMEANDRAW, fgbXRMSDRAW, fgbYMAXDRAW, fgbYMEANDRAW, fgbYRMSDRAW, and fgxNUMFORMAT.
Referenced by TGo4QSettings::getBasicSettings(), and TGo4MarkerSettings::setFlags().
void TGo4Condition::SetHistogram | ( | const char * | name | ) |
Define the name of the associated histogram.
Definition at line 558 of file TGo4Condition.cxx.
References fbHistogramLink, and fxHistoName.
Referenced by IsHistogramLink(), TGo4Analysis::MakeEllipseCond(), TGo4Analysis::MakeListCond(), TGo4Analysis::MakeWinCond(), TGo4AnalysisObjectManager::MakeWindowCond(), and TXXXUnpackProc::TXXXUnpackProc().
|
inline |
Define if this condition has association with an analysis histogram
Definition at line 214 of file TGo4Condition.h.
References fbHistogramLink.
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 262 of file TGo4Condition.h.
References fbIntDraw.
Referenced by TGo4ConditionEditor::ChangeConditionProperty(), TGo4WinCondView::SetIntDraw(), TGo4PolyCondView::SetIntDraw(), TGo4CondArray::SetIntDraw(), and UpdateFromUrl().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 256 of file TGo4Condition.h.
References fbLabelDraw.
Referenced by TGo4ConditionEditor::ChangeConditionProperty(), TGo4WinCondView::SetLabelDraw(), TGo4PolyCondView::SetLabelDraw(), TGo4CondArray::SetLabelDraw(), and UpdateFromUrl().
|
inlinevirtual |
Definition at line 286 of file TGo4Condition.h.
References fxNumFormat.
Referenced by TGo4WinCondView::SetNumFormat().
|
inline |
Can be used in Test to store the result. Is retrieved by GetLast() without further test.
Definition at line 146 of file TGo4Condition.h.
References fbLastResult.
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 259 of file TGo4Condition.h.
References fbLimitsDraw.
Referenced by TGo4ConditionEditor::ChangeConditionProperty(), TGo4WinCondView::SetLimitsDraw(), TGo4PolyCondView::SetLimitsDraw(), TGo4CondArray::SetLimitsDraw(), and UpdateFromUrl().
|
inline |
Definition at line 298 of file TGo4Condition.h.
References fbMultiEdit.
Referenced by TGo4ConditionEditor::SelectedCondition().
|
inline |
Definition at line 304 of file TGo4Condition.h.
References fbOwnedByEditor.
Referenced by TGo4CondArrayPainter::PaintCondition().
|
inlineprotected |
Definition at line 421 of file TGo4Condition.h.
References fbIsPainted.
Referenced by TGo4CondArray::Draw(), Draw(), Paint(), and UnDraw().
|
virtual |
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 574 of file TGo4Condition.cxx.
Referenced by GetWorkHistogram().
|
inline |
Configure graphical update tolerance for this condition individually. by default, update tolerance is set to static value fgdUPDATEEPSILON
Definition at line 239 of file TGo4Condition.h.
References fdUpdateEpsilon.
|
inlinevirtual |
Set values needed, i.e. limits for windows or cuts for polygons
Reimplemented in TGo4CounterCond.
Definition at line 93 of file TGo4Condition.h.
Referenced by TGo4ShapedCond::ResetPolygon(), TGo4CondArray::SetValues(), TGo4ListCond::TGo4ListCond(), TGo4WinCond::UpdateFromUrl(), TGo4PolyCond::UpdateFromUrl(), and TGo4ConditionEditor::UpdateLimits().
|
inlinevirtual |
Reimplemented in TGo4CondArray, and TGo4WinCond.
Definition at line 94 of file TGo4Condition.h.
|
inlinevirtual |
Reimplemented in TGo4CondArray, and TGo4WinCond.
Definition at line 95 of file TGo4Condition.h.
|
inlinevirtual |
Reimplemented in TGo4CondArray, and TGo4PolyCond.
Definition at line 96 of file TGo4Condition.h.
|
inlinevirtual |
Reimplemented in TGo4PolyCond.
Definition at line 97 of file TGo4Condition.h.
References AddCondition(), IncCounts(), and IncTrueCounts().
|
inlinevirtual |
Set/Unset visibility. Overloaded for subclasses!
Reimplemented in TGo4CondArray.
Definition at line 208 of file TGo4Condition.h.
References fbVisible.
Referenced by TGo4ConditionEditor::ChangeConditionProperty(), TGo4CondArray::SetVisible(), and UpdateFromUrl().
|
inlinevirtual |
Set reference to work histogram for statistics functions. Note that this method does not change the histogram link definitions!
Reimplemented in TGo4PolyCond.
Definition at line 227 of file TGo4Condition.h.
References fxHisto.
Referenced by TGo4ViewPanel::CheckObjectsAssigments(), TGo4RootBrowserProxy::DrawCondition(), TGo4RootBrowserProxy::DrawPicture(), TGo4ViewPanel::PadClickedSlot(), TGo4CondArrayPainter::PaintCondition(), TGo4ViewPanel::ProcessCanvasAdopt(), and TGo4PolyCond::SetWorkHistogram().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 277 of file TGo4Condition.h.
References fbXMaxDraw.
Referenced by TGo4ConditionEditor::ChangeConditionProperty(), TGo4WinCondView::SetXMaxDraw(), TGo4PolyCondView::SetXMaxDraw(), TGo4CondArray::SetXMaxDraw(), and UpdateFromUrl().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 265 of file TGo4Condition.h.
References fbXMeanDraw.
Referenced by TGo4ConditionEditor::ChangeConditionProperty(), TGo4WinCondView::SetXMeanDraw(), TGo4PolyCondView::SetXMeanDraw(), TGo4CondArray::SetXMeanDraw(), and UpdateFromUrl().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 268 of file TGo4Condition.h.
References fbXRMSDraw.
Referenced by TGo4ConditionEditor::ChangeConditionProperty(), TGo4WinCondView::SetXRMSDraw(), TGo4PolyCondView::SetXRMSDraw(), TGo4CondArray::SetXRMSDraw(), and UpdateFromUrl().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 280 of file TGo4Condition.h.
References fbYMaxDraw.
Referenced by TGo4ConditionEditor::ChangeConditionProperty(), TGo4ViewPanel::PadClickedSlot(), TGo4WinCondView::SetYMaxDraw(), TGo4PolyCondView::SetYMaxDraw(), TGo4CondArray::SetYMaxDraw(), and UpdateFromUrl().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 271 of file TGo4Condition.h.
References fbYMeanDraw.
Referenced by TGo4ConditionEditor::ChangeConditionProperty(), TGo4ViewPanel::PadClickedSlot(), TGo4WinCondView::SetYMeanDraw(), TGo4PolyCondView::SetYMeanDraw(), TGo4CondArray::SetYMeanDraw(), and UpdateFromUrl().
|
inlinevirtual |
Reimplemented in TGo4CondArray.
Definition at line 274 of file TGo4Condition.h.
References fbYRMSDraw.
Referenced by TGo4ConditionEditor::ChangeConditionProperty(), TGo4ViewPanel::PadClickedSlot(), TGo4WinCondView::SetYRMSDraw(), TGo4PolyCondView::SetYRMSDraw(), TGo4CondArray::SetYRMSDraw(), and UpdateFromUrl().
|
virtual |
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 128 of file TGo4Condition.cxx.
References fiCounts.
Referenced by IsEnabled(), TGo4CounterCond::SetValues(), TGo4CondArray::Test(), and TGo4HistogramEntry::TestConditionNew().
|
inlinevirtual |
Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.
Definition at line 88 of file TGo4Condition.h.
|
inlinevirtual |
Reimplemented in TGo4CondArray, TGo4WinCond, and TGo4ListCond.
Definition at line 89 of file TGo4Condition.h.
|
virtual |
Return number of true results of the Test method call.
Reimplemented in TGo4CondArray.
Definition at line 158 of file TGo4Condition.cxx.
References fiTrueCounts, and GO4TRACE.
Referenced by MakeScript(), Print(), and TGo4ConditionInfo::RefreshWidget().
|
virtual |
Erase view of this condition from the pad
Definition at line 615 of file TGo4Condition.cxx.
References CreatePainter(), fxPainter, SetPainted(), TGo4ConditionPainter::UnPaintCondition(), and TGo4LabelPainter::UnPaintLabel().
Referenced by Draw(), and TGo4CondArrayPainter::UnPaintCondition().
|
virtual |
Copy values from cond to this. When counts is true, copy also counters.
Reimplemented in TGo4CondArray, TGo4ShapedCond, TGo4PolyCond, TGo4WinCond, TGo4ListCond, and TGo4CounterCond.
Definition at line 293 of file TGo4Condition.cxx.
References fbCMaxDraw, fbEnabled, fbFalse, fbHistogramLink, fbIntDraw, fbLabelDraw, fbLimitsDraw, fbMarkReset, fbMultiEdit, fbResult, fbTrue, fbVisible, fbXMaxDraw, fbXMeanDraw, fbXRMSDraw, fbYMaxDraw, fbYMeanDraw, fbYRMSDraw, fdUpdateEpsilon, fiCounts, fiDim, fiTrueCounts, fxHistoName, GetDimension(), and ResetCounts().
Referenced by GetLast(), TGo4AnalysisObjectManager::SetAnalysisCondition(), TGo4CounterCond::UpdateFrom(), TGo4ListCond::UpdateFrom(), TGo4WinCond::UpdateFrom(), TGo4PolyCond::UpdateFrom(), TGo4CondArray::UpdateFrom(), and TGo4BrowserProxy::UpdateObjectContent().
|
virtual |
Method used by HTTP server to update some fields, specified in URL syntax
Reimplemented in TGo4ShapedCond, TGo4PolyCond, and TGo4WinCond.
Definition at line 396 of file TGo4Condition.cxx.
References BuildUrlOptionArray(), Disable(), Enable(), fgxURL_CMAX, fgxURL_INTEGRAL, fgxURL_INVERT, fgxURL_LABEL, fgxURL_LIMITS, fgxURL_RESET, fgxURL_RESULT, fgxURL_VISIBLE, fgxURL_XMAX, fgxURL_XMEAN, fgxURL_XRMS, fgxURL_YMAX, fgxURL_YMEAN, fgxURL_YRMS, GetUrlOptionAsInt(), Invert(), TGo4Log::Message(), ResetCounts(), SetCMaxDraw(), SetIntDraw(), SetLabelDraw(), SetLimitsDraw(), SetVisible(), SetXMaxDraw(), SetXMeanDraw(), SetXRMSDraw(), SetYMaxDraw(), SetYMeanDraw(), and SetYRMSDraw().
Referenced by GetLast(), TGo4WinCond::UpdateFromUrl(), TGo4PolyCond::UpdateFromUrl(), and TGo4ShapedCond::UpdateFromUrl().
|
protected |
returns true if key is present in list of url options. Otherwise false
Definition at line 340 of file TGo4Condition.cxx.
References fxUrlOptionArray.
Referenced by TGo4WinCond::UpdateFromUrl(), and TGo4PolyCond::UpdateFromUrl().
|
friend |
Definition at line 38 of file TGo4Condition.h.
|
private |
If true, draw corresponding value as label on working pad
Definition at line 502 of file TGo4Condition.h.
Referenced by InitLabelStyle(), IsCMaxDraw(), SaveLabelStyle(), SetCMaxDraw(), and UpdateFrom().
|
private |
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 453 of file TGo4Condition.h.
Referenced by Disable(), Enable(), GetFlags(), IsEnabled(), Print(), PrintCondition(), SetFlags(), TGo4Condition(), and UpdateFrom().
|
private |
These are inverted by Invert(true), and restored by Invert(false).
Definition at line 441 of file TGo4Condition.h.
Referenced by GetFlags(), Invert(), IsFalse(), SetFlags(), TGo4Condition(), and UpdateFrom().
|
private |
is true if this condition has link to a histogram name
Definition at line 466 of file TGo4Condition.h.
Referenced by IsHistogramLink(), PrintCondition(), SetHistogram(), SetHistogramLink(), TGo4Condition(), and UpdateFrom().
|
private |
If true, draw corresponding value as label on working pad
Definition at line 481 of file TGo4Condition.h.
Referenced by InitLabelStyle(), IsIntDraw(), SaveLabelStyle(), SetIntDraw(), and UpdateFrom().
|
private |
Flag to prevent Paint() method to redraw condition views after UnDraw. Problem with Paint() called from ROOT event loop.
Definition at line 516 of file TGo4Condition.h.
Referenced by IsPainted(), SetPainted(), and TGo4Condition().
|
private |
If true, draw corresponding value as label on working pad
Definition at line 475 of file TGo4Condition.h.
Referenced by InitLabelStyle(), IsLabelDraw(), SaveLabelStyle(), SetLabelDraw(), and UpdateFrom().
|
private |
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 435 of file TGo4Condition.h.
Referenced by GetFlags(), GetLast(), SetFlags(), and SetLast().
|
private |
If true, draw corresponding value as label on working pad
Definition at line 478 of file TGo4Condition.h.
Referenced by InitLabelStyle(), IsLimitsDraw(), SaveLabelStyle(), SetLimitsDraw(), and UpdateFrom().
|
private |
Definition at line 431 of file TGo4Condition.h.
Referenced by GetFlags(), MarkReset(), SetFlags(), TGo4Condition(), and UpdateFrom().
|
private |
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 460 of file TGo4Condition.h.
Referenced by IsMultiEdit(), SetMultiEdit(), TGo4Condition(), and UpdateFrom().
|
private |
Flag to suppress interactive deletion of condition.
Definition at line 519 of file TGo4Condition.h.
Referenced by IsOwnedByEditor(), SetOwnedByEditor(), and TGo4Condition().
|
private |
If fbEnabled is false, return this as result.
Definition at line 456 of file TGo4Condition.h.
Referenced by Disable(), FixedResult(), GetFlags(), Print(), PrintCondition(), SetFlags(), TGo4Condition(), and UpdateFrom().
|
private |
This allows to treat conditions streamed into pad
Definition at line 522 of file TGo4Condition.h.
Referenced by Paint(), and TGo4Condition().
|
private |
These are inverted by Invert(true), and restored by Invert(false)
Definition at line 438 of file TGo4Condition.h.
Referenced by GetFlags(), Invert(), IsTrue(), Print(), PrintCondition(), SetFlags(), TGo4Condition(), and UpdateFrom().
|
private |
Property to store visibility of condition on display
Definition at line 463 of file TGo4Condition.h.
Referenced by IsVisible(), SetVisible(), TGo4Condition(), and UpdateFrom().
|
private |
If true, draw corresponding value as label on working pad
Definition at line 496 of file TGo4Condition.h.
Referenced by InitLabelStyle(), IsXMaxDraw(), SaveLabelStyle(), SetXMaxDraw(), and UpdateFrom().
|
private |
If true, draw corresponding value as label on working pad
Definition at line 484 of file TGo4Condition.h.
Referenced by InitLabelStyle(), IsXMeanDraw(), SaveLabelStyle(), SetXMeanDraw(), and UpdateFrom().
|
private |
If true, draw corresponding value as label on working pad
Definition at line 487 of file TGo4Condition.h.
Referenced by InitLabelStyle(), IsXRMSDraw(), SaveLabelStyle(), SetXRMSDraw(), and UpdateFrom().
|
private |
If true, draw corresponding value as label on working pad
Definition at line 499 of file TGo4Condition.h.
Referenced by InitLabelStyle(), IsYMaxDraw(), SaveLabelStyle(), SetYMaxDraw(), and UpdateFrom().
|
private |
If true, draw corresponding value as label on working pad
Definition at line 490 of file TGo4Condition.h.
Referenced by InitLabelStyle(), IsYMeanDraw(), SaveLabelStyle(), SetYMeanDraw(), and UpdateFrom().
|
private |
If true, draw corresponding value as label on working pad
Definition at line 493 of file TGo4Condition.h.
Referenced by InitLabelStyle(), IsYRMSDraw(), SaveLabelStyle(), SetYRMSDraw(), and UpdateFrom().
|
private |
Precision for the check if graphical representation change requires update
Definition at line 472 of file TGo4Condition.h.
Referenced by GetUpdateEpsilon(), SetUpdateEpsilon(), TGo4Condition(), and UpdateFrom().
|
static |
default setting for all conditions for label draw cmax flag.
Definition at line 352 of file TGo4Condition.h.
Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().
|
static |
default setting for all conditions for label draw integral flag.
Definition at line 331 of file TGo4Condition.h.
Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().
|
static |
default setting for all conditions for label draw on/off flag.
Definition at line 325 of file TGo4Condition.h.
Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().
|
static |
default setting for all conditions for label draw limits flag.
Definition at line 328 of file TGo4Condition.h.
Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().
|
static |
default setting for all conditions for label draw xmax flag.
Definition at line 346 of file TGo4Condition.h.
Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().
|
static |
default setting for all conditions for label draw xmean flag.
Definition at line 334 of file TGo4Condition.h.
Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().
|
static |
default setting for all conditions for label draw xrms flag.
Definition at line 337 of file TGo4Condition.h.
Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().
|
static |
default setting for all conditions for label draw ymax flag.
Definition at line 349 of file TGo4Condition.h.
Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().
|
static |
default setting for all conditions for label draw ymean flag.
Definition at line 340 of file TGo4Condition.h.
Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().
|
static |
default setting for all conditions for label draw yrms flag.
Definition at line 343 of file TGo4Condition.h.
Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().
|
static |
default value for graphical update tolerance.
Definition at line 244 of file TGo4Condition.h.
Referenced by TGo4Condition().
|
static |
default setting for all conditions with format string for numbers.
Definition at line 355 of file TGo4Condition.h.
Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().
|
static |
web condition editor keyword used in UpdateFromUrl.
Definition at line 383 of file TGo4Condition.h.
Referenced by UpdateFromUrl().
|
static |
web condition editor keyword used in UpdateFromUrl.
Definition at line 369 of file TGo4Condition.h.
Referenced by UpdateFromUrl().
|
static |
web condition editor keyword used in UpdateFromUrl.
Definition at line 361 of file TGo4Condition.h.
Referenced by UpdateFromUrl().
|
static |
web condition editor keyword used in UpdateFromUrl.
Definition at line 365 of file TGo4Condition.h.
Referenced by UpdateFromUrl().
|
static |
web condition editor keyword used in UpdateFromUrl.
Definition at line 367 of file TGo4Condition.h.
Referenced by UpdateFromUrl().
|
static |
web condition editor keyword used in UpdateFromUrl.
Following keywords should be used by condition editor in web browser:
Definition at line 357 of file TGo4Condition.h.
Referenced by UpdateFromUrl().
|
static |
web condition editor keyword used in UpdateFromUrl.
Definition at line 359 of file TGo4Condition.h.
Referenced by UpdateFromUrl().
|
static |
web condition editor keyword used in UpdateFromUrl.
Definition at line 363 of file TGo4Condition.h.
Referenced by UpdateFromUrl().
|
static |
web condition editor keyword used in UpdateFromUrl.
Definition at line 379 of file TGo4Condition.h.
Referenced by UpdateFromUrl().
|
static |
web condition editor keyword used in UpdateFromUrl.
Definition at line 371 of file TGo4Condition.h.
Referenced by UpdateFromUrl().
|
static |
web condition editor keyword used in UpdateFromUrl.
Definition at line 373 of file TGo4Condition.h.
Referenced by UpdateFromUrl().
|
static |
web condition editor keyword used in UpdateFromUrl.
Definition at line 381 of file TGo4Condition.h.
Referenced by UpdateFromUrl().
|
static |
web condition editor keyword used in UpdateFromUrl.
Definition at line 375 of file TGo4Condition.h.
Referenced by UpdateFromUrl().
|
static |
web condition editor keyword used in UpdateFromUrl.
Definition at line 377 of file TGo4Condition.h.
Referenced by UpdateFromUrl().
|
private |
Counts the number of calls of the Test method.
Definition at line 447 of file TGo4Condition.h.
Referenced by Counts(), IncCounts(), PrintBar(), PrintCondition(), ResetCounts(), SetCounts(), Test(), TGo4Condition(), and UpdateFrom().
|
private |
Dimension (1 or 2).
Definition at line 429 of file TGo4Condition.h.
Referenced by GetDimension(), SetDimension(), TGo4Condition(), and UpdateFrom().
|
private |
Counter indicate how many times condition was changed from graphical view
Definition at line 512 of file TGo4Condition.h.
Referenced by IsChanged(), and SetChanged().
|
private |
Counts the number of calls of the Test method with true result.
Definition at line 444 of file TGo4Condition.h.
Referenced by IncTrueCounts(), PrintBar(), PrintCondition(), ResetCounts(), SetCounts(), TGo4Condition(), TrueCounts(), and UpdateFrom().
|
private |
Reference to currently used histogram (for statistics boxes). This is not necessarily the same histogram as specified in the linked histogram!
Definition at line 509 of file TGo4Condition.h.
Referenced by GetWorkHistogram(), and SetWorkHistogram().
|
private |
contains associated histogram name
Definition at line 469 of file TGo4Condition.h.
Referenced by GetLinkedHistogram(), PrintCondition(), SetHistogram(), and UpdateFrom().
|
private |
format string for all label numbers.
Definition at line 505 of file TGo4Condition.h.
Referenced by GetLabelNumFormat(), InitLabelStyle(), SaveLabelStyle(), and SetLabelNumFormat().
|
protected |
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 398 of file TGo4Condition.h.
Referenced by DeletePainter(), Paint(), Pop(), ResetLabel(), TGo4WinCond::SetPainter(), TGo4PolyCond::SetPainter(), TGo4CondArray::SetPainter(), UnDraw(), TGo4CondArray::~TGo4CondArray(), and ~TGo4Condition().
|
protected |
array with TObjStrings evaluated by UpdateFromUrl
Definition at line 401 of file TGo4Condition.h.
Referenced by BuildUrlOptionArray(), GetUrlOptionAsString(), UrlOptionHasKey(), and ~TGo4Condition().