30 TGo4WinCond(
const char *name,
const char *title =
"Go4 window condition");
45 void SetValues(Double_t low1, Double_t up1)
override;
48 void SetValues(Double_t low1, Double_t up1, Double_t low2, Double_t up2)
override;
53 Bool_t
Test(Double_t v1)
override;
57 Bool_t
Test(Double_t v1, Double_t v2)
override;
60 void GetValues(Int_t &dim, Double_t &x1, Double_t &y1, Double_t &x2, Double_t &y2)
override;
82 Double_t
GetIntegral(TH1 *histo, Option_t *opt =
"")
override;
85 Double_t
GetMean(TH1 *histo, Int_t axis=1)
override;
88 Double_t
GetRMS(TH1 *histo, Int_t axis=1)
override;
91 Double_t
GetSkewness(TH1 *histo, Int_t axis=1)
override;
94 Double_t
GetCurtosis(TH1 *histo, Int_t axis=1)
override;
97 Double_t
GetXMax(TH1 *histo)
override;
100 Double_t
GetYMax(TH1 *histo)
override;
103 Double_t
GetCMax(TH1 *histo)
override;
110 void SavePrimitive(std::ostream &fs, Option_t *opt =
"")
override;
virtual void SetValues()
Set values needed, i.e.
virtual Bool_t Test()
Test if condition is true.
void GetValues(Int_t &dim, Double_t &x1, Double_t &y1, Double_t &x2, Double_t &y2) override
Returns limits.
Double_t GetMean(TH1 *histo, Int_t axis=1) override
Calculate value for histogram inside condition limits.
void SetPainter(TGo4ConditionPainter *painter) override
Replace default painter of this condition by external one.
static TString fgxURL_YUP
web condition editor keyword used in UpdateFromUrl.
Double_t GetXLow() const override
Int_t GetMemorySize() const override
Int_t fiSaveYMax
Saved maximum y-axis bin number for active histogram range.
Bool_t IsPolygonType() const override
Double_t fLow2
inclusive lower limit
static TString fgxURL_XUP
web condition editor keyword used in UpdateFromUrl.
Int_t fiSaveYMin
Saved minimum y-axis bin number for active histogram range.
Double_t GetYLow() const override
Double_t GetSkewness(TH1 *histo, Int_t axis=1) override
Calculate value for histogram inside condition limits.
virtual void SetValues()
Set values needed, i.e.
Double_t fUp1
exclusive upper limit
static TString fgxURL_XLOW
web condition editor keyword used in UpdateFromUrl.
Int_t fiSaveXMin
Saved minimum x-axis bin number for active histogram range.
Bool_t UpdateFromUrl(const char *rest_url_opt) override
Method used by HTTP server to update some fields, specified in URL syntax.
Double_t fUp2
exclusive upper limit
Double_t GetIntegral(TH1 *histo, Option_t *opt="") override
Calculate value for histogram inside condition limits.
void SetHistogramRanges(TH1 *histo)
Remember ranges of current histo and set range to active window.
virtual Bool_t Test()
Test if condition is true.
Int_t fiSaveXMax
Saved maximum x-axis bin number for active histogram range.
static TString fgxURL_YLOW
web condition editor keyword used in UpdateFromUrl.
Double_t GetXMax(TH1 *histo) override
Calculate value for histogram inside condition limits.
Double_t GetXUp() const override
Double_t GetCMax(TH1 *histo) override
Calculate value for histogram inside condition limits.
Double_t fLow1
inclusive lower limit
void SavePrimitive(std::ostream &fs, Option_t *opt="") override
Standard way to store parameter in form of macro.
void PrintCondition(Bool_t full=kTRUE) override
Printout.
Double_t GetYMax(TH1 *histo) override
Calculate value for histogram inside condition limits.
void RestoreHistogramRanges(TH1 *histo)
Restore original ranges of current histo.
Bool_t UpdateFrom(TGo4Condition *cond, Bool_t counts) override
Copy values from cond to this.
Double_t GetCurtosis(TH1 *histo, Int_t axis=1) override
Calculate value for histogram inside condition limits.
Double_t GetRMS(TH1 *histo, Int_t axis=1) override
Calculate value for histogram inside condition limits.
Double_t GetYUp() const override
TGo4ConditionPainter * CreatePainter() override
Factory method to generate the subclass implementation for painter.