GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4Condition Class Reference

Go4 condition class. More...

#include <TGo4Condition.h>

+ Inheritance diagram for TGo4Condition:

Public Member Functions

 TGo4Condition ()
 
 TGo4Condition (const char *name, const char *title="Go4 Condition")
 
virtual ~TGo4Condition ()
 
virtual void AddCondition (TGo4Condition *next)
 Add another condition to this one.
 
void Clear (Option_t *opt="") override
 
virtual Int_t Counts ()
 Return number of calls of the Test method.
 
virtual TGo4ConditionPainterCreatePainter ()
 Factory method to generate the subclass implementation for painter.
 
void DeletePainter ()
 
virtual void Disable (Bool_t result)
 Freeze condition, on Test() return result.
 
void Draw (Option_t *opt="") override
 Draw this condition on current pad.
 
virtual void Enable ()
 Enable (unfreeze) Test execution.
 
Bool_t FixedResult () const
 Returns the value set by Disable(value).
 
virtual const TGo4ConditionGetActiveCondition () const
 To be overwritten for condition array.
 
virtual Double_t GetCMax (TH1 *)
 Calculate value for histogram inside condition limits.
 
virtual Int_t GetCurrentIndex () const
 get index for array type subclasses
 
virtual Double_t GetCurtosis (TH1 *, Int_t=1)
 Calculate value for histogram inside condition limits.
 
virtual TCutG * GetCut (Bool_t owner)
 
Int_t GetDimension () const
 
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 Double_t GetIntegral (TH1 *, Option_t *="")
 Calculate value for histogram inside condition limits.
 
virtual const char * GetLabelNumFormat () const
 
Bool_t GetLast () const
 Returns result of last Test.
 
const char * GetLinkedHistogram () const
 Access name of the associated histogram.
 
virtual Double_t GetMean (TH1 *, Int_t=1)
 Calculate value for histogram inside condition limits.
 
virtual Int_t GetMemorySize () const
 
virtual Int_t GetNumberOfConditions () const
 for condition aggregates: return total number of conditions, i.e.size of condition array
 
virtual Double_t GetRMS (TH1 *, Int_t=1)
 Calculate value for histogram inside condition limits.
 
virtual Double_t GetSkewness (TH1 *, Int_t=1)
 Calculate value for histogram inside condition limits.
 
Double_t GetUpdateEpsilon () const
 
virtual void GetValues (Int_t &dim, Double_t &x1, Double_t &y1, Double_t &x2, Double_t &y2)
 
TH1 * GetWorkHistogram () const
 access work histogram reference
 
virtual Double_t GetXLow () const
 
virtual Double_t GetXMax (TH1 *)
 Calculate value for histogram inside condition limits.
 
virtual Double_t GetXUp () const
 
virtual Double_t GetYLow () const
 
virtual Double_t GetYMax (TH1 *)
 Calculate value for histogram inside condition limits.
 
virtual Double_t GetYUp () const
 
void IncCounts ()
 Increment the test counter.
 
void IncTrueCounts ()
 Increment the "test was true" counter.
 
void InitLabelStyle ()
 Initialize label setup from static default variables.
 
virtual void Invert (Bool_t on)
 Inverts return values, when on is true, i.e.
 
virtual Bool_t IsArrayType () const
 
virtual Int_t IsChanged () const
 
virtual Bool_t IsCMaxDraw () const
 
Bool_t IsEnabled () const
 Returns true if condition is enabled.
 
Bool_t IsFalse () const
 Use this as return, if test was false.
 
Bool_t IsHistogramLink () const
 True if the histogram of given name is linked to this.
 
virtual Bool_t IsIntDraw () const
 
virtual Bool_t IsLabelDraw () const
 
virtual Bool_t IsLimitsDraw () const
 
virtual Bool_t IsMultiEdit () const
 
Bool_t IsOwnedByEditor () const
 
virtual Bool_t IsPolygonType () const
 
Bool_t IsTrue () const
 Use this as return, if test was true.
 
virtual Bool_t IsVisible () const
 Visibility property for gui display in editor.
 
virtual Bool_t IsXMaxDraw () const
 
virtual Bool_t IsXMeanDraw () const
 
virtual Bool_t IsXRMSDraw () const
 
virtual Bool_t IsYMaxDraw () const
 
virtual Bool_t IsYMeanDraw () const
 
virtual Bool_t IsYRMSDraw () const
 
virtual void MarkReset (Bool_t on)
 defines if condition counters shall be reset in UpdateFrom method
 
void Paint (Option_t *opt="") override
 Display condition with plain root canvas and in go4 viewpanel.
 
void Pop () override
 Re-implement TObject method to pop all our views to front.
 
void Print (Option_t *opt="") const override
 Default printout for root object lists.
 
virtual void PrintBar ()
 Prints counters and bar.
 
virtual void PrintCondition (Bool_t full=kTRUE)
 Prints counters and boolean members.
 
virtual void ResetCounts ()
 Clear counters.
 
void ResetLabel (Option_t *opt="reset")
 Will reset label position to defaults with other option than reset, just pop label to front.
 
void SaveLabelStyle ()
 This will save draw flags into static default setup.
 
virtual void SetChanged (Bool_t on=kTRUE)
 
virtual void SetCMaxDraw (Bool_t on)
 
virtual void SetCounts (Int_t truecounts, Int_t counts)
 Set counters.
 
virtual void SetCurrentIndex (Int_t)
 set index for array type subclasses
 
void SetDimension (Int_t d)
 
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.
 
void SetHistogram (const char *name)
 Define the name of the associated histogram.
 
void SetHistogramLink (Bool_t on)
 Define if this condition has association with an analysis histogram.
 
virtual void SetIntDraw (Bool_t on)
 
virtual void SetLabelDraw (Bool_t on)
 
virtual void SetLabelNumFormat (const char *fmt)
 
void SetLast (Bool_t value)
 Can be used in Test to store the result.
 
virtual void SetLimitsDraw (Bool_t on)
 
void SetMultiEdit (Bool_t on)
 
void SetOwnedByEditor (Bool_t on)
 
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.
 
virtual void SetValues ()
 Set values needed, i.e.
 
virtual void SetValues (Double_t *x, Double_t *y, Int_t len)
 
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 SetVisible (Bool_t on)
 Set/Unset visibility.
 
virtual void SetWorkHistogram (TH1 *histo)
 Set reference to work histogram for statistics functions.
 
virtual void SetXMaxDraw (Bool_t on)
 
virtual void SetXMeanDraw (Bool_t on)
 
virtual void SetXRMSDraw (Bool_t on)
 
virtual void SetYMaxDraw (Bool_t on)
 
virtual void SetYMeanDraw (Bool_t on)
 
virtual void SetYRMSDraw (Bool_t on)
 
virtual Bool_t Test ()
 Test if condition is true.
 
virtual Bool_t Test (Double_t x)
 
virtual Bool_t Test (Double_t x, Double_t y)
 
virtual Int_t TrueCounts ()
 Return number of true results of the Test method call.
 
virtual void UnDraw (Option_t *opt="")
 Erase view of this condition from the pad.
 
virtual Bool_t UpdateFrom (TGo4Condition *cond, Bool_t counts)
 Copy values from cond to this.
 
virtual Bool_t UpdateFromUrl (const char *rest_url_opt)
 Method used by HTTP server to update some fields, specified in URL syntax.
 

Static Public Member Functions

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 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 Public Attributes

static Bool_t fgbCMAXDRAW =kTRUE
 default setting for all conditions for label draw cmax flag.
 
static Bool_t fgbINTDRAW =kTRUE
 default setting for all conditions for label draw integral flag.
 
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 fgbXMAXDRAW =kTRUE
 default setting for all conditions for label draw xmax 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 fgbYMAXDRAW =kFALSE
 default setting for all conditions for label draw ymax 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 const Double_t fgdUPDATEEPSILON = 0.01
 default value for graphical update tolerance.
 
static TString fgxNUMFORMAT ="%.4E"
 default setting for all conditions with format string for numbers.
 
static TString fgxURL_CMAX ="cmaxdraw"
 web condition editor keyword used in UpdateFromUrl.
 
static TString fgxURL_INTEGRAL ="intdraw"
 web condition editor keyword used in UpdateFromUrl.
 
static TString fgxURL_INVERT ="invertmode"
 web condition editor keyword used in UpdateFromUrl.
 
static TString fgxURL_LABEL ="labeldraw"
 web condition editor keyword used in UpdateFromUrl.
 
static TString fgxURL_LIMITS ="limitsdraw"
 web condition editor keyword used in UpdateFromUrl.
 
static TString fgxURL_RESET ="resetcounters"
 web condition editor keyword used in UpdateFromUrl.
 
static TString fgxURL_RESULT ="resultmode"
 web condition editor keyword used in UpdateFromUrl.
 
static TString fgxURL_VISIBLE ="visible"
 web condition editor keyword used in UpdateFromUrl.
 
static TString fgxURL_XMAX ="xmaxdraw"
 web condition editor keyword used in UpdateFromUrl.
 
static TString fgxURL_XMEAN ="xmeandraw"
 web condition editor keyword used in UpdateFromUrl.
 
static TString fgxURL_XRMS ="xrmsdraw"
 web condition editor keyword used in UpdateFromUrl.
 
static TString fgxURL_YMAX ="ymaxdraw"
 web condition editor keyword used in UpdateFromUrl.
 
static TString fgxURL_YMEAN ="ymeandraw"
 web condition editor keyword used in UpdateFromUrl.
 
static TString fgxURL_YRMS ="yrmsdraw"
 web condition editor keyword used in UpdateFromUrl.
 

Protected Member Functions

void BuildUrlOptionArray (const char *rest_url_opt)
 re-build the list of url options from string
 
Double_t GetUrlOptionAsDouble (const char *key, Double_t def_value)
 Scan list of url options for key.
 
Int_t GetUrlOptionAsInt (const char *key, Int_t def_value)
 Scan list of url options for key.
 
TString GetUrlOptionAsString (const char *key, TString def_value)
 Scan list of url options for key.
 
Bool_t IsPainted () const
 
const char * MakeScript (std::ostream &out, const char *varname, Option_t *opt="", const char *arrextraargs=nullptr)
 
void SetPainted (Bool_t on)
 
Bool_t UrlOptionHasKey (const char *key)
 returns true if key is present in list of url options.
 

Protected Attributes

TGo4ConditionPainterfxPainter {nullptr}
 Painter instance to display the condition in root pad.
 
TObjArray * fxUrlOptionArray {nullptr}
 array with TObjStrings evaluated by UpdateFromUrl
 

Private Attributes

Bool_t fbCMaxDraw {kFALSE}
 If true, draw corresponding value as label on working pad.
 
Bool_t fbEnabled {kFALSE}
 Flag to enable/disable this condition.
 
Bool_t fbFalse {kFALSE}
 These are inverted by Invert(true), and restored by Invert(false).
 
Bool_t fbHistogramLink {kFALSE}
 is true if this condition has link to a histogram name
 
Bool_t fbIntDraw {kFALSE}
 If true, draw corresponding value as label on working pad.
 
Bool_t fbIsPainted {kFALSE}
 Flag to prevent Paint() method to redraw condition views after UnDraw.
 
Bool_t fbLabelDraw {kFALSE}
 If true, draw corresponding value as label on working pad.
 
Bool_t fbLastResult {kFALSE}
 This can be used to store the last result by SetLast(bool).
 
Bool_t fbLimitsDraw {kFALSE}
 If true, draw corresponding value as label on working pad.
 
Bool_t fbMarkReset {kFALSE}
 
Bool_t fbMultiEdit {kFALSE}
 Flag to indicate that properties of all conditions in array are edited/used.
 
Bool_t fbOwnedByEditor {kFALSE}
 Flag to suppress interactive deletion of condition.
 
Bool_t fbResult {kFALSE}
 If fbEnabled is false, return this as result.
 
Bool_t fbStreamedCondition {kFALSE}
 This allows to treat conditions streamed into pad.
 
Bool_t fbTrue {kTRUE}
 These are inverted by Invert(true), and restored by Invert(false)
 
Bool_t fbVisible {kFALSE}
 Property to store visibility of condition on display.
 
Bool_t fbXMaxDraw {kFALSE}
 If true, draw corresponding value as label on working pad.
 
Bool_t fbXMeanDraw {kFALSE}
 If true, draw corresponding value as label on working pad.
 
Bool_t fbXRMSDraw {kFALSE}
 If true, draw corresponding value as label on working pad.
 
Bool_t fbYMaxDraw {kFALSE}
 If true, draw corresponding value as label on working pad.
 
Bool_t fbYMeanDraw {kFALSE}
 If true, draw corresponding value as label on working pad.
 
Bool_t fbYRMSDraw {kFALSE}
 If true, draw corresponding value as label on working pad.
 
Double_t fdUpdateEpsilon {0}
 Precision for the check if graphical representation change requires update.
 
Int_t fiCounts {0}
 Counts the number of calls of the Test method.
 
Int_t fiDim {0}
 Dimension (1 or 2).
 
Int_t fiIsChanged {0}
 Counter indicate how many times condition was changed from graphical view.
 
Int_t fiTrueCounts {0}
 Counts the number of calls of the Test method with true result.
 
TH1 * fxHisto {nullptr}
 Reference to currently used histogram (for statistics boxes).
 
TString fxHistoName
 contains associated histogram name
 
TString fxNumFormat
 format string for all label numbers.
 

Friends

class TGo4CondArray
 

Detailed Description

Go4 condition class.

Definition at line 37 of file TGo4Condition.h.

Constructor & Destructor Documentation

◆ TGo4Condition() [1/2]

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, fiIsChanged, fiTrueCounts, GO4TRACE, and InitLabelStyle().

Referenced by TGo4CondArray::TGo4CondArray(), TGo4CondArray::TGo4CondArray(), TGo4CondArray::TGo4CondArray(), TGo4CounterCond::TGo4CounterCond(), TGo4CounterCond::TGo4CounterCond(), TGo4ListCond::TGo4ListCond(), TGo4ListCond::TGo4ListCond(), TGo4ListCond::TGo4ListCond(), TGo4ListCond::TGo4ListCond(), TGo4PolyCond::TGo4PolyCond(), TGo4PolyCond::TGo4PolyCond(), TGo4WinCond::TGo4WinCond(), TGo4WinCond::TGo4WinCond(), AddCondition(), TGo4CondArray::At(), TGo4CondArray::Counts(), TGo4CondArray::Disable(), TGo4CondArray::Draw(), TGo4CondArray::Enable(), TGo4CondArray::GetActiveCondition(), GetActiveCondition(), TGo4CondArray::GetCMax(), TGo4CondArray::GetCurtosis(), TGo4CondArray::GetFlags(), TGo4CondArray::GetIntegral(), TGo4CondArray::GetMean(), TGo4CondArray::GetMemorySize(), TGo4CondArray::GetRMS(), TGo4CondArray::GetSkewness(), TGo4CondArray::GetType(), TGo4CondArray::GetXLow(), TGo4CondArray::GetXMax(), TGo4CondArray::GetXUp(), TGo4CondArray::GetYLow(), TGo4CondArray::GetYMax(), TGo4CondArray::GetYUp(), TGo4CondArray::Invert(), TGo4CondArray::IsChanged(), 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(), TGo4CondArray::operator[](), Print(), TGo4CondArray::PrintBar(), TGo4CondArray::PrintCondition(), TGo4CondArray::ResetCounts(), TGo4CondArray::SetChanged(), TGo4CondArray::SetCMaxDraw(), TGo4CondArray::SetIntDraw(), TGo4CondArray::SetLabelDraw(), TGo4CondArray::SetLimitsDraw(), TGo4CondArray::SetValues(), TGo4CondArray::SetValues(), TGo4CondArray::SetValues(), TGo4CondArray::SetVisible(), TGo4CondArray::SetXMaxDraw(), TGo4CondArray::SetXMeanDraw(), TGo4CondArray::SetXRMSDraw(), TGo4CondArray::SetYMaxDraw(), TGo4CondArray::SetYMeanDraw(), TGo4CondArray::SetYRMSDraw(), TGo4CondArray::Test(), TGo4CondArray::Test(), TGo4CondArray::TrueCounts(), TGo4CondArray::UpdateFrom(), UpdateFrom(), TGo4CounterCond::UpdateFrom(), TGo4ListCond::UpdateFrom(), TGo4PolyCond::UpdateFrom(), TGo4ShapedCond::UpdateFrom(), and TGo4WinCond::UpdateFrom().

◆ TGo4Condition() [2/2]

TGo4Condition::TGo4Condition ( const char * name,
const char * title = "Go4 Condition" )

Definition at line 85 of file TGo4Condition.cxx.

◆ ~TGo4Condition()

TGo4Condition::~TGo4Condition ( )
virtual

Definition at line 111 of file TGo4Condition.cxx.

References fxPainter, fxUrlOptionArray, and GO4TRACE.

Member Function Documentation

◆ AddCondition()

void TGo4Condition::AddCondition ( TGo4Condition * next)
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 TGo4Condition(), and GO4TRACE.

◆ BuildUrlOptionArray()

void TGo4Condition::BuildUrlOptionArray ( const char * rest_url_opt)
protected

re-build the list of url options from string

Definition at line 329 of file TGo4Condition.cxx.

References fxUrlOptionArray.

Referenced by UpdateFromUrl().

◆ Clear()

void TGo4Condition::Clear ( Option_t * opt = "")
override

Definition at line 520 of file TGo4Condition.cxx.

References ResetCounts().

◆ Counts()

Int_t TGo4Condition::Counts ( )
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().

◆ CreatePainter()

TGo4ConditionPainter * TGo4Condition::CreatePainter ( )
virtual

Factory method to generate the subclass implementation for painter.

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 633 of file TGo4Condition.cxx.

Referenced by Paint(), and UnDraw().

◆ DeletePainter()

void TGo4Condition::DeletePainter ( )

Definition at line 711 of file TGo4Condition.cxx.

References fxPainter.

Referenced by TGo4ViewPanel::MakePictureForPad().

◆ Disable()

void TGo4Condition::Disable ( Bool_t result)
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(), and UpdateFromUrl().

◆ Draw()

void TGo4Condition::Draw ( Option_t * opt = "")
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(), and TGo4ViewPanel::PadClickedSlot().

◆ Enable()

void TGo4Condition::Enable ( )
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::MakePolyCond(), TGo4ConditionEditor::SetResultMode(), and UpdateFromUrl().

◆ FixedResult()

Bool_t TGo4Condition::FixedResult ( ) const
inline

Returns the value set by Disable(value).

Definition at line 130 of file TGo4Condition.h.

References fbResult.

Referenced by TGo4ConditionInfo::RefreshWidget(), TGo4ListCond::Test(), TGo4PolyCond::Test(), TGo4WinCond::Test(), and TGo4WinCond::Test().

◆ GetActiveCondition()

virtual const TGo4Condition * TGo4Condition::GetActiveCondition ( ) const
inlinevirtual

To be overwritten for condition array.

By default, it returns this.

Reimplemented in TGo4CondArray.

Definition at line 191 of file TGo4Condition.h.

References TGo4Condition().

Referenced by Print().

◆ GetCMax()

virtual Double_t TGo4Condition::GetCMax ( TH1 * )
inlinevirtual

Calculate value for histogram inside condition limits.

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 188 of file TGo4Condition.h.

Referenced by TGo4CondArray::GetCMax(), and Print().

◆ GetCurrentIndex()

virtual Int_t TGo4Condition::GetCurrentIndex ( ) const
inlinevirtual

get index for array type subclasses

Reimplemented in TGo4CondArray.

Definition at line 312 of file TGo4Condition.h.

◆ GetCurtosis()

virtual Double_t TGo4Condition::GetCurtosis ( TH1 * ,
Int_t = 1 )
inlinevirtual

Calculate value for histogram inside condition limits.

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 179 of file TGo4Condition.h.

Referenced by TGo4CondArray::GetCurtosis().

◆ GetCut()

virtual TCutG * TGo4Condition::GetCut ( Bool_t owner)
inlinevirtual

Reimplemented in TGo4PolyCond.

Definition at line 163 of file TGo4Condition.h.

◆ GetDimension()

◆ GetFlags()

void TGo4Condition::GetFlags ( Bool_t * enabled,
Bool_t * lastresult,
Bool_t * markreset,
Bool_t * result,
Bool_t * truevalue,
Bool_t * falsevalue )
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 TGo4CondArray::GetFlags(), and MakeScript().

◆ GetGlobalStyle()

void TGo4Condition::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

◆ GetIntegral()

virtual Double_t TGo4Condition::GetIntegral ( TH1 * ,
Option_t * = "" )
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 167 of file TGo4Condition.h.

Referenced by TGo4CondArray::GetIntegral(), and Print().

◆ GetLabelNumFormat()

virtual const char * TGo4Condition::GetLabelNumFormat ( ) const
inlinevirtual

Definition at line 288 of file TGo4Condition.h.

References fxNumFormat.

◆ GetLast()

Bool_t TGo4Condition::GetLast ( ) const
inline

Returns result of last Test.

Definition at line 150 of file TGo4Condition.h.

References fbLastResult.

◆ GetLinkedHistogram()

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(), and TGo4ConditionEditor::RefreshWidget().

◆ GetMean()

virtual Double_t TGo4Condition::GetMean ( TH1 * ,
Int_t = 1 )
inlinevirtual

Calculate value for histogram inside condition limits.

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 170 of file TGo4Condition.h.

Referenced by TGo4CondArray::GetMean(), and Print().

◆ GetMemorySize()

Int_t TGo4Condition::GetMemorySize ( ) const
virtual

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 507 of file TGo4Condition.cxx.

Referenced by TGo4CondArray::GetMemorySize(), and TGo4ConditionInfo::RefreshWidget().

◆ GetNumberOfConditions()

virtual Int_t TGo4Condition::GetNumberOfConditions ( ) const
inlinevirtual

for condition aggregates: return total number of conditions, i.e.size of condition array

Reimplemented in TGo4CondArray.

Definition at line 316 of file TGo4Condition.h.

◆ GetRMS()

virtual Double_t TGo4Condition::GetRMS ( TH1 * ,
Int_t = 1 )
inlinevirtual

Calculate value for histogram inside condition limits.

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 173 of file TGo4Condition.h.

Referenced by TGo4CondArray::GetRMS(), and Print().

◆ GetSkewness()

virtual Double_t TGo4Condition::GetSkewness ( TH1 * ,
Int_t = 1 )
inlinevirtual

Calculate value for histogram inside condition limits.

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 176 of file TGo4Condition.h.

Referenced by TGo4CondArray::GetSkewness().

◆ GetUpdateEpsilon()

Double_t TGo4Condition::GetUpdateEpsilon ( ) const
inline

Definition at line 242 of file TGo4Condition.h.

References fdUpdateEpsilon.

◆ GetUrlOptionAsDouble()

Double_t TGo4Condition::GetUrlOptionAsDouble ( const char * key,
Double_t def_value )
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 TGo4PolyCond::UpdateFromUrl(), TGo4ShapedCond::UpdateFromUrl(), and TGo4WinCond::UpdateFromUrl().

◆ GetUrlOptionAsInt()

Int_t TGo4Condition::GetUrlOptionAsInt ( const char * key,
Int_t def_value )
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 UpdateFromUrl(), TGo4PolyCond::UpdateFromUrl(), and TGo4ShapedCond::UpdateFromUrl().

◆ GetUrlOptionAsString()

TString TGo4Condition::GetUrlOptionAsString ( const char * key,
TString def_value )
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().

◆ GetValues()

void TGo4Condition::GetValues ( Int_t & dim,
Double_t & x1,
Double_t & y1,
Double_t & x2,
Double_t & y2 )
virtual

Reimplemented in TGo4WinCond.

Definition at line 497 of file TGo4Condition.cxx.

References GetDimension(), GetXLow(), GetXUp(), GetYLow(), and GetYUp().

◆ GetWorkHistogram()

TH1 * TGo4Condition::GetWorkHistogram ( ) const
inline

access work histogram reference

Definition at line 231 of file TGo4Condition.h.

References fxHisto.

Referenced by TGo4ViewPanel::CheckObjectsAssigments(), TGo4CondArrayPainter::PaintCondition(), and Print().

◆ GetXLow()

virtual Double_t TGo4Condition::GetXLow ( ) const
inlinevirtual

Reimplemented in TGo4CondArray, TGo4ListCond, TGo4PolyCond, and TGo4WinCond.

Definition at line 159 of file TGo4Condition.h.

Referenced by GetValues(), TGo4CondArray::GetXLow(), and Print().

◆ GetXMax()

virtual Double_t TGo4Condition::GetXMax ( TH1 * )
inlinevirtual

Calculate value for histogram inside condition limits.

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 182 of file TGo4Condition.h.

Referenced by TGo4CondArray::GetXMax(), and Print().

◆ GetXUp()

virtual Double_t TGo4Condition::GetXUp ( ) const
inlinevirtual

Reimplemented in TGo4CondArray, TGo4ListCond, TGo4PolyCond, and TGo4WinCond.

Definition at line 160 of file TGo4Condition.h.

Referenced by GetValues(), TGo4CondArray::GetXUp(), and Print().

◆ GetYLow()

virtual Double_t TGo4Condition::GetYLow ( ) const
inlinevirtual

Reimplemented in TGo4CondArray, TGo4ListCond, TGo4PolyCond, and TGo4WinCond.

Definition at line 161 of file TGo4Condition.h.

Referenced by GetValues(), TGo4CondArray::GetYLow(), and Print().

◆ GetYMax()

virtual Double_t TGo4Condition::GetYMax ( TH1 * )
inlinevirtual

Calculate value for histogram inside condition limits.

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 185 of file TGo4Condition.h.

Referenced by TGo4CondArray::GetYMax(), and Print().

◆ GetYUp()

virtual Double_t TGo4Condition::GetYUp ( ) const
inlinevirtual

Reimplemented in TGo4CondArray, TGo4ListCond, TGo4PolyCond, and TGo4WinCond.

Definition at line 162 of file TGo4Condition.h.

Referenced by GetValues(), TGo4CondArray::GetYUp(), and Print().

◆ IncCounts()

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 TGo4CondArray::Test(), TGo4CondArray::Test(), TGo4CounterCond::Test(), TGo4ListCond::Test(), TGo4PolyCond::Test(), TGo4WinCond::Test(), and TGo4WinCond::Test().

◆ IncTrueCounts()

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 TGo4CondArray::Test(), TGo4CondArray::Test(), TGo4CounterCond::Test(), TGo4ListCond::Test(), TGo4PolyCond::Test(), TGo4WinCond::Test(), and TGo4WinCond::Test().

◆ InitLabelStyle()

void TGo4Condition::InitLabelStyle ( )

◆ Invert()

void TGo4Condition::Invert ( Bool_t on)
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 TGo4CondArray::Invert(), TGo4AnalysisObjectManager::MakePolyCond(), TGo4AnalysisObjectManager::MakeWindowCond(), TGo4AnalysisObjectManager::MakeWindowCond(), TGo4ConditionEditor::SetInvertMode(), and UpdateFromUrl().

◆ IsArrayType()

virtual Bool_t TGo4Condition::IsArrayType ( ) const
inlinevirtual

Reimplemented in TGo4CondArray.

Definition at line 321 of file TGo4Condition.h.

◆ IsChanged()

virtual Int_t TGo4Condition::IsChanged ( ) const
inlinevirtual

Reimplemented in TGo4CondArray.

Definition at line 297 of file TGo4Condition.h.

References fiIsChanged.

Referenced by TGo4CondArray::IsChanged(), and TGo4ViewPanel::RefreshButtons().

◆ IsCMaxDraw()

virtual Bool_t TGo4Condition::IsCMaxDraw ( ) const
inlinevirtual

Reimplemented in TGo4CondArray.

Definition at line 285 of file TGo4Condition.h.

References fbCMaxDraw.

Referenced by TGo4CondArray::IsCMaxDraw().

◆ IsEnabled()

Bool_t TGo4Condition::IsEnabled ( ) const
inline

Returns true if condition is enabled.

Definition at line 83 of file TGo4Condition.h.

References fbEnabled.

Referenced by TGo4ConditionInfo::RefreshWidget(), TGo4ListCond::Test(), TGo4PolyCond::Test(), TGo4WinCond::Test(), and TGo4WinCond::Test().

◆ IsFalse()

Bool_t TGo4Condition::IsFalse ( ) const
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 127 of file TGo4Condition.h.

References fbFalse.

Referenced by TGo4PolyCond::Test(), TGo4WinCond::Test(), and TGo4WinCond::Test().

◆ IsHistogramLink()

Bool_t TGo4Condition::IsHistogramLink ( ) const
inline

True if the histogram of given name is linked to this.

Definition at line 218 of file TGo4Condition.h.

References fbHistogramLink.

◆ IsIntDraw()

virtual Bool_t TGo4Condition::IsIntDraw ( ) const
inlinevirtual

Reimplemented in TGo4CondArray.

Definition at line 264 of file TGo4Condition.h.

References fbIntDraw.

Referenced by TGo4CondArray::IsIntDraw().

◆ IsLabelDraw()

virtual Bool_t TGo4Condition::IsLabelDraw ( ) const
inlinevirtual

Reimplemented in TGo4CondArray.

Definition at line 258 of file TGo4Condition.h.

References fbLabelDraw.

Referenced by TGo4CondArray::IsLabelDraw().

◆ IsLimitsDraw()

virtual Bool_t TGo4Condition::IsLimitsDraw ( ) const
inlinevirtual

Reimplemented in TGo4CondArray.

Definition at line 261 of file TGo4Condition.h.

References fbLimitsDraw.

Referenced by TGo4CondArray::IsLimitsDraw().

◆ IsMultiEdit()

virtual Bool_t TGo4Condition::IsMultiEdit ( ) const
inlinevirtual

Definition at line 300 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(), TGo4CondArray::ResetCounts(), TGo4CondArray::SetCMaxDraw(), TGo4CondArray::SetIntDraw(), TGo4CondArray::SetLabelDraw(), TGo4CondArray::SetLimitsDraw(), TGo4CondArray::SetValues(), TGo4CondArray::SetValues(), TGo4CondArray::SetValues(), TGo4CondArray::SetVisible(), TGo4CondArray::SetXMaxDraw(), TGo4CondArray::SetXMeanDraw(), TGo4CondArray::SetXRMSDraw(), TGo4CondArray::SetYMaxDraw(), TGo4CondArray::SetYMeanDraw(), TGo4CondArray::SetYRMSDraw(), TGo4CondArray::Test(), TGo4CondArray::Test(), and TGo4CondArray::TrueCounts().

◆ IsOwnedByEditor()

Bool_t TGo4Condition::IsOwnedByEditor ( ) const
inline

Definition at line 306 of file TGo4Condition.h.

References fbOwnedByEditor.

◆ IsPainted()

Bool_t TGo4Condition::IsPainted ( ) const
inlineprotected

Definition at line 423 of file TGo4Condition.h.

References fbIsPainted.

Referenced by TGo4CondArray::Draw(), and Paint().

◆ IsPolygonType()

virtual Bool_t TGo4Condition::IsPolygonType ( ) const
inlinevirtual

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 320 of file TGo4Condition.h.

Referenced by TGo4CondArray::IsPolygonType(), and Print().

◆ IsTrue()

Bool_t TGo4Condition::IsTrue ( ) const
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 123 of file TGo4Condition.h.

References fbTrue.

Referenced by TGo4ConditionInfo::RefreshWidget(), TGo4PolyCond::Test(), TGo4WinCond::Test(), and TGo4WinCond::Test().

◆ IsVisible()

virtual Bool_t TGo4Condition::IsVisible ( ) const
inlinevirtual

Visibility property for gui display in editor.

Reimplemented in TGo4CondArray.

Definition at line 212 of file TGo4Condition.h.

References fbVisible.

Referenced by Draw(), TGo4CondArray::IsVisible(), TGo4PolyCondPainter::PaintCondition(), TGo4WinCondPainter::PaintCondition(), and Print().

◆ IsXMaxDraw()

virtual Bool_t TGo4Condition::IsXMaxDraw ( ) const
inlinevirtual

Reimplemented in TGo4CondArray.

Definition at line 279 of file TGo4Condition.h.

References fbXMaxDraw.

Referenced by TGo4CondArray::IsXMaxDraw(), and TGo4ViewPanel::PadClickedSlot().

◆ IsXMeanDraw()

virtual Bool_t TGo4Condition::IsXMeanDraw ( ) const
inlinevirtual

Reimplemented in TGo4CondArray.

Definition at line 267 of file TGo4Condition.h.

References fbXMeanDraw.

Referenced by TGo4CondArray::IsXMeanDraw(), and TGo4ViewPanel::PadClickedSlot().

◆ IsXRMSDraw()

virtual Bool_t TGo4Condition::IsXRMSDraw ( ) const
inlinevirtual

Reimplemented in TGo4CondArray.

Definition at line 270 of file TGo4Condition.h.

References fbXRMSDraw.

Referenced by TGo4CondArray::IsXRMSDraw(), and TGo4ViewPanel::PadClickedSlot().

◆ IsYMaxDraw()

virtual Bool_t TGo4Condition::IsYMaxDraw ( ) const
inlinevirtual

Reimplemented in TGo4CondArray.

Definition at line 282 of file TGo4Condition.h.

References fbYMaxDraw.

Referenced by TGo4CondArray::IsYMaxDraw().

◆ IsYMeanDraw()

virtual Bool_t TGo4Condition::IsYMeanDraw ( ) const
inlinevirtual

Reimplemented in TGo4CondArray.

Definition at line 273 of file TGo4Condition.h.

References fbYMeanDraw.

Referenced by TGo4CondArray::IsYMeanDraw().

◆ IsYRMSDraw()

virtual Bool_t TGo4Condition::IsYRMSDraw ( ) const
inlinevirtual

Reimplemented in TGo4CondArray.

Definition at line 276 of file TGo4Condition.h.

References fbYRMSDraw.

Referenced by TGo4CondArray::IsYRMSDraw().

◆ MakeScript()

const char * TGo4Condition::MakeScript ( std::ostream & out,
const char * varname,
Option_t * opt = "",
const char * arrextraargs = nullptr )
protected

◆ MarkReset()

void TGo4Condition::MarkReset ( Bool_t on)
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 TGo4CondArray::MarkReset().

◆ Paint()

void TGo4Condition::Paint ( Option_t * opt = "")
override

Display condition with plain root canvas and in go4 viewpanel.

Definition at line 581 of file TGo4Condition.cxx.

References CreatePainter(), fbStreamedCondition, fxPainter, IsPainted(), and SetPainted().

Referenced by TGo4CondArrayPainter::PaintCondition().

◆ Pop()

void TGo4Condition::Pop ( )
override

Re-implement TObject method to pop all our views to front.

Definition at line 628 of file TGo4Condition.cxx.

References fxPainter.

◆ Print()

void TGo4Condition::Print ( Option_t * opt = "") const
override

◆ PrintBar()

void TGo4Condition::PrintBar ( )
virtual

Prints counters and bar.

Reimplemented in TGo4CondArray.

Definition at line 209 of file TGo4Condition.cxx.

References fiCounts, and fiTrueCounts.

Referenced by Print(), and TGo4CondArray::PrintBar().

◆ PrintCondition()

void TGo4Condition::PrintCondition ( Bool_t full = kTRUE)
virtual

◆ ResetCounts()

◆ ResetLabel()

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.

◆ SaveLabelStyle()

void TGo4Condition::SaveLabelStyle ( )

◆ SetChanged()

virtual void TGo4Condition::SetChanged ( Bool_t on = kTRUE)
inlinevirtual

◆ SetCMaxDraw()

virtual void TGo4Condition::SetCMaxDraw ( Bool_t on)
inlinevirtual

Reimplemented in TGo4CondArray.

Definition at line 284 of file TGo4Condition.h.

References fbCMaxDraw.

Referenced by TGo4ConditionEditor::ChangeConditionProperty(), TGo4CondArray::SetCMaxDraw(), and UpdateFromUrl().

◆ SetCounts()

void TGo4Condition::SetCounts ( Int_t truecounts,
Int_t counts )
virtual

Set counters.

Definition at line 171 of file TGo4Condition.cxx.

References fiCounts, fiTrueCounts, and GO4TRACE.

◆ SetCurrentIndex()

virtual void TGo4Condition::SetCurrentIndex ( Int_t )
inlinevirtual

set index for array type subclasses

Reimplemented in TGo4CondArray.

Definition at line 309 of file TGo4Condition.h.

◆ SetDimension()

◆ SetFlags()

void TGo4Condition::SetFlags ( Bool_t enabled,
Bool_t lastresult,
Bool_t markreset,
Bool_t result,
Bool_t truevalue,
Bool_t falsevalue )
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.

◆ SetGlobalStyle()

void TGo4Condition::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

◆ SetHistogram()

void TGo4Condition::SetHistogram ( const char * name)

◆ SetHistogramLink()

void TGo4Condition::SetHistogramLink ( Bool_t on)
inline

Define if this condition has association with an analysis histogram.

Definition at line 215 of file TGo4Condition.h.

References fbHistogramLink.

◆ SetIntDraw()

virtual void TGo4Condition::SetIntDraw ( Bool_t on)
inlinevirtual

Reimplemented in TGo4CondArray.

Definition at line 263 of file TGo4Condition.h.

References fbIntDraw.

Referenced by TGo4ConditionEditor::ChangeConditionProperty(), TGo4CondArray::SetIntDraw(), and UpdateFromUrl().

◆ SetLabelDraw()

virtual void TGo4Condition::SetLabelDraw ( Bool_t on)
inlinevirtual

◆ SetLabelNumFormat()

virtual void TGo4Condition::SetLabelNumFormat ( const char * fmt)
inlinevirtual

Definition at line 287 of file TGo4Condition.h.

References fxNumFormat.

◆ SetLast()

void TGo4Condition::SetLast ( Bool_t value)
inline

Can be used in Test to store the result.

Is retrieved by GetLast() without further test.

Definition at line 147 of file TGo4Condition.h.

References fbLastResult.

◆ SetLimitsDraw()

virtual void TGo4Condition::SetLimitsDraw ( Bool_t on)
inlinevirtual

◆ SetMultiEdit()

void TGo4Condition::SetMultiEdit ( Bool_t on)
inline

Definition at line 299 of file TGo4Condition.h.

References fbMultiEdit.

Referenced by TGo4ConditionEditor::SelectedCondition().

◆ SetOwnedByEditor()

void TGo4Condition::SetOwnedByEditor ( Bool_t on)
inline

Definition at line 305 of file TGo4Condition.h.

References fbOwnedByEditor.

Referenced by TGo4CondArrayPainter::PaintCondition().

◆ SetPainted()

void TGo4Condition::SetPainted ( Bool_t on)
inlineprotected

Definition at line 422 of file TGo4Condition.h.

References fbIsPainted.

Referenced by TGo4CondArray::Draw(), Draw(), Paint(), and UnDraw().

◆ SetPainter()

void TGo4Condition::SetPainter ( TGo4ConditionPainter * painter)
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.

◆ SetUpdateEpsilon()

void TGo4Condition::SetUpdateEpsilon ( Double_t val)
inline

Configure graphical update tolerance for this condition individually.

by default, update tolerance is set to static value fgdUPDATEEPSILON

Definition at line 240 of file TGo4Condition.h.

References fdUpdateEpsilon.

◆ SetValues() [1/5]

virtual void TGo4Condition::SetValues ( )
inlinevirtual

Set values needed, i.e.

limits for windows or cuts for polygons

Reimplemented in TGo4CondArray, TGo4CounterCond, TGo4ListCond, TGo4PolyCond, and TGo4WinCond.

Definition at line 94 of file TGo4Condition.h.

Referenced by TGo4CondArray::SetValues(), TGo4CondArray::SetValues(), TGo4CondArray::SetValues(), and TGo4ConditionEditor::UpdateLimits().

◆ SetValues() [2/5]

virtual void TGo4Condition::SetValues ( Double_t * x,
Double_t * y,
Int_t len )
inlinevirtual

Reimplemented in TGo4CondArray, TGo4CounterCond, TGo4ListCond, TGo4PolyCond, and TGo4WinCond.

Definition at line 98 of file TGo4Condition.h.

◆ SetValues() [3/5]

virtual void TGo4Condition::SetValues ( Double_t low1,
Double_t up1 )
inlinevirtual

Reimplemented in TGo4CondArray, TGo4CounterCond, TGo4ListCond, TGo4PolyCond, and TGo4WinCond.

Definition at line 95 of file TGo4Condition.h.

◆ SetValues() [4/5]

virtual void TGo4Condition::SetValues ( Double_t low1,
Double_t up1,
Double_t low2,
Double_t up2 )
inlinevirtual

Reimplemented in TGo4CondArray, TGo4CounterCond, TGo4ListCond, TGo4PolyCond, and TGo4WinCond.

Definition at line 96 of file TGo4Condition.h.

◆ SetValues() [5/5]

virtual void TGo4Condition::SetValues ( TCutG * newcut)
inlinevirtual

Reimplemented in TGo4CondArray, TGo4CounterCond, TGo4ListCond, TGo4PolyCond, and TGo4WinCond.

Definition at line 97 of file TGo4Condition.h.

◆ SetVisible()

virtual void TGo4Condition::SetVisible ( Bool_t on)
inlinevirtual

Set/Unset visibility.

Overloaded for subclasses!

Reimplemented in TGo4CondArray.

Definition at line 209 of file TGo4Condition.h.

References fbVisible.

Referenced by TGo4ConditionEditor::ChangeConditionProperty(), TGo4CondArray::SetVisible(), and UpdateFromUrl().

◆ SetWorkHistogram()

virtual void TGo4Condition::SetWorkHistogram ( TH1 * histo)
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 228 of file TGo4Condition.h.

References fxHisto.

Referenced by TGo4ViewPanel::CheckObjectsAssigments(), TGo4RootBrowserProxy::DrawCondition(), TGo4RootBrowserProxy::DrawPicture(), TGo4ViewPanel::PadClickedSlot(), TGo4CondArrayPainter::PaintCondition(), TGo4ViewPanel::ProcessCanvasAdopt(), and TGo4PolyCond::SetWorkHistogram().

◆ SetXMaxDraw()

virtual void TGo4Condition::SetXMaxDraw ( Bool_t on)
inlinevirtual

Reimplemented in TGo4CondArray.

Definition at line 278 of file TGo4Condition.h.

References fbXMaxDraw.

Referenced by TGo4ConditionEditor::ChangeConditionProperty(), TGo4CondArray::SetXMaxDraw(), and UpdateFromUrl().

◆ SetXMeanDraw()

virtual void TGo4Condition::SetXMeanDraw ( Bool_t on)
inlinevirtual

◆ SetXRMSDraw()

virtual void TGo4Condition::SetXRMSDraw ( Bool_t on)
inlinevirtual

Reimplemented in TGo4CondArray.

Definition at line 269 of file TGo4Condition.h.

References fbXRMSDraw.

Referenced by TGo4ConditionEditor::ChangeConditionProperty(), TGo4CondArray::SetXRMSDraw(), and UpdateFromUrl().

◆ SetYMaxDraw()

virtual void TGo4Condition::SetYMaxDraw ( Bool_t on)
inlinevirtual

◆ SetYMeanDraw()

virtual void TGo4Condition::SetYMeanDraw ( Bool_t on)
inlinevirtual

◆ SetYRMSDraw()

virtual void TGo4Condition::SetYRMSDraw ( Bool_t on)
inlinevirtual

◆ Test() [1/3]

Bool_t TGo4Condition::Test ( )
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.

Reimplemented in TGo4CondArray, TGo4CounterCond, TGo4ListCond, TGo4PolyCond, and TGo4WinCond.

Definition at line 128 of file TGo4Condition.cxx.

References fiCounts.

Referenced by TGo4CondArray::Test(), and TGo4CondArray::Test().

◆ Test() [2/3]

virtual Bool_t TGo4Condition::Test ( Double_t x)
inlinevirtual

Reimplemented in TGo4CondArray, TGo4CounterCond, TGo4ListCond, TGo4PolyCond, and TGo4WinCond.

Definition at line 90 of file TGo4Condition.h.

◆ Test() [3/3]

virtual Bool_t TGo4Condition::Test ( Double_t x,
Double_t y )
inlinevirtual

Reimplemented in TGo4CondArray, TGo4CounterCond, TGo4ListCond, TGo4PolyCond, and TGo4WinCond.

Definition at line 89 of file TGo4Condition.h.

◆ TrueCounts()

Int_t TGo4Condition::TrueCounts ( )
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().

◆ UnDraw()

void TGo4Condition::UnDraw ( Option_t * opt = "")
virtual

Erase view of this condition from the pad.

Definition at line 615 of file TGo4Condition.cxx.

References CreatePainter(), fxPainter, and SetPainted().

Referenced by Draw(), and TGo4CondArrayPainter::UnPaintCondition().

◆ UpdateFrom()

◆ UpdateFromUrl()

◆ UrlOptionHasKey()

Bool_t TGo4Condition::UrlOptionHasKey ( const char * key)
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 TGo4PolyCond::UpdateFromUrl(), and TGo4WinCond::UpdateFromUrl().

Friends And Related Symbol Documentation

◆ TGo4CondArray

friend class TGo4CondArray
friend

Definition at line 39 of file TGo4Condition.h.

References TGo4CondArray.

Referenced by TGo4CondArray.

Field Documentation

◆ fbCMaxDraw

Bool_t TGo4Condition::fbCMaxDraw {kFALSE}
private

If true, draw corresponding value as label on working pad.

Definition at line 503 of file TGo4Condition.h.

Referenced by InitLabelStyle(), IsCMaxDraw(), SaveLabelStyle(), SetCMaxDraw(), and UpdateFrom().

◆ fbEnabled

Bool_t TGo4Condition::fbEnabled {kFALSE}
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 454 of file TGo4Condition.h.

Referenced by TGo4Condition(), Disable(), Enable(), GetFlags(), IsEnabled(), Print(), PrintCondition(), SetFlags(), TGo4CondArray::Test(), and UpdateFrom().

◆ fbFalse

Bool_t TGo4Condition::fbFalse {kFALSE}
private

These are inverted by Invert(true), and restored by Invert(false).

Definition at line 442 of file TGo4Condition.h.

Referenced by TGo4Condition(), GetFlags(), Invert(), IsFalse(), SetFlags(), TGo4CondArray::Test(), and UpdateFrom().

◆ fbHistogramLink

Bool_t TGo4Condition::fbHistogramLink {kFALSE}
private

is true if this condition has link to a histogram name

Definition at line 467 of file TGo4Condition.h.

Referenced by TGo4Condition(), IsHistogramLink(), PrintCondition(), SetHistogram(), SetHistogramLink(), TGo4CondArray::Test(), and UpdateFrom().

◆ fbIntDraw

Bool_t TGo4Condition::fbIntDraw {kFALSE}
private

If true, draw corresponding value as label on working pad.

Definition at line 482 of file TGo4Condition.h.

Referenced by InitLabelStyle(), IsIntDraw(), SaveLabelStyle(), SetIntDraw(), and UpdateFrom().

◆ fbIsPainted

Bool_t TGo4Condition::fbIsPainted {kFALSE}
private

Flag to prevent Paint() method to redraw condition views after UnDraw.

Problem with Paint() called from ROOT event loop.

Definition at line 517 of file TGo4Condition.h.

Referenced by TGo4Condition(), IsPainted(), SetPainted(), and TGo4CondArray::Test().

◆ fbLabelDraw

Bool_t TGo4Condition::fbLabelDraw {kFALSE}
private

If true, draw corresponding value as label on working pad.

Definition at line 476 of file TGo4Condition.h.

Referenced by InitLabelStyle(), IsLabelDraw(), SaveLabelStyle(), SetLabelDraw(), and UpdateFrom().

◆ fbLastResult

Bool_t TGo4Condition::fbLastResult {kFALSE}
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 436 of file TGo4Condition.h.

Referenced by GetFlags(), GetLast(), SetFlags(), and SetLast().

◆ fbLimitsDraw

Bool_t TGo4Condition::fbLimitsDraw {kFALSE}
private

If true, draw corresponding value as label on working pad.

Definition at line 479 of file TGo4Condition.h.

Referenced by InitLabelStyle(), IsLimitsDraw(), SaveLabelStyle(), SetLimitsDraw(), and UpdateFrom().

◆ fbMarkReset

Bool_t TGo4Condition::fbMarkReset {kFALSE}
private

◆ fbMultiEdit

Bool_t TGo4Condition::fbMultiEdit {kFALSE}
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 461 of file TGo4Condition.h.

Referenced by TGo4Condition(), IsMultiEdit(), SetMultiEdit(), TGo4CondArray::Test(), and UpdateFrom().

◆ fbOwnedByEditor

Bool_t TGo4Condition::fbOwnedByEditor {kFALSE}
private

Flag to suppress interactive deletion of condition.

Definition at line 520 of file TGo4Condition.h.

Referenced by TGo4Condition(), IsOwnedByEditor(), SetOwnedByEditor(), and TGo4CondArray::Test().

◆ fbResult

Bool_t TGo4Condition::fbResult {kFALSE}
private

If fbEnabled is false, return this as result.

Definition at line 457 of file TGo4Condition.h.

Referenced by TGo4Condition(), Disable(), FixedResult(), GetFlags(), Print(), PrintCondition(), SetFlags(), TGo4CondArray::Test(), and UpdateFrom().

◆ fbStreamedCondition

Bool_t TGo4Condition::fbStreamedCondition {kFALSE}
private

This allows to treat conditions streamed into pad.

Definition at line 523 of file TGo4Condition.h.

Referenced by TGo4Condition(), Paint(), and TGo4CondArray::Test().

◆ fbTrue

Bool_t TGo4Condition::fbTrue {kTRUE}
private

These are inverted by Invert(true), and restored by Invert(false)

Definition at line 439 of file TGo4Condition.h.

Referenced by TGo4Condition(), GetFlags(), Invert(), IsTrue(), Print(), PrintCondition(), SetFlags(), TGo4CondArray::Test(), and UpdateFrom().

◆ fbVisible

Bool_t TGo4Condition::fbVisible {kFALSE}
private

Property to store visibility of condition on display.

Definition at line 464 of file TGo4Condition.h.

Referenced by TGo4Condition(), IsVisible(), SetVisible(), TGo4CondArray::Test(), and UpdateFrom().

◆ fbXMaxDraw

Bool_t TGo4Condition::fbXMaxDraw {kFALSE}
private

If true, draw corresponding value as label on working pad.

Definition at line 497 of file TGo4Condition.h.

Referenced by InitLabelStyle(), IsXMaxDraw(), SaveLabelStyle(), SetXMaxDraw(), and UpdateFrom().

◆ fbXMeanDraw

Bool_t TGo4Condition::fbXMeanDraw {kFALSE}
private

If true, draw corresponding value as label on working pad.

Definition at line 485 of file TGo4Condition.h.

Referenced by InitLabelStyle(), IsXMeanDraw(), SaveLabelStyle(), SetXMeanDraw(), and UpdateFrom().

◆ fbXRMSDraw

Bool_t TGo4Condition::fbXRMSDraw {kFALSE}
private

If true, draw corresponding value as label on working pad.

Definition at line 488 of file TGo4Condition.h.

Referenced by InitLabelStyle(), IsXRMSDraw(), SaveLabelStyle(), SetXRMSDraw(), and UpdateFrom().

◆ fbYMaxDraw

Bool_t TGo4Condition::fbYMaxDraw {kFALSE}
private

If true, draw corresponding value as label on working pad.

Definition at line 500 of file TGo4Condition.h.

Referenced by InitLabelStyle(), IsYMaxDraw(), SaveLabelStyle(), SetYMaxDraw(), and UpdateFrom().

◆ fbYMeanDraw

Bool_t TGo4Condition::fbYMeanDraw {kFALSE}
private

If true, draw corresponding value as label on working pad.

Definition at line 491 of file TGo4Condition.h.

Referenced by InitLabelStyle(), IsYMeanDraw(), SaveLabelStyle(), SetYMeanDraw(), and UpdateFrom().

◆ fbYRMSDraw

Bool_t TGo4Condition::fbYRMSDraw {kFALSE}
private

If true, draw corresponding value as label on working pad.

Definition at line 494 of file TGo4Condition.h.

Referenced by InitLabelStyle(), IsYRMSDraw(), SaveLabelStyle(), SetYRMSDraw(), and UpdateFrom().

◆ fdUpdateEpsilon

Double_t TGo4Condition::fdUpdateEpsilon {0}
private

Precision for the check if graphical representation change requires update.

Definition at line 473 of file TGo4Condition.h.

Referenced by TGo4Condition(), GetUpdateEpsilon(), SetUpdateEpsilon(), TGo4CondArray::Test(), and UpdateFrom().

◆ fgbCMAXDRAW

Bool_t TGo4Condition::fgbCMAXDRAW =kTRUE
static

default setting for all conditions for label draw cmax flag.

Definition at line 353 of file TGo4Condition.h.

Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().

◆ fgbINTDRAW

Bool_t TGo4Condition::fgbINTDRAW =kTRUE
static

default setting for all conditions for label draw integral flag.

Definition at line 332 of file TGo4Condition.h.

Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().

◆ fgbLABELDRAW

Bool_t TGo4Condition::fgbLABELDRAW =kTRUE
static

default setting for all conditions for label draw on/off flag.

Definition at line 326 of file TGo4Condition.h.

Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().

◆ fgbLIMITSDRAW

Bool_t TGo4Condition::fgbLIMITSDRAW =kTRUE
static

default setting for all conditions for label draw limits flag.

Definition at line 329 of file TGo4Condition.h.

Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().

◆ fgbXMAXDRAW

Bool_t TGo4Condition::fgbXMAXDRAW =kTRUE
static

default setting for all conditions for label draw xmax flag.

Definition at line 347 of file TGo4Condition.h.

Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().

◆ fgbXMEANDRAW

Bool_t TGo4Condition::fgbXMEANDRAW =kTRUE
static

default setting for all conditions for label draw xmean flag.

Definition at line 335 of file TGo4Condition.h.

Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().

◆ fgbXRMSDRAW

Bool_t TGo4Condition::fgbXRMSDRAW =kTRUE
static

default setting for all conditions for label draw xrms flag.

Definition at line 338 of file TGo4Condition.h.

Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().

◆ fgbYMAXDRAW

Bool_t TGo4Condition::fgbYMAXDRAW =kFALSE
static

default setting for all conditions for label draw ymax flag.

Definition at line 350 of file TGo4Condition.h.

Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().

◆ fgbYMEANDRAW

Bool_t TGo4Condition::fgbYMEANDRAW =kFALSE
static

default setting for all conditions for label draw ymean flag.

Definition at line 341 of file TGo4Condition.h.

Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().

◆ fgbYRMSDRAW

Bool_t TGo4Condition::fgbYRMSDRAW =kFALSE
static

default setting for all conditions for label draw yrms flag.

Definition at line 344 of file TGo4Condition.h.

Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().

◆ fgdUPDATEEPSILON

const Double_t TGo4Condition::fgdUPDATEEPSILON = 0.01
static

default value for graphical update tolerance.

Definition at line 245 of file TGo4Condition.h.

Referenced by TGo4Condition(), and TGo4CondArray::Test().

◆ fgxNUMFORMAT

TString TGo4Condition::fgxNUMFORMAT ="%.4E"
static

default setting for all conditions with format string for numbers.

Definition at line 356 of file TGo4Condition.h.

Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().

◆ fgxURL_CMAX

TString TGo4Condition::fgxURL_CMAX ="cmaxdraw"
static

web condition editor keyword used in UpdateFromUrl.

Definition at line 384 of file TGo4Condition.h.

Referenced by UpdateFromUrl().

◆ fgxURL_INTEGRAL

TString TGo4Condition::fgxURL_INTEGRAL ="intdraw"
static

web condition editor keyword used in UpdateFromUrl.

Definition at line 370 of file TGo4Condition.h.

Referenced by UpdateFromUrl().

◆ fgxURL_INVERT

TString TGo4Condition::fgxURL_INVERT ="invertmode"
static

web condition editor keyword used in UpdateFromUrl.

Definition at line 362 of file TGo4Condition.h.

Referenced by UpdateFromUrl().

◆ fgxURL_LABEL

TString TGo4Condition::fgxURL_LABEL ="labeldraw"
static

web condition editor keyword used in UpdateFromUrl.

Definition at line 366 of file TGo4Condition.h.

Referenced by UpdateFromUrl().

◆ fgxURL_LIMITS

TString TGo4Condition::fgxURL_LIMITS ="limitsdraw"
static

web condition editor keyword used in UpdateFromUrl.

Definition at line 368 of file TGo4Condition.h.

Referenced by UpdateFromUrl().

◆ fgxURL_RESET

TString TGo4Condition::fgxURL_RESET ="resetcounters"
static

web condition editor keyword used in UpdateFromUrl.

Following keywords should be used by condition editor in web browser:

Definition at line 358 of file TGo4Condition.h.

Referenced by UpdateFromUrl().

◆ fgxURL_RESULT

TString TGo4Condition::fgxURL_RESULT ="resultmode"
static

web condition editor keyword used in UpdateFromUrl.

Definition at line 360 of file TGo4Condition.h.

Referenced by UpdateFromUrl().

◆ fgxURL_VISIBLE

TString TGo4Condition::fgxURL_VISIBLE ="visible"
static

web condition editor keyword used in UpdateFromUrl.

Definition at line 364 of file TGo4Condition.h.

Referenced by UpdateFromUrl().

◆ fgxURL_XMAX

TString TGo4Condition::fgxURL_XMAX ="xmaxdraw"
static

web condition editor keyword used in UpdateFromUrl.

Definition at line 380 of file TGo4Condition.h.

Referenced by UpdateFromUrl().

◆ fgxURL_XMEAN

TString TGo4Condition::fgxURL_XMEAN ="xmeandraw"
static

web condition editor keyword used in UpdateFromUrl.

Definition at line 372 of file TGo4Condition.h.

Referenced by UpdateFromUrl().

◆ fgxURL_XRMS

TString TGo4Condition::fgxURL_XRMS ="xrmsdraw"
static

web condition editor keyword used in UpdateFromUrl.

Definition at line 374 of file TGo4Condition.h.

Referenced by UpdateFromUrl().

◆ fgxURL_YMAX

TString TGo4Condition::fgxURL_YMAX ="ymaxdraw"
static

web condition editor keyword used in UpdateFromUrl.

Definition at line 382 of file TGo4Condition.h.

Referenced by UpdateFromUrl().

◆ fgxURL_YMEAN

TString TGo4Condition::fgxURL_YMEAN ="ymeandraw"
static

web condition editor keyword used in UpdateFromUrl.

Definition at line 376 of file TGo4Condition.h.

Referenced by UpdateFromUrl().

◆ fgxURL_YRMS

TString TGo4Condition::fgxURL_YRMS ="yrmsdraw"
static

web condition editor keyword used in UpdateFromUrl.

Definition at line 378 of file TGo4Condition.h.

Referenced by UpdateFromUrl().

◆ fiCounts

Int_t TGo4Condition::fiCounts {0}
private

Counts the number of calls of the Test method.

Definition at line 448 of file TGo4Condition.h.

Referenced by TGo4Condition(), Counts(), IncCounts(), PrintBar(), PrintCondition(), ResetCounts(), SetCounts(), TGo4CondArray::Test(), Test(), and UpdateFrom().

◆ fiDim

Int_t TGo4Condition::fiDim {0}
private

Dimension (1 or 2).

Definition at line 430 of file TGo4Condition.h.

Referenced by TGo4Condition(), GetDimension(), SetDimension(), TGo4CondArray::Test(), and UpdateFrom().

◆ fiIsChanged

Int_t TGo4Condition::fiIsChanged {0}
private

Counter indicate how many times condition was changed from graphical view.

Definition at line 513 of file TGo4Condition.h.

Referenced by TGo4Condition(), IsChanged(), SetChanged(), and TGo4CondArray::Test().

◆ fiTrueCounts

Int_t TGo4Condition::fiTrueCounts {0}
private

Counts the number of calls of the Test method with true result.

Definition at line 445 of file TGo4Condition.h.

Referenced by TGo4Condition(), IncTrueCounts(), PrintBar(), PrintCondition(), ResetCounts(), SetCounts(), TGo4CondArray::Test(), TrueCounts(), and UpdateFrom().

◆ fxHisto

TH1* TGo4Condition::fxHisto {nullptr}
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 510 of file TGo4Condition.h.

Referenced by GetWorkHistogram(), and SetWorkHistogram().

◆ fxHistoName

TString TGo4Condition::fxHistoName
private

contains associated histogram name

Definition at line 470 of file TGo4Condition.h.

Referenced by GetLinkedHistogram(), PrintCondition(), SetHistogram(), and UpdateFrom().

◆ fxNumFormat

TString TGo4Condition::fxNumFormat
private

format string for all label numbers.

Definition at line 506 of file TGo4Condition.h.

Referenced by GetLabelNumFormat(), InitLabelStyle(), SaveLabelStyle(), and SetLabelNumFormat().

◆ fxPainter

TGo4ConditionPainter* TGo4Condition::fxPainter {nullptr}
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 399 of file TGo4Condition.h.

Referenced by TGo4CondArray::~TGo4CondArray(), ~TGo4Condition(), DeletePainter(), Paint(), Pop(), ResetLabel(), TGo4CondArray::SetPainter(), TGo4PolyCond::SetPainter(), TGo4WinCond::SetPainter(), and UnDraw().

◆ fxUrlOptionArray

TObjArray* TGo4Condition::fxUrlOptionArray {nullptr}
protected

array with TObjStrings evaluated by UpdateFromUrl

Definition at line 402 of file TGo4Condition.h.

Referenced by ~TGo4Condition(), BuildUrlOptionArray(), GetUrlOptionAsString(), and UrlOptionHasKey().


The documentation for this class was generated from the following files: