rarMinuit.hh

Go to the documentation of this file.
00001 /*****************************************************************************
00002 * Project: BaBar detector at the SLAC PEP-II B-factory
00003 * Package: RooRarFit
00004  *    File: $Id: rarMinuit.rdl,v 1.8 2011/08/26 17:54:17 fwilson Exp $
00005  * Author:                                                                   *
00006  *   WTF, Bill Ford, U. of Colorado, wtford@pizero.colorado.edu              *
00007  *                                                                           *
00008  * Copyright (C) 2005-2012, U. of Colorado
00009  *****************************************************************************/
00010 
00011 // -- CLASS DESCRIPTION [PDF] --
00012 // This class derived from RooMinuit overloads the contour() method to
00013 // produce a RooPlot.
00014 
00015 #ifndef RAR_MINUIT
00016 #define RAR_MINUIT
00017 
00018 #include "TObject.h"
00019 class TGraph;
00020 class TH2F ;  // Needed because missing from RooMinuit.rdl
00021 #include "RooFitCore/RooMinuit.hh"
00022 
00023 class RooAbsReal ;
00024 class RooRealVar ;
00025 class RooPlot ;
00026 
00027 class rarMinuit : public RooMinuit {
00028 public:
00029 
00030   rarMinuit(RooAbsReal& function) ;
00031   RooPlot* contour(RooRealVar& var1, RooRealVar& var2,
00032                      Double_t n1=1, Double_t n2=2, Double_t n3=0,
00033                      Double_t n4=0, Double_t n5=0, Double_t n6=0);
00034   void fixGraph(TGraph *graph, Int_t lineStyle=1);
00035   
00036 protected:
00037 
00038 private:
00039 
00040   RooArgList* _floatParamList ;
00041   RooAbsReal* _func ;
00042 
00043 protected:
00044 
00045   ClassDef(rarMinuit,0)   // RooMinuit derivative with contour RooPlot
00046 } ;
00047 
00048 #endif
00049 

Generated on 30 Oct 2013 for RooRarFit by  doxygen 1.4.7