library: libRooFit #include "RooEllipse.h"

# RooEllipse

class description - source file - inheritance tree (.pdf)

## class RooEllipse : public TGraph, public RooPlotable

| Inheritance Chart:
`TObject`
| <- | `TNamed`
`TAttLine`
`TAttFill`
`TAttMarker`
| <- | `TGraph`
`RooPrintable`
| <- | `RooPlotable`
| <- | `RooEllipse` |

        public:

                           RooEllipse()
                           RooEllipse(const char* name, Double_t x1, Double_t x2, Double_t s1, Double_t s2, Double_t rho = 0, Int_t points = 100)
                           RooEllipse(const RooEllipse&)
                   virtual ~RooEllipse()
            static TClass* Class()
          virtual Double_t getFitRangeBinW() const
          virtual Double_t getFitRangeNEvt() const
          virtual Double_t getFitRangeNEvt(Double_t, Double_t) const
           virtual TClass* IsA() const
               RooEllipse& operator=(const RooEllipse&)
              virtual void Print(Option_t* options = "0") const
              virtual void printToStream(ostream& os, RooPrintable::PrintOption opt = Standard, TString indent = ) const
              virtual void ShowMembers(TMemberInspector& insp, char* parent)
              virtual void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)

### Data Members

## Class Description

RooEllipse()

~RooEllipse()

RooEllipse(const char *name, Double_t x1, Double_t x2, Double_t s1, Double_t s2, Double_t rho, Int_t points)

     Create a 2-dimensional ellipse centered at (x1,x2) that represents the confidence
     level contour for a measurement with errors (s1,s2) and correlation coefficient rho.
     The resulting curve is defined as the unique ellipse that passes through these points:

       (x1+rho*s1,x2+s2) , (x1-rho*s1,x2-s2) , (x1+s1,x2+rho*s2) , (x1-s1,x2-rho*s2)

     and is described by the implicit equation:

       x*x      2*rho*x*y      y*y
      -----  -  ---------  +  -----  =  1 - rho*rho
      s1*s1       s1*s2       s2*s2

     The input parameters s1,s2 must be > 0 and also |rho| <= 1.
     The degenerate case |rho|=1 corresponds to a straight line and
     is handled as a special case.

void printToStream(ostream& os, PrintOption opt, TString indent) const

     Print info about this histogram to the specified output stream.

       Standard: number of entries
        Verbose: print points on curve

### Inline Functions

                   void Print(Option_t* options = "0") const
               Double_t getFitRangeNEvt() const
               Double_t getFitRangeNEvt(Double_t, Double_t) const
               Double_t getFitRangeBinW() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
             RooEllipse RooEllipse(const RooEllipse&)
            RooEllipse& operator=(const RooEllipse&)

Last update: Tue Jun 28 18:12:06 2005
Copyright (c) 2000-2005, Regents of the University of California *