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