83 if(s1 <= 0 || s2 <= 0) {
95 SetPoint(0,x1-s1,x2-s2);
96 SetPoint(1,x1+s1,x2+s2);
97 setYAxisLimits(x2-s2,x2+s2);
107 r=
sqrt(tmp/(u1*u1 - 2*rho*u1*u2 + u2*u2));
110 SetPoint(index, xx1, xx2);
112 setYAxisLimits(xx2,xx2);
114 SetPoint(points, xx1, xx2);
117 updateYAxisLimits(xx2);
158 for(
Int_t index=0; index < fNpoints; index++) {
159 os << indent <<
"Point [" << index <<
"] is at (" << fX[index] <<
"," << fY[index] <<
")" << endl;
virtual void printName(std::ostream &os) const
Print name of ellipse on ostream.
ClassImp(RooEllipse) RooEllipse
Default constructor.
virtual void printMultiline(std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
Print detailed multi line information on ellipse on ostreamx.
A RooEllipse is a two-dimensional ellipse that can be used to represent an error contour.
virtual ~RooEllipse()
Destructor.
static const double x2[5]
virtual void printMultiline(std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
Print detailed information.
virtual const char * GetName() const
Returns name of object.
static void indent(ostringstream &buf, int indent_level)
static const double x1[5]
double atan2(double, double)
virtual void printClassName(std::ostream &os) const
Print class name of ellipse on ostream.
virtual void printTitle(std::ostream &os) const
Print title of ellipse on ostream.