14 #ifndef TGO4POLYCOND_H 15 #define TGO4POLYCOND_H 26 TGo4PolyCond(
const char *name,
const char *title =
"Go4 polygon condition");
44 void SetValues(Double_t *x, Double_t *y, Int_t len)
override;
55 Bool_t
Test(Double_t x, Double_t y)
override;
58 Double_t
GetXLow()
const override;
61 Double_t
GetXUp()
const override;
64 Double_t
GetYLow()
const override;
67 Double_t
GetYUp()
const override;
75 TCutG *
GetCut(Bool_t changeowner)
override;
88 Double_t
GetIntegral(TH1 *histo, Option_t *opt =
"")
override;
91 Double_t
GetMean(TH1 *histo, Int_t axis = 1)
override;
94 Double_t
GetRMS(TH1 *histo, Int_t axis = 1)
override;
97 Double_t
GetSkewness(TH1 *histo, Int_t axis = 1)
override;
100 Double_t
GetCurtosis(TH1 *histo, Int_t axis = 1)
override;
103 Double_t
GetXMax(TH1 *histo)
override;
106 Double_t
GetYMax(TH1 *histo)
override;
109 Double_t
GetCMax(TH1 *histo)
override;
116 void SavePrimitive(std::ostream &fs, Option_t *opt =
"")
override;
156 #endif //TGO4POLYCOND_H void SetPainter(TGo4ConditionPainter *painter) override
Double_t GetIntegral(TH1 *histo, Option_t *opt="") override
static TString fgxURL_XPRE
Double_t GetMean(TH1 *histo, Int_t axis=1) override
TCutG * GetCut(Bool_t changeowner) override
static TString NextAvailableName()
Double_t GetYLow() const override
TCutG * CloneCut(TGo4PolyCond *source)
void SetValuesDirect(TCutG *newcut)
Bool_t IsCutHis(TH1 *source)
static void CleanupSpecials()
Double_t GetXLow() const override
Bool_t IsPolygonType() const override
static TString fgxURL_YPRE
Double_t GetXUp() const override
Double_t GetYUp() const override
Int_t GetMemorySize() const override
Double_t GetCurtosis(TH1 *histo, Int_t axis=1) override
Double_t GetRMS(TH1 *histo, Int_t axis=1) override
Double_t GetYMax(TH1 *histo) override
Double_t GetSkewness(TH1 *histo, Int_t axis=1) override
TGo4ConditionPainter * CreatePainter() override
void SavePrimitive(std::ostream &fs, Option_t *opt="") override
void SetWorkHistogram(TH1 *histo) override
Double_t GetCMax(TH1 *histo) override
Bool_t UpdateFrom(TGo4Condition *cond, Bool_t counts) override
Double_t GetXMax(TH1 *histo) override
static TString fgxURL_NPOINTS
Bool_t UpdateFromUrl(const char *rest_url_opt) override
void PrintCondition(Bool_t points=kTRUE) override