28 TCutG(), fbExecutesMouseEvent(kFALSE),fbExecutesMouseMenu(kFALSE), fxPolyCondition(0)
38 TCutG(), fbExecutesMouseEvent(kFALSE),fbExecutesMouseMenu(kFALSE),fxPolyCondition(0)
68 Int_t rev = TGraph::InsertPoint();
77 Int_t rev = TGraph::RemovePoint();
95 static Bool_t ignoreNext=kFALSE;
102 if(event==kButton1Double)
121 TCutG::ExecuteEvent(event,px,py);
140 Bool_t needsupdate=kFALSE;
146 Int_t oldmaxpoints=concut->GetN();
147 Int_t newmaxpoints=GetN();
148 if(oldmaxpoints!=newmaxpoints)
154 for(Int_t point=0; point<oldmaxpoints; ++point)
160 concut->GetPoint(point,xo,yo);
161 GetPoint(point,xn,yn);
162 if(TMath::Abs(xo-xn) > epsilon)
167 if(TMath::Abs(yo-yn) > epsilon)
183 #ifdef POLYCONDVIEW_UPDATE_WITHCLONE
208 Int_t pn=source->GetN();
212 for(Int_t i=0; i<pn; ++i) {
213 source->GetPoint(i,xp,yp);
222 TCutG* result =
new TCutG;
223 result->SetBit(kMustCleanup);
229 for(Int_t i=0; i<pn; ++i) {
231 result->SetPoint(i,xp,yp);
233 result->SetLineColor(GetLineColor());
234 result->SetLineWidth(GetLineWidth());
235 result->SetLineStyle(GetLineStyle());
236 result->SetFillColor(GetFillColor());
237 result->SetFillStyle(GetFillStyle());
246 return (TCutG::GetName());
Double_t GetUpdateEpsilon()
virtual void SetChanged(Bool_t on)
virtual Int_t RemovePoint()
Bool_t fbExecutesMouseMenu
virtual void SetLimitsDraw(Bool_t on)
void SetYMeanDraw(Bool_t on)
virtual void UpdateCondition()
virtual void SetYRMSDraw(Bool_t on)
void SetLabelDraw(Bool_t on)
static void CleanupSpecials()
void SetYRMSDraw(Bool_t on)
virtual void SetXMaxDraw(Bool_t on)
virtual void SetYMaxDraw(Bool_t on)
virtual void Paint(Option_t *opt)
virtual const char * GetName() const
virtual void SetValues(Double_t *x, Double_t *y, Int_t len)
TCutG * GetCut(Bool_t changeowner)
TGo4PolyCond * fxPolyCondition
virtual Int_t InsertPoint()
void SetCMaxDraw(Bool_t on)
virtual void SetIntDraw(Bool_t on)
void SetXMeanDraw(Bool_t on)
void SetXRMSDraw(Bool_t on)
virtual void SetYMeanDraw(Bool_t on)
void SetCut(TCutG *source)
void ResetLabel(Option_t *opt="reset")
virtual void SetXMeanDraw(Bool_t on)
void SetLimitsDraw(Bool_t on)
void SetName(const char *nam)
virtual void SetLabelDraw(Bool_t on)
void SetXMaxDraw(Bool_t on)
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Bool_t fbExecutesMouseEvent
virtual void SetXRMSDraw(Bool_t on)
void SetYMaxDraw(Bool_t on)
void SetIntDraw(Bool_t on)
virtual ~TGo4PolyCondView()
virtual void SetCMaxDraw(Bool_t on)