14 #ifndef TGO4SHAPEDCOND_H 15 #define TGO4SHAPEDCOND_H 23 #define GO4ELLIPSECOND_DEFAULTRESOLUTION 180 44 TGo4ShapedCond(
const char *name,
const char *title =
"Go4 ellipse condition");
53 void SetEllipse(Double_t cx, Double_t cy, Double_t a1, Double_t a2, Double_t theta = 0, Int_t npoints = 0);
59 void SetCircle(Double_t cx, Double_t cy, Double_t r, Int_t npoints = 0);
66 void SetBox(Double_t cx, Double_t cy, Double_t a1, Double_t a2, Double_t theta = 0);
111 void SetRadius(Double_t a1, Double_t a2);
159 void DefineBox(Double_t *x, Double_t *y, Int_t n);
180 #endif //TGO4SHAPEDCOND_H void SetTheta(Double_t angle)
void DefineEllipse(Double_t *x, Double_t *y, Int_t n)
static TString fgxURL_SHAPE
void GetCenter(Double_t &x, Double_t &y) const
void PrintCondition(Bool_t points=kTRUE) override
void SetResolution(Int_t npoints)
void DefineBox(Double_t *x, Double_t *y, Int_t n)
void SetRadius(Double_t a1, Double_t a2)
const char * GetShapeName() const
void SetCenter(Double_t x, Double_t y)
Bool_t UpdateFrom(TGo4Condition *cond, Bool_t counts) override
Bool_t UpdateFromUrl(const char *rest_url_opt) override
Bool_t IsShapedType() const
Double_t GetTheta() const
Int_t GetResolution() const
void GetRadius(Double_t &a1, Double_t &a2) const
static TString fgxURL_RESOLUTION
Go4CondShape_t fiShapeType
Bool_t IsFreeShape() const
virtual ~TGo4ShapedCond()
TGo4ShapedCond TGo4EllipseCond