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

Window condition. More...

#include <TGo4WinCond.h>

+ Inheritance diagram for TGo4WinCond:

Public Member Functions

 TGo4WinCond ()
 
 TGo4WinCond (const char *name, const char *title="Go4 window condition")
 
virtual ~TGo4WinCond ()
 
TGo4ConditionPainterCreatePainter () override
 Factory method to generate the subclass implementation for painter.
 
Double_t GetCMax (TH1 *histo) override
 Calculate value for histogram inside condition limits.
 
Double_t GetCurtosis (TH1 *histo, Int_t axis=1) override
 Calculate value for histogram inside condition limits.
 
Double_t GetIntegral (TH1 *histo, Option_t *opt="") override
 Calculate value for histogram inside condition limits.
 
Double_t GetMean (TH1 *histo, Int_t axis=1) override
 Calculate value for histogram inside condition limits.
 
Int_t GetMemorySize () const override
 
Double_t GetRMS (TH1 *histo, Int_t axis=1) override
 Calculate value for histogram inside condition limits.
 
Double_t GetSkewness (TH1 *histo, Int_t axis=1) override
 Calculate value for histogram inside condition limits.
 
void GetValues (Int_t &dim, Double_t &x1, Double_t &y1, Double_t &x2, Double_t &y2) override
 Returns limits.
 
Double_t GetXLow () const override
 
Double_t GetXMax (TH1 *histo) override
 Calculate value for histogram inside condition limits.
 
Double_t GetXUp () const override
 
Double_t GetYLow () const override
 
Double_t GetYMax (TH1 *histo) override
 Calculate value for histogram inside condition limits.
 
Double_t GetYUp () const override
 
Bool_t IsPolygonType () const override
 
void PrintCondition (Bool_t full=kTRUE) override
 Printout.
 
void SavePrimitive (std::ostream &fs, Option_t *opt="") override
 Standard way to store parameter in form of macro.
 
void SetPainter (TGo4ConditionPainter *painter) override
 Replace default painter of this condition by external one.
 
virtual void SetValues ()
 Set values needed, i.e.
 
virtual void SetValues (Double_t *x, Double_t *y, Int_t len)
 
void SetValues (Double_t low1, Double_t up1) override
 Set limits and internal dimension to 1.
 
void SetValues (Double_t low1, Double_t up1, Double_t low2, Double_t up2) override
 Set limits and internal dimension to 2.
 
virtual void SetValues (TCutG *newcut)
 
void SetXLow (Double_t v)
 
void SetXUp (Double_t v)
 
void SetYLow (Double_t v)
 
void SetYUp (Double_t v)
 
virtual Bool_t Test ()
 Test if condition is true.
 
Bool_t Test (Double_t v1) override
 Test v1 versus first limits: includes lower, excludes upper.
 
Bool_t Test (Double_t v1, Double_t v2) override
 Test v1 versus first limits and v2 versus second limits Includes lower, excludes upper.
 
Bool_t UpdateFrom (TGo4Condition *cond, Bool_t counts) override
 Copy values from cond to this.
 
Bool_t UpdateFromUrl (const char *rest_url_opt) override
 Method used by HTTP server to update some fields, specified in URL syntax.
 
- Public Member Functions inherited from TGo4Condition
 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.
 
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 Int_t GetCurrentIndex () const
 get index for array type subclasses
 
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 const char * GetLabelNumFormat () const
 
Bool_t GetLast () const
 Returns result of last Test.
 
const char * GetLinkedHistogram () const
 Access name of the associated histogram.
 
virtual Int_t GetNumberOfConditions () const
 for condition aggregates: return total number of conditions, i.e.size of condition array
 
Double_t GetUpdateEpsilon () const
 
TH1 * GetWorkHistogram () const
 access work histogram reference
 
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
 
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 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)
 
void SetUpdateEpsilon (Double_t val)
 Configure graphical update tolerance for this condition individually.
 
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 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.
 

Static Public Attributes

static TString fgxURL_XLOW ="xmin"
 web condition editor keyword used in UpdateFromUrl.
 
static TString fgxURL_XUP ="xmax"
 web condition editor keyword used in UpdateFromUrl.
 
static TString fgxURL_YLOW ="ymin"
 web condition editor keyword used in UpdateFromUrl.
 
static TString fgxURL_YUP ="ymax"
 web condition editor keyword used in UpdateFromUrl.
 
- Static Public Attributes inherited from TGo4Condition
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.
 

Private Member Functions

void RestoreHistogramRanges (TH1 *histo)
 Restore original ranges of current histo.
 
void SetHistogramRanges (TH1 *histo)
 Remember ranges of current histo and set range to active window.
 

Private Attributes

Int_t fiSaveXMax {0}
 Saved maximum x-axis bin number for active histogram range.
 
Int_t fiSaveXMin {0}
 Saved minimum x-axis bin number for active histogram range.
 
Int_t fiSaveYMax {0}
 Saved maximum y-axis bin number for active histogram range.
 
Int_t fiSaveYMin {0}
 Saved minimum y-axis bin number for active histogram range.
 
Double_t fLow1 {0}
 inclusive lower limit
 
Double_t fLow2 {0}
 inclusive lower limit
 
Double_t fUp1 {0}
 exclusive upper limit
 
Double_t fUp2 {0}
 exclusive upper limit
 

Additional Inherited Members

- Static Public Member Functions inherited from TGo4Condition
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)
 
- Protected Member Functions inherited from TGo4Condition
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 inherited from TGo4Condition
TGo4ConditionPainterfxPainter {nullptr}
 Painter instance to display the condition in root pad.
 
TObjArray * fxUrlOptionArray {nullptr}
 array with TObjStrings evaluated by UpdateFromUrl
 

Detailed Description

Window condition.

Definition at line 26 of file TGo4WinCond.h.

Constructor & Destructor Documentation

◆ TGo4WinCond() [1/2]

TGo4WinCond::TGo4WinCond ( )

◆ TGo4WinCond() [2/2]

TGo4WinCond::TGo4WinCond ( const char * name,
const char * title = "Go4 window condition" )

◆ ~TGo4WinCond()

TGo4WinCond::~TGo4WinCond ( )
virtual

Definition at line 59 of file TGo4WinCond.cxx.

References GO4TRACE.

Member Function Documentation

◆ CreatePainter()

TGo4ConditionPainter * TGo4WinCond::CreatePainter ( )
overridevirtual

Factory method to generate the subclass implementation for painter.

Reimplemented from TGo4Condition.

Definition at line 345 of file TGo4WinCond.cxx.

◆ GetCMax()

Double_t TGo4WinCond::GetCMax ( TH1 * histo)
overridevirtual

Calculate value for histogram inside condition limits.

Reimplemented from TGo4Condition.

Definition at line 232 of file TGo4WinCond.cxx.

References RestoreHistogramRanges(), and SetHistogramRanges().

◆ GetCurtosis()

Double_t TGo4WinCond::GetCurtosis ( TH1 * histo,
Int_t axis = 1 )
overridevirtual

Calculate value for histogram inside condition limits.

Reimplemented from TGo4Condition.

Definition at line 182 of file TGo4WinCond.cxx.

References RestoreHistogramRanges(), and SetHistogramRanges().

◆ GetIntegral()

Double_t TGo4WinCond::GetIntegral ( TH1 * histo,
Option_t * opt = "" )
overridevirtual

Calculate value for histogram inside condition limits.

Reimplemented from TGo4Condition.

Definition at line 142 of file TGo4WinCond.cxx.

References RestoreHistogramRanges(), and SetHistogramRanges().

◆ GetMean()

Double_t TGo4WinCond::GetMean ( TH1 * histo,
Int_t axis = 1 )
overridevirtual

Calculate value for histogram inside condition limits.

Reimplemented from TGo4Condition.

Definition at line 152 of file TGo4WinCond.cxx.

References RestoreHistogramRanges(), and SetHistogramRanges().

◆ GetMemorySize()

Int_t TGo4WinCond::GetMemorySize ( ) const
overridevirtual

Reimplemented from TGo4Condition.

Definition at line 352 of file TGo4WinCond.cxx.

◆ GetRMS()

Double_t TGo4WinCond::GetRMS ( TH1 * histo,
Int_t axis = 1 )
overridevirtual

Calculate value for histogram inside condition limits.

Reimplemented from TGo4Condition.

Definition at line 162 of file TGo4WinCond.cxx.

References RestoreHistogramRanges(), and SetHistogramRanges().

◆ GetSkewness()

Double_t TGo4WinCond::GetSkewness ( TH1 * histo,
Int_t axis = 1 )
overridevirtual

Calculate value for histogram inside condition limits.

Reimplemented from TGo4Condition.

Definition at line 172 of file TGo4WinCond.cxx.

References RestoreHistogramRanges(), and SetHistogramRanges().

◆ GetValues()

void TGo4WinCond::GetValues ( Int_t & dim,
Double_t & x1,
Double_t & y1,
Double_t & x2,
Double_t & y2 )
overridevirtual

◆ GetXLow()

Double_t TGo4WinCond::GetXLow ( ) const
inlineoverridevirtual

Reimplemented from TGo4Condition.

Definition at line 62 of file TGo4WinCond.h.

References fLow1.

Referenced by TGo4ViewPanel::PadClickedSlot(), and UpdateFromUrl().

◆ GetXMax()

Double_t TGo4WinCond::GetXMax ( TH1 * histo)
overridevirtual

Calculate value for histogram inside condition limits.

Reimplemented from TGo4Condition.

Definition at line 192 of file TGo4WinCond.cxx.

References RestoreHistogramRanges(), and SetHistogramRanges().

◆ GetXUp()

Double_t TGo4WinCond::GetXUp ( ) const
inlineoverridevirtual

Reimplemented from TGo4Condition.

Definition at line 63 of file TGo4WinCond.h.

References fUp1.

Referenced by UpdateFromUrl().

◆ GetYLow()

Double_t TGo4WinCond::GetYLow ( ) const
inlineoverridevirtual

Reimplemented from TGo4Condition.

Definition at line 64 of file TGo4WinCond.h.

References fLow2.

Referenced by TGo4ViewPanel::PadClickedSlot(), and UpdateFromUrl().

◆ GetYMax()

Double_t TGo4WinCond::GetYMax ( TH1 * histo)
overridevirtual

Calculate value for histogram inside condition limits.

Reimplemented from TGo4Condition.

Definition at line 212 of file TGo4WinCond.cxx.

References RestoreHistogramRanges(), and SetHistogramRanges().

◆ GetYUp()

Double_t TGo4WinCond::GetYUp ( ) const
inlineoverridevirtual

Reimplemented from TGo4Condition.

Definition at line 65 of file TGo4WinCond.h.

References fUp2.

Referenced by UpdateFromUrl().

◆ IsPolygonType()

Bool_t TGo4WinCond::IsPolygonType ( ) const
inlineoverridevirtual

Reimplemented from TGo4Condition.

Definition at line 105 of file TGo4WinCond.h.

◆ PrintCondition()

void TGo4WinCond::PrintCondition ( Bool_t full = kTRUE)
overridevirtual

Printout.

If limits is true, print limits too.

Reimplemented from TGo4Condition.

Definition at line 130 of file TGo4WinCond.cxx.

References fLow1, fLow2, fUp1, fUp2, TGo4Condition::GetDimension(), and TGo4Condition::PrintCondition().

◆ RestoreHistogramRanges()

void TGo4WinCond::RestoreHistogramRanges ( TH1 * histo)
private

Restore original ranges of current histo.

Definition at line 270 of file TGo4WinCond.cxx.

References fiSaveXMax, fiSaveXMin, fiSaveYMax, and fiSaveYMin.

Referenced by GetCMax(), GetCurtosis(), GetIntegral(), GetMean(), GetRMS(), GetSkewness(), GetXMax(), and GetYMax().

◆ SavePrimitive()

void TGo4WinCond::SavePrimitive ( std::ostream & fs,
Option_t * opt = "" )
override

Standard way to store parameter in form of macro.

Definition at line 360 of file TGo4WinCond.cxx.

References GetValues(), and TGo4Condition::MakeScript().

◆ SetHistogramRanges()

void TGo4WinCond::SetHistogramRanges ( TH1 * histo)
private

Remember ranges of current histo and set range to active window.

Definition at line 242 of file TGo4WinCond.cxx.

References fiSaveXMax, fiSaveXMin, fiSaveYMax, fiSaveYMin, fLow1, fLow2, fUp1, and fUp2.

Referenced by GetCMax(), GetCurtosis(), GetIntegral(), GetMean(), GetRMS(), GetSkewness(), GetXMax(), and GetYMax().

◆ SetPainter()

void TGo4WinCond::SetPainter ( TGo4ConditionPainter * painter)
overridevirtual

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 from TGo4Condition.

Definition at line 330 of file TGo4WinCond.cxx.

References TGo4Condition::fxPainter, and TGo4Log::Warn().

◆ SetValues() [1/5]

virtual void TGo4Condition::SetValues ( )
inlinevirtual

Set values needed, i.e.

limits for windows or cuts for polygons

Reimplemented from TGo4Condition.

Definition at line 94 of file TGo4Condition.h.

Referenced by UpdateFromUrl().

◆ SetValues() [2/5]

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

Reimplemented from TGo4Condition.

Definition at line 98 of file TGo4Condition.h.

◆ SetValues() [3/5]

void TGo4WinCond::SetValues ( Double_t low1,
Double_t up1 )
overridevirtual

◆ SetValues() [4/5]

void TGo4WinCond::SetValues ( Double_t low1,
Double_t up1,
Double_t low2,
Double_t up2 )
overridevirtual

Set limits and internal dimension to 2.

Reimplemented from TGo4Condition.

Definition at line 102 of file TGo4WinCond.cxx.

References fLow1, fLow2, fUp1, fUp2, and TGo4Condition::SetDimension().

◆ SetValues() [5/5]

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

Reimplemented from TGo4Condition.

Definition at line 97 of file TGo4Condition.h.

◆ SetXLow()

void TGo4WinCond::SetXLow ( Double_t v)
inline

Definition at line 67 of file TGo4WinCond.h.

References fLow1.

◆ SetXUp()

void TGo4WinCond::SetXUp ( Double_t v)
inline

Definition at line 68 of file TGo4WinCond.h.

References fUp1.

◆ SetYLow()

void TGo4WinCond::SetYLow ( Double_t v)
inline

Definition at line 69 of file TGo4WinCond.h.

References fLow2.

◆ SetYUp()

void TGo4WinCond::SetYUp ( Double_t v)
inline

Definition at line 70 of file TGo4WinCond.h.

References fUp2.

◆ 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 from TGo4Condition.

Definition at line 88 of file TGo4Condition.cxx.

◆ Test() [2/3]

Bool_t TGo4WinCond::Test ( Double_t v1)
overridevirtual

Test v1 versus first limits: includes lower, excludes upper.

Reimplemented from TGo4Condition.

Definition at line 86 of file TGo4WinCond.cxx.

References TGo4Condition::FixedResult(), fLow1, fUp1, TGo4Condition::IncCounts(), TGo4Condition::IncTrueCounts(), TGo4Condition::IsEnabled(), TGo4Condition::IsFalse(), and TGo4Condition::IsTrue().

◆ Test() [3/3]

Bool_t TGo4WinCond::Test ( Double_t v1,
Double_t v2 )
overridevirtual

Test v1 versus first limits and v2 versus second limits Includes lower, excludes upper.

Reimplemented from TGo4Condition.

Definition at line 65 of file TGo4WinCond.cxx.

References TGo4Condition::FixedResult(), fLow1, fLow2, fUp1, fUp2, TGo4Condition::IncCounts(), TGo4Condition::IncTrueCounts(), TGo4Condition::IsEnabled(), TGo4Condition::IsFalse(), and TGo4Condition::IsTrue().

◆ UpdateFrom()

Bool_t TGo4WinCond::UpdateFrom ( TGo4Condition * cond,
Bool_t counts )
overridevirtual

Copy values from cond to this.

When counts is true, copy also counters.

Reimplemented from TGo4Condition.

Definition at line 281 of file TGo4WinCond.cxx.

References TGo4Condition::TGo4Condition(), TGo4WinCond(), fLow1, fLow2, fUp1, fUp2, TGo4Condition::SetDimension(), and TGo4Condition::UpdateFrom().

◆ UpdateFromUrl()

Bool_t TGo4WinCond::UpdateFromUrl ( const char * rest_url_opt)
overridevirtual

Field Documentation

◆ fgxURL_XLOW

TString TGo4WinCond::fgxURL_XLOW ="xmin"
static

web condition editor keyword used in UpdateFromUrl.

Definition at line 113 of file TGo4WinCond.h.

Referenced by UpdateFromUrl().

◆ fgxURL_XUP

TString TGo4WinCond::fgxURL_XUP ="xmax"
static

web condition editor keyword used in UpdateFromUrl.

Definition at line 115 of file TGo4WinCond.h.

Referenced by UpdateFromUrl().

◆ fgxURL_YLOW

TString TGo4WinCond::fgxURL_YLOW ="ymin"
static

web condition editor keyword used in UpdateFromUrl.

Definition at line 117 of file TGo4WinCond.h.

Referenced by UpdateFromUrl().

◆ fgxURL_YUP

TString TGo4WinCond::fgxURL_YUP ="ymax"
static

web condition editor keyword used in UpdateFromUrl.

Definition at line 119 of file TGo4WinCond.h.

Referenced by UpdateFromUrl().

◆ fiSaveXMax

Int_t TGo4WinCond::fiSaveXMax {0}
private

Saved maximum x-axis bin number for active histogram range.

Definition at line 139 of file TGo4WinCond.h.

Referenced by TGo4WinCond(), TGo4WinCond(), RestoreHistogramRanges(), and SetHistogramRanges().

◆ fiSaveXMin

Int_t TGo4WinCond::fiSaveXMin {0}
private

Saved minimum x-axis bin number for active histogram range.

Definition at line 136 of file TGo4WinCond.h.

Referenced by TGo4WinCond(), TGo4WinCond(), RestoreHistogramRanges(), and SetHistogramRanges().

◆ fiSaveYMax

Int_t TGo4WinCond::fiSaveYMax {0}
private

Saved maximum y-axis bin number for active histogram range.

Definition at line 145 of file TGo4WinCond.h.

Referenced by TGo4WinCond(), TGo4WinCond(), RestoreHistogramRanges(), and SetHistogramRanges().

◆ fiSaveYMin

Int_t TGo4WinCond::fiSaveYMin {0}
private

Saved minimum y-axis bin number for active histogram range.

Definition at line 142 of file TGo4WinCond.h.

Referenced by TGo4WinCond(), TGo4WinCond(), RestoreHistogramRanges(), and SetHistogramRanges().

◆ fLow1

Double_t TGo4WinCond::fLow1 {0}
private

◆ fLow2

Double_t TGo4WinCond::fLow2 {0}
private

inclusive lower limit

Definition at line 130 of file TGo4WinCond.h.

Referenced by TGo4WinCond(), TGo4WinCond(), GetValues(), GetYLow(), PrintCondition(), SetHistogramRanges(), SetValues(), SetYLow(), Test(), and UpdateFrom().

◆ fUp1

Double_t TGo4WinCond::fUp1 {0}
private

◆ fUp2

Double_t TGo4WinCond::fUp2 {0}
private

exclusive upper limit

Definition at line 133 of file TGo4WinCond.h.

Referenced by TGo4WinCond(), TGo4WinCond(), GetValues(), GetYUp(), PrintCondition(), SetHistogramRanges(), SetValues(), SetYUp(), Test(), and UpdateFrom().


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