Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/RooEllipse.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*****************************************************************************
0002  * Project: RooFit                                                           *
0003  * Package: RooFitCore                                                       *
0004  *    File: $Id: RooEllipse.h,v 1.8 2007/05/11 09:11:30 verkerke Exp $
0005  * Authors:                                                                  *
0006  *   WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu       *
0007  *   DK, David Kirkby,    UC Irvine,         dkirkby@uci.edu                 *
0008  *                                                                           *
0009  * Copyright (c) 2000-2005, Regents of the University of California          *
0010  *                          and Stanford University. All rights reserved.    *
0011  *                                                                           *
0012  * Redistribution and use in source and binary forms,                        *
0013  * with or without modification, are permitted according to the terms        *
0014  * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
0015  *****************************************************************************/
0016 #ifndef ROO_ELLIPSE
0017 #define ROO_ELLIPSE
0018 
0019 #include "TGraph.h"
0020 #include "RooPlotable.h"
0021 
0022 class RooEllipse : public TGraph, public RooPlotable {
0023 public:
0024   RooEllipse() = default;
0025   RooEllipse(const char *name, double x1, double x2, double s1, double s2, double rho= 0, Int_t points= 100);
0026 
0027 
0028   void printName(std::ostream& os) const override ;
0029   void printTitle(std::ostream& os) const override ;
0030   void printClassName(std::ostream& os) const override ;
0031   void printMultiline(std::ostream& os, Int_t contents, bool verbose=false, TString indent="") const override;
0032 
0033   /// Printing interface
0034   inline void Print(Option_t *options= nullptr) const override {
0035     printStream(defaultPrintStream(),defaultPrintContents(options),defaultPrintStyle(options));
0036   }
0037 
0038   // These methods return zero to indicate that they do not support
0039   // this interface. See RooPlot::updateFitRangeNorm() for details.
0040   inline double getFitRangeNEvt() const override { return 0; }
0041   inline double getFitRangeNEvt(double, double) const override { return 0; }
0042   inline double getFitRangeBinW() const override { return 0; }
0043 
0044   ClassDefOverride(RooEllipse,1) // 2-dimensional contour
0045 };
0046 
0047 #endif