16 #include "TVirtualPad.h"
31 :
TGo4LabelPainter(name, title ? title :
"Go4 ConditionPainter"), fxCondition(0)
65 Double_t xpmax=0; Double_t ypmax=0; Int_t dim=0;
66 wconny->
GetValues(dim, xpmin, xpmax, ypmin, ypmax);
67 if(ypmin==0) ypmin=(gPad->GetUymax()-gPad->GetUymin())/2;
71 TCutG* cutg=pconny->
GetCut(kFALSE);
72 if(cutg) cutg->GetPoint(0,xpmin,ypmin);
76 xpmin=(gPad->GetUxmax()-gPad->GetUxmin())/2;
77 ypmin=(gPad->GetUymax()-gPad->GetUymin())/2;
94 if((isarray && !ismulti) || !haslabel)
102 Double_t xoff=0.015*(gPad->GetUxmax()-gPad->GetUxmin());
103 Double_t yoff=0.015*(gPad->GetUymax()-gPad->GetUymin());
104 SetX0( gPad->PadtoX( gPad->XtoPad(xpmin) + xoff));
105 SetY0( gPad->PadtoY( gPad->YtoPad(ypmin) + yoff));
virtual Bool_t IsYRMSDraw()
virtual Bool_t IsLabelDraw()
virtual Double_t GetXMax(TH1 *histo)
virtual Double_t GetMean(TH1 *histo, Int_t axis=1)
virtual void PaintCondition(Option_t *opt="")
virtual Double_t GetCMax(TH1 *histo)
virtual void UnPaintLabel(Option_t *opt="")
virtual Bool_t IsXMeanDraw()
virtual void UnPaintCondition(Option_t *opt="")
virtual Bool_t IsLimitsDraw()
virtual Bool_t IsYMeanDraw()
virtual Double_t GetYUp()
TGo4Condition * fxCondition
virtual void GetValues(Int_t &dim, Double_t &x1, Double_t &y1, Double_t &x2, Double_t &y2)
virtual Bool_t IsIntDraw()
virtual void PaintLabel(Option_t *opt="")
virtual void PaintLabel(Option_t *opt="")
virtual Bool_t IsXRMSDraw()
TCutG * GetCut(Bool_t changeowner)
void SetCaption(const char *txt)
virtual Bool_t IsXMaxDraw()
virtual Bool_t IsVisible()
virtual Bool_t IsMultiEdit()
virtual void SetCondition(TGo4Condition *con)
virtual const char * GetLabelNumFormat()
virtual Double_t GetXLow()
virtual ~TGo4ConditionPainter()
virtual Bool_t IsArrayType()
virtual Double_t GetYMax(TH1 *histo)
virtual Double_t GetXUp()
virtual Double_t GetRMS(TH1 *histo, Int_t axis=1)
virtual Bool_t IsCMaxDraw()
void AddToLabel(const char *txt)
virtual Bool_t IsYMaxDraw()
virtual void RePaintLabel(Option_t *opt="")
virtual Double_t GetIntegral(TH1 *histo, Option_t *opt="")
virtual Double_t GetYLow()