/*****************************************************************************
 * Project: RooFit                                                           *
 * Package: RooFitCore                                                       *
 *    File: $Id: RooEllipse.h,v 1.8 2007/05/11 09:11:30 verkerke Exp $
 * Authors:                                                                  *
 *   WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu       *
 *   DK, David Kirkby,    UC Irvine,         dkirkby@uci.edu                 *
 *                                                                           *
 * Copyright (c) 2000-2005, Regents of the University of California          *
 *                          and Stanford University. All rights reserved.    *
 *                                                                           *
 * Redistribution and use in source and binary forms,                        *
 * with or without modification, are permitted according to the terms        *
 * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
 *****************************************************************************/
#ifndef ROO_ELLIPSE
#define ROO_ELLIPSE

#include "TGraph.h"
#include "RooPlotable.h"

class RooEllipse : public TGraph, public RooPlotable {
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);
  virtual ~RooEllipse();


  virtual void printName(std::ostream& os) const ;
  virtual void printTitle(std::ostream& os) const ;
  virtual void printClassName(std::ostream& os) const ;
  virtual void printMultiline(std::ostream& os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const;

  inline virtual void Print(Option_t *options= 0) const {
    // Printing interface
    printStream(defaultPrintStream(),defaultPrintContents(options),defaultPrintStyle(options));
  }

  // These methods return zero to indicate that they do not support
  // this interface. See RooPlot::updateFitRangeNorm() for details.
  inline virtual Double_t getFitRangeNEvt() const { return 0; }
  inline virtual Double_t getFitRangeNEvt(Double_t, Double_t) const { return 0; }
  inline virtual Double_t getFitRangeBinW() const { return 0; }

  ClassDef(RooEllipse,1) // 2-dimensional contour
};

#endif
 RooEllipse.h:1
 RooEllipse.h:2
 RooEllipse.h:3
 RooEllipse.h:4
 RooEllipse.h:5
 RooEllipse.h:6
 RooEllipse.h:7
 RooEllipse.h:8
 RooEllipse.h:9
 RooEllipse.h:10
 RooEllipse.h:11
 RooEllipse.h:12
 RooEllipse.h:13
 RooEllipse.h:14
 RooEllipse.h:15
 RooEllipse.h:16
 RooEllipse.h:17
 RooEllipse.h:18
 RooEllipse.h:19
 RooEllipse.h:20
 RooEllipse.h:21
 RooEllipse.h:22
 RooEllipse.h:23
 RooEllipse.h:24
 RooEllipse.h:25
 RooEllipse.h:26
 RooEllipse.h:27
 RooEllipse.h:28
 RooEllipse.h:29
 RooEllipse.h:30
 RooEllipse.h:31
 RooEllipse.h:32
 RooEllipse.h:33
 RooEllipse.h:34
 RooEllipse.h:35
 RooEllipse.h:36
 RooEllipse.h:37
 RooEllipse.h:38
 RooEllipse.h:39
 RooEllipse.h:40
 RooEllipse.h:41
 RooEllipse.h:42
 RooEllipse.h:43
 RooEllipse.h:44
 RooEllipse.h:45
 RooEllipse.h:46
 RooEllipse.h:47
 RooEllipse.h:48