ROOT logo
ROOT » ROOFIT » ROOFITCORE » RooNumIntConfig

class RooNumIntConfig: public TObject, public RooPrintable



RooNumIntConfig holds the configuration parameters of the various numeric integrators used by RooRealIntegral. RooRealIntegral and RooAbsPdf use this class in the (normalization) integral configuration interface

Function Members (Methods)

public:
RooNumIntConfig()
RooNumIntConfig(const RooNumIntConfig& other)
virtual~RooNumIntConfig()
voidTObject::AbstractMethod(const char* method) const
Bool_taddConfigSection(const RooAbsIntegrator* proto, const RooArgSet& defaultConfig)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
static voidcleanup()
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
static RooNumIntConfig&defaultConfig()
virtual Int_tRooPrintable::defaultPrintContents(Option_t* opt) const
static ostream&RooPrintable::defaultPrintStream(ostream* os = 0)
virtual RooPrintable::StyleOptiondefaultPrintStyle(Option_t* opt) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
Double_tepsAbs() const
Double_tepsRel() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
const RooArgSet&getConfigSection(const char* name) const
RooArgSet&getConfigSection(const char* name)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
RooCategory&method1D()
const RooCategory&method1D() const
RooCategory&method1DOpen()
const RooCategory&method1DOpen() const
RooCategory&method2D()
const RooCategory&method2D() const
RooCategory&method2DOpen()
const RooCategory&method2DOpen() const
RooCategory&methodND()
const RooCategory&methodND() const
RooCategory&methodNDOpen()
const RooCategory&methodNDOpen() const
static voidRooPrintable::nameFieldLength(Int_t newLen)
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
RooNumIntConfig&operator=(const RooNumIntConfig& other)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* options = 0) const
virtual voidRooPrintable::printAddress(ostream& os) const
virtual voidRooPrintable::printArgs(ostream& os) const
virtual voidRooPrintable::printClassName(ostream& os) const
Bool_tprintEvalCounter() const
virtual voidRooPrintable::printExtras(ostream& os) const
virtual voidprintMultiline(ostream& os, Int_t content, Bool_t verbose, TString indent = "") const
virtual voidRooPrintable::printName(ostream& os) const
virtual voidRooPrintable::printStream(ostream& os, Int_t contents, RooPrintable::StyleOption style, TString indent = "") const
virtual voidRooPrintable::printTitle(ostream& os) const
virtual voidRooPrintable::printTree(ostream& os, TString indent = "") const
virtual voidRooPrintable::printValue(ostream& os) const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidsetEpsAbs(Double_t newEpsAbs)
voidsetEpsRel(Double_t newEpsRel)
static voidTObject::SetObjectStat(Bool_t stat)
voidsetPrintEvalCounter(Bool_t newVal)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

protected:
RooLinkedList_configSetsList of configuration sets for individual integration methods
static RooNumIntConfig*_default
Double_t_epsAbsAbsolute precision
Double_t_epsRelRelative precision
RooCategory_method1DSelects integration method for 1D integrals
RooCategory_method1DOpenSelects integration method for open ended 1D integrals
RooCategory_method2DSelects integration method for 2D integrals
RooCategory_method2DOpenSelects integration method for open ended 2D integrals
RooCategory_methodNDSelects integration method for ND integrals
RooCategory_methodNDOpenSelects integration method for open ended ND integrals
static Int_tRooPrintable::_nameLength
Bool_t_printEvalCounterFlag to control printing of function evaluation counter

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void cleanup()
 Function called by atexit() handler installed by RooSentinel to
 cleanup global objects at end of job
RooNumIntConfig& defaultConfig()
 Return reference to instance of default numeric integrator configuration object
RooNumIntConfig()
 Constructor
~RooNumIntConfig()
 Destructor
RooNumIntConfig(const RooNumIntConfig& other)
 Copy constructor
RooNumIntConfig& operator=(const RooNumIntConfig& other)
 Assignment operator from other RooNumIntConfig
Bool_t addConfigSection(const RooAbsIntegrator* proto, const RooArgSet& defaultConfig)
 Add a configuration section for a particular integrator. Integrator name and capabilities are
 automatically determined from instance passed as 'proto'. The defaultConfig object is associated
 as the default configuration for the integrator.
RooArgSet& getConfigSection(const char* name)
 Return section with configuration parameters for integrator with given (class) name
const RooArgSet& getConfigSection(const char* name)
 Retrieve configuration information specific to integrator with given name
void setEpsAbs(Double_t newEpsAbs)
 Set absolute convergence criteria (convergence if abs(Err)<newEpsAbs)
RooPrintable::StyleOption defaultPrintStyle(Option_t* opt) const
void setEpsRel(Double_t newEpsRel)
 Set relative convergence criteria (convergence if abs(Err)/abs(Int)<newEpsRel)
void printMultiline(ostream& os, Int_t content, Bool_t verbose, TString indent = "") const
 Detailed printing interface
RooCategory& method1D()
 Return selected integration techniques for 1,2,N dimensional integrals
{ return _method1D ; }
RooCategory& method2D()
{ return _method2D ; }
RooCategory& methodND()
{ return _methodND ; }
const RooCategory& method1D()
{ return _method1D ; }
const RooCategory& method2D()
{ return _method2D ; }
const RooCategory& methodND()
{ return _methodND ; }
RooCategory& method1DOpen()
 Return selected integration techniques for 1,2,N dimensional open-ended integrals
{ return _method1DOpen ; }
RooCategory& method2DOpen()
{ return _method2DOpen ; }
RooCategory& methodNDOpen()
{ return _methodNDOpen ; }
const RooCategory& method1DOpen()
{ return _method1DOpen ; }
const RooCategory& method2DOpen()
{ return _method2DOpen ; }
const RooCategory& methodNDOpen()
{ return _methodNDOpen ; }
Double_t epsAbs() const
 Set/get absolute and relative precision convergence criteria
{ return _epsAbs ; }
Double_t epsRel() const
{ return _epsRel ; }
Bool_t printEvalCounter() const
 Set/get switch that activates printing of number of required
 function evaluations for each numeric integration
{ return _printEvalCounter ; }
void setPrintEvalCounter(Bool_t newVal)
{ _printEvalCounter = newVal ; }
void Print(Option_t* options = 0) const