/***************************************************************************** * Project: RooFit * * Package: RooFitCore * * File: $Id: RooEllipse.rdl,v 1.7 2005/06/20 15:44:51 wverkerke 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 printToStream(ostream& os, PrintOption opt= Standard, TString indent= "") const; inline virtual void Print(Option_t *options= 0) const { printToStream(defaultStream(),parseOptions(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