Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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)
 
IOptionsExtraOptions () const
 return extra options (NULL pointer if they are not present)
 
DistSamplerOptionsoperator= (const DistSamplerOptions &opt)
 assignment operators
 
void Print (std::ostream &os=std::cout) const
 print all the options
 
int PrintLevel () const
 non-static methods for retrieving options
 
const std::string & Sampler () const
 type of minimizer
 
template<class T >
void SetAlgoOption (const char *name, T value)
 set a specific algorithm option
 
void SetAlgorithm (const char *type)
 set minimizer algorithm
 
void SetExtraOptions (const IOptions &opt)
 set extra options (in this case pointer is cloned)
 
void SetPrintLevel (int level)
 non-static methods for setting options
 
void SetSampler (const char *type)
 set minimizer type
 

Static Public Member Functions

static ROOT::Math::IOptionsDefault (const char *name)
 retrieve extra options - if not existing create a IOptions
 
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
 
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)
 
ROOT::Math::IOptionsfExtraOptions
 extra options
 
int fLevel
 debug print level
 
std::string fSamplerType
 DistSampler type (Unuran, Foam, etc...)xs.
 

#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
inline

type of algorithm (method)

Definition at line 87 of file DistSamplerOptions.h.

◆ CreateExtraOptions()

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

Definition at line 114 of file DistSamplerOptions.cxx.

◆ Default()

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

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 ( )
static

Definition at line 48 of file DistSamplerOptions.cxx.

◆ DefaultAlgorithmND()

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

Definition at line 49 of file DistSamplerOptions.cxx.

◆ DefaultPrintLevel()

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

Definition at line 50 of file DistSamplerOptions.cxx.

◆ DefaultSampler()

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

Definition at line 52 of file DistSamplerOptions.cxx.

◆ ExtraOptions()

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

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)
static

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 
)
static

print all the default options for the name given

Definition at line 141 of file DistSamplerOptions.cxx.

◆ PrintLevel()

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

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
inline

type of minimizer

Definition at line 84 of file DistSamplerOptions.h.

◆ SetAlgoOption()

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

set a specific algorithm option

Definition at line 108 of file DistSamplerOptions.h.

◆ SetAlgorithm()

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

set minimizer algorithm

Definition at line 101 of file DistSamplerOptions.h.

◆ SetDefaultAlgorithm1D()

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

Definition at line 35 of file DistSamplerOptions.cxx.

◆ SetDefaultAlgorithmND()

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

Definition at line 39 of file DistSamplerOptions.cxx.

◆ SetDefaultPrintLevel()

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

Definition at line 43 of file DistSamplerOptions.cxx.

◆ SetDefaultSampler()

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

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)
inline

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)
inline

set minimizer type

Definition at line 98 of file DistSamplerOptions.h.

Member Data Documentation

◆ fAlgoType

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

DistSampler algorithmic specification (for Unuran only)

Definition at line 121 of file DistSamplerOptions.h.

◆ fExtraOptions

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

extra options

Definition at line 123 of file DistSamplerOptions.h.

◆ fLevel

int ROOT::Math::DistSamplerOptions::fLevel
private

debug print level

Definition at line 119 of file DistSamplerOptions.h.

◆ fSamplerType

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

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: