ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | List of all members
RooRealAnalytic Class Reference

Lightweight RooAbsFunc interface adaptor that binds an analytic integral of a RooAbsReal object (specified by a code) to a set of dependent variables.

Definition at line 21 of file RooRealAnalytic.h.

Public Member Functions

 RooRealAnalytic (const RooAbsReal &func, const RooArgSet &vars, Int_t code, const RooArgSet *normSet=0, const TNamed *rangeName=0)
 
virtual ~RooRealAnalytic ()
 
virtual Double_t operator() (const Double_t xvector[]) const
 Evaluate our analytic integral at the specified values of the dependents. More...
 
- Public Member Functions inherited from RooRealBinding
 RooRealBinding (const RooAbsReal &func, const RooArgSet &vars, const RooArgSet *nset=0, Bool_t clipInvalid=kFALSE, const TNamed *rangeName=0)
 Construct a lightweight function binding of RooAbsReal func to variables 'vars'. More...
 
 RooRealBinding (const RooRealBinding &other, const RooArgSet *nset=0)
 Construct a lightweight function binding of RooAbsReal func to variables 'vars'. More...
 
virtual ~RooRealBinding ()
 Destructor. More...
 
virtual Double_t getMinLimit (UInt_t dimension) const
 Return lower limit on i-th variable. More...
 
virtual Double_t getMaxLimit (UInt_t dimension) const
 Return upper limit on i-th variable. More...
 
virtual void saveXVec () const
 Save value of all variables. More...
 
virtual void restoreXVec () const
 Restore value of all variables to previously saved values by saveXVec() More...
 
virtual const char * getName () const
 Return name of function. More...
 
virtual std::list< Double_t > * binBoundaries (Int_t) const
 
virtual std::list< Double_t > * plotSamplingHint (RooAbsRealLValue &, Double_t, Double_t) const
 
- Public Member Functions inherited from RooAbsFunc
 RooAbsFunc (UInt_t dimension)
 
 RooAbsFunc (const RooAbsFunc &other)
 
virtual ~RooAbsFunc ()
 
UInt_t getDimension () const
 
Bool_t isValid () const
 
Int_t numCall () const
 
void resetNumCall () const
 

Protected Attributes

Int_t _code
 
- Protected Attributes inherited from RooRealBinding
const RooAbsReal_func
 
RooAbsRealLValue ** _vars
 
const RooArgSet_nset
 
Bool_t _xvecValid
 
Bool_t _clipInvalid
 
Double_t_xsave
 
const TNamed_rangeName
 
std::list< RooAbsReal * > _compList
 
std::list< Double_t_compSave
 
Double_t _funcSave
 
- Protected Attributes inherited from RooAbsFunc
Int_t _ncall
 
UInt_t _dimension
 
Bool_t _valid
 

Additional Inherited Members

- Protected Member Functions inherited from RooRealBinding
void loadValues (const Double_t xvector[]) const
 Load the vector of variable values into the RooRealVars associated as variables with the bound RooAbsReal function. More...
 

#include <RooRealAnalytic.h>

Inheritance diagram for RooRealAnalytic:
[legend]

Constructor & Destructor Documentation

RooRealAnalytic::RooRealAnalytic ( const RooAbsReal func,
const RooArgSet vars,
Int_t  code,
const RooArgSet normSet = 0,
const TNamed rangeName = 0 
)
inline

Definition at line 23 of file RooRealAnalytic.h.

virtual RooRealAnalytic::~RooRealAnalytic ( )
inlinevirtual

Definition at line 25 of file RooRealAnalytic.h.

Member Function Documentation

Double_t RooRealAnalytic::operator() ( const Double_t  xvector[]) const
virtual

Evaluate our analytic integral at the specified values of the dependents.

Reimplemented from RooRealBinding.

Definition at line 44 of file RooRealAnalytic.cxx.

Member Data Documentation

Int_t RooRealAnalytic::_code
protected

Definition at line 30 of file RooRealAnalytic.h.

Collaboration diagram for RooRealAnalytic:
[legend]

The documentation for this class was generated from the following files: