ROOT logo
/*****************************************************************************
 * Project: RooFit                                                           *
 * Package: RooFitCore                                                       *
 * @(#)root/roofitcore:$Id$
 * 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)             *
 *****************************************************************************/

//////////////////////////////////////////////////////////////////////////////
// 
// BEGIN_HTML
// RooAbsRootFinder is the abstract interface for finding roots of real-valued
// 1-dimensional function that implements the RooAbsFunc interface.
// END_HTML
//
//

#include "RooFit.h"

#include "RooAbsRootFinder.h"
#include "RooAbsRootFinder.h"
#include "RooAbsFunc.h"
#include "RooMsgService.h"
#include "Riostream.h"

using namespace std;

ClassImp(RooAbsRootFinder)
;


//_____________________________________________________________________________
RooAbsRootFinder::RooAbsRootFinder(const RooAbsFunc& function) :
  _function(&function), _valid(function.isValid())
{
  // Constructor take function binding as argument
  if(_function->getDimension() != 1) {
    oocoutE((TObject*)0,Eval) << "RooAbsRootFinder:: cannot find roots for function of dimension "
			      << _function->getDimension() << endl;
    _valid= kFALSE;
  }
}
 RooAbsRootFinder.cxx:1
 RooAbsRootFinder.cxx:2
 RooAbsRootFinder.cxx:3
 RooAbsRootFinder.cxx:4
 RooAbsRootFinder.cxx:5
 RooAbsRootFinder.cxx:6
 RooAbsRootFinder.cxx:7
 RooAbsRootFinder.cxx:8
 RooAbsRootFinder.cxx:9
 RooAbsRootFinder.cxx:10
 RooAbsRootFinder.cxx:11
 RooAbsRootFinder.cxx:12
 RooAbsRootFinder.cxx:13
 RooAbsRootFinder.cxx:14
 RooAbsRootFinder.cxx:15
 RooAbsRootFinder.cxx:16
 RooAbsRootFinder.cxx:17
 RooAbsRootFinder.cxx:18
 RooAbsRootFinder.cxx:19
 RooAbsRootFinder.cxx:20
 RooAbsRootFinder.cxx:21
 RooAbsRootFinder.cxx:22
 RooAbsRootFinder.cxx:23
 RooAbsRootFinder.cxx:24
 RooAbsRootFinder.cxx:25
 RooAbsRootFinder.cxx:26
 RooAbsRootFinder.cxx:27
 RooAbsRootFinder.cxx:28
 RooAbsRootFinder.cxx:29
 RooAbsRootFinder.cxx:30
 RooAbsRootFinder.cxx:31
 RooAbsRootFinder.cxx:32
 RooAbsRootFinder.cxx:33
 RooAbsRootFinder.cxx:34
 RooAbsRootFinder.cxx:35
 RooAbsRootFinder.cxx:36
 RooAbsRootFinder.cxx:37
 RooAbsRootFinder.cxx:38
 RooAbsRootFinder.cxx:39
 RooAbsRootFinder.cxx:40
 RooAbsRootFinder.cxx:41
 RooAbsRootFinder.cxx:42
 RooAbsRootFinder.cxx:43
 RooAbsRootFinder.cxx:44
 RooAbsRootFinder.cxx:45
 RooAbsRootFinder.cxx:46
 RooAbsRootFinder.cxx:47
 RooAbsRootFinder.cxx:48
 RooAbsRootFinder.cxx:49
 RooAbsRootFinder.cxx:50