Logo ROOT  
Reference Guide
ROOT::Math::DistSamplerOptions Class Reference

DistSampler options class.

Definition at line 31 of file DistSamplerOptions.h.

Public Member Functions

 DistSamplerOptions (const DistSamplerOptions &opt)
 DistSamplerOptions (int dim=0)
 ~DistSamplerOptions ()
const std::string & Algorithm () const
 type of algorithm (method) More...
IOptionsExtraOptions () const
 return extra options (NULL pointer if they are not present) More...
DistSamplerOptionsoperator= (const DistSamplerOptions &opt)
 assignment operators More...
void Print (std::ostream &os=std::cout) const
 print all the options More...
int PrintLevel () const
 non-static methods for retrieving options More...
const std::string & Sampler () const
 type of minimizer More...
template<class T >
void SetAlgoOption (const char *name, T value)
 set a specific algorithm option More...
void SetAlgorithm (const char *type)
 set minimizer algorithm More...
void SetExtraOptions (const IOptions &opt)
 set extra options (in this case pointer is cloned) More...
void SetPrintLevel (int level)
 non-static methods for setting options More...
void SetSampler (const char *type)
 set minimizer type More...

Static Public Member Functions

static ROOT::Math::IOptionsDefault (const char *name)
 retrieve extra options - if not existing create a IOptions More...
static const std::string & DefaultAlgorithm1D ()
static const std::string & DefaultAlgorithmND ()
static int DefaultPrintLevel ()
static const std::string & DefaultSampler ()
static ROOT::Math::IOptionsFindDefault (const char *name)
static void PrintDefault (const char *name, std::ostream &os=std::cout)
 print all the default options for the name given More...
static void SetDefaultAlgorithm1D (const char *algo)
static void SetDefaultAlgorithmND (const char *algo)
static void SetDefaultPrintLevel (int level)
static void SetDefaultSampler (const char *type)

Protected Member Functions

void CreateExtraOptions ()

Private Attributes

std::string fAlgoType
 DistSampler algorithmic specification (for Unuran only) More...
 extra options More...
int fLevel
 debug print level More...
std::string fSamplerType
 DistSampler type (Unuran, Foam, etc...)xs. More...

#include <Math/DistSamplerOptions.h>

Constructor & Destructor Documentation

◆ DistSamplerOptions() [1/2]

ROOT::Math::DistSamplerOptions::DistSamplerOptions ( int  dim = 0)

Definition at line 62 of file DistSamplerOptions.cxx.

◆ ~DistSamplerOptions()

ROOT::Math::DistSamplerOptions::~DistSamplerOptions ( )

Definition at line 104 of file DistSamplerOptions.cxx.

◆ DistSamplerOptions() [2/2]

ROOT::Math::DistSamplerOptions::DistSamplerOptions ( const DistSamplerOptions opt)

Definition at line 86 of file DistSamplerOptions.cxx.

Member Function Documentation

◆ Algorithm()

const std::string & ROOT::Math::DistSamplerOptions::Algorithm ( ) const

type of algorithm (method)

Definition at line 87 of file DistSamplerOptions.h.

◆ CreateExtraOptions()

void ROOT::Math::DistSamplerOptions::CreateExtraOptions ( )

Definition at line 114 of file DistSamplerOptions.cxx.

◆ Default()

IOptions & ROOT::Math::DistSamplerOptions::Default ( const char *  name)

retrieve extra options - if not existing create a IOptions

Definition at line 131 of file DistSamplerOptions.cxx.

◆ DefaultAlgorithm1D()

const std::string & ROOT::Math::DistSamplerOptions::DefaultAlgorithm1D ( )

Definition at line 48 of file DistSamplerOptions.cxx.

◆ DefaultAlgorithmND()

const std::string & ROOT::Math::DistSamplerOptions::DefaultAlgorithmND ( )

Definition at line 49 of file DistSamplerOptions.cxx.

◆ DefaultPrintLevel()

int ROOT::Math::DistSamplerOptions::DefaultPrintLevel ( )

Definition at line 50 of file DistSamplerOptions.cxx.

◆ DefaultSampler()

const std::string & ROOT::Math::DistSamplerOptions::DefaultSampler ( )

Definition at line 52 of file DistSamplerOptions.cxx.

◆ ExtraOptions()

IOptions * ROOT::Math::DistSamplerOptions::ExtraOptions ( ) const

return extra options (NULL pointer if they are not present)

Definition at line 81 of file DistSamplerOptions.h.

◆ FindDefault()

IOptions * ROOT::Math::DistSamplerOptions::FindDefault ( const char *  name)

Definition at line 136 of file DistSamplerOptions.cxx.

◆ operator=()

DistSamplerOptions & ROOT::Math::DistSamplerOptions::operator= ( const DistSamplerOptions opt)

assignment operators

Definition at line 91 of file DistSamplerOptions.cxx.

◆ Print()

void ROOT::Math::DistSamplerOptions::Print ( std::ostream &  os = std::cout) const

print all the options

Definition at line 119 of file DistSamplerOptions.cxx.

◆ PrintDefault()

void ROOT::Math::DistSamplerOptions::PrintDefault ( const char *  name,
std::ostream &  os = std::cout 

print all the default options for the name given

Definition at line 141 of file DistSamplerOptions.cxx.

◆ PrintLevel()

int ROOT::Math::DistSamplerOptions::PrintLevel ( ) const

non-static methods for retrieving options

set print level

Definition at line 78 of file DistSamplerOptions.h.

◆ Sampler()

const std::string & ROOT::Math::DistSamplerOptions::Sampler ( ) const

type of minimizer

Definition at line 84 of file DistSamplerOptions.h.

◆ SetAlgoOption()

template<class T >
void ROOT::Math::DistSamplerOptions::SetAlgoOption ( const char *  name,

set a specific algorithm option

Definition at line 108 of file DistSamplerOptions.h.

◆ SetAlgorithm()

void ROOT::Math::DistSamplerOptions::SetAlgorithm ( const char *  type)

set minimizer algorithm

Definition at line 101 of file DistSamplerOptions.h.

◆ SetDefaultAlgorithm1D()

void ROOT::Math::DistSamplerOptions::SetDefaultAlgorithm1D ( const char *  algo)

Definition at line 35 of file DistSamplerOptions.cxx.

◆ SetDefaultAlgorithmND()

void ROOT::Math::DistSamplerOptions::SetDefaultAlgorithmND ( const char *  algo)

Definition at line 39 of file DistSamplerOptions.cxx.

◆ SetDefaultPrintLevel()

void ROOT::Math::DistSamplerOptions::SetDefaultPrintLevel ( int  level)

Definition at line 43 of file DistSamplerOptions.cxx.

◆ SetDefaultSampler()

void ROOT::Math::DistSamplerOptions::SetDefaultSampler ( const char *  type)

Definition at line 31 of file DistSamplerOptions.cxx.

◆ SetExtraOptions()

void ROOT::Math::DistSamplerOptions::SetExtraOptions ( const IOptions opt)

set extra options (in this case pointer is cloned)

Definition at line 108 of file DistSamplerOptions.cxx.

◆ SetPrintLevel()

void ROOT::Math::DistSamplerOptions::SetPrintLevel ( int  level)

non-static methods for setting options

set print level

Definition at line 95 of file DistSamplerOptions.h.

◆ SetSampler()

void ROOT::Math::DistSamplerOptions::SetSampler ( const char *  type)

set minimizer type

Definition at line 98 of file DistSamplerOptions.h.

Member Data Documentation

◆ fAlgoType

std::string ROOT::Math::DistSamplerOptions::fAlgoType

DistSampler algorithmic specification (for Unuran only)

Definition at line 121 of file DistSamplerOptions.h.

◆ fExtraOptions

ROOT::Math::IOptions* ROOT::Math::DistSamplerOptions::fExtraOptions

extra options

Definition at line 123 of file DistSamplerOptions.h.

◆ fLevel

int ROOT::Math::DistSamplerOptions::fLevel

debug print level

Definition at line 119 of file DistSamplerOptions.h.

◆ fSamplerType

std::string ROOT::Math::DistSamplerOptions::fSamplerType

DistSampler type (Unuran, Foam, etc...)xs.

Definition at line 120 of file DistSamplerOptions.h.

Libraries for ROOT::Math::DistSamplerOptions:

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