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 | Static Public Member Functions | Private Attributes | List of all members
ROOT::Math::DistSamplerOptions Class Reference

DistSampler options class.

Definition at line 32 of file DistSamplerOptions.h.

Public Member Functions

 DistSamplerOptions (int dim=0)
 
 ~DistSamplerOptions ()
 
 DistSamplerOptions (const DistSamplerOptions &opt)
 
DistSamplerOptionsoperator= (const DistSamplerOptions &opt)
 assignment operators More...
 
int PrintLevel () const
 non-static methods for retrivieng options More...
 
IOptionsExtraOptions () const
 return extra options (NULL pointer if they are not present) More...
 
const std::string & Sampler () const
 type of minimizer More...
 
const std::string & Algorithm () const
 type of algorithm More...
 
void Print (std::ostream &os=std::cout) const
 print all the options More...
 
void SetPrintLevel (int level)
 non-static methods for setting options More...
 
void SetSampler (const char *type)
 set minimizer type 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...
 

Static Public Member Functions

static void SetDefaultSampler (const char *type)
 
static void SetDefaultAlgorithm1D (const char *algo)
 
static void SetDefaultAlgorithmND (const char *algo)
 
static void SetDefaultPrintLevel (int level)
 
static const std::string & DefaultSampler ()
 
static const std::string & DefaultAlgorithm1D ()
 
static const std::string & DefaultAlgorithmND ()
 
static int DefaultPrintLevel ()
 
static ROOT::Math::IOptionsDefault (const char *name)
 retrieve extra options - if not existing create a IOptions More...
 
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...
 

Private Attributes

int fLevel
 
std::string fSamplerType
 
std::string fAlgoType
 
ROOT::Math::IOptionsfExtraOptions
 

#include <Math/DistSamplerOptions.h>

Constructor & Destructor Documentation

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

Definition at line 62 of file DistSamplerOptions.cxx.

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

Definition at line 104 of file DistSamplerOptions.cxx.

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

Definition at line 86 of file DistSamplerOptions.cxx.

Member Function Documentation

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

type of algorithm

Definition at line 88 of file DistSamplerOptions.h.

Referenced by TUnuranSampler::Init(), and ROOT::Math::DistSampler::Init().

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

retrieve extra options - if not existing create a IOptions

Definition at line 126 of file DistSamplerOptions.cxx.

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

Definition at line 48 of file DistSamplerOptions.cxx.

Referenced by DistSamplerOptions(), TUnuranSampler::Init(), and PrintDefault().

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

Definition at line 49 of file DistSamplerOptions.cxx.

Referenced by DistSamplerOptions(), TUnuranSampler::Init(), and PrintDefault().

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

Definition at line 50 of file DistSamplerOptions.cxx.

Referenced by ClassImp(), TUnuranSampler::Init(), and PrintDefault().

const std::string & ROOT::Math::DistSamplerOptions::DefaultSampler ( )
static
IOptions* ROOT::Math::DistSamplerOptions::ExtraOptions ( ) const
inline

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

Definition at line 82 of file DistSamplerOptions.h.

Referenced by TFoamSampler::Init(), and Print().

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

Definition at line 131 of file DistSamplerOptions.cxx.

Referenced by DistSamplerOptions(), TFoamSampler::Init(), and PrintDefault().

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

assignment operators

Definition at line 91 of file DistSamplerOptions.cxx.

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

print all the options

Definition at line 114 of file DistSamplerOptions.cxx.

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 136 of file DistSamplerOptions.cxx.

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

non-static methods for retrivieng options

set print level

Definition at line 79 of file DistSamplerOptions.h.

Referenced by TFoamSampler::Init(), and TUnuranSampler::Init().

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

type of minimizer

Definition at line 85 of file DistSamplerOptions.h.

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

set minimizer algorithm

Definition at line 102 of file DistSamplerOptions.h.

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

Definition at line 35 of file DistSamplerOptions.cxx.

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

Definition at line 39 of file DistSamplerOptions.cxx.

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

Definition at line 43 of file DistSamplerOptions.cxx.

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

Definition at line 31 of file DistSamplerOptions.cxx.

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.

Referenced by TFoamSampler::Init().

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

non-static methods for setting options

set print level

Definition at line 96 of file DistSamplerOptions.h.

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

set minimizer type

Definition at line 99 of file DistSamplerOptions.h.

Member Data Documentation

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

Definition at line 112 of file DistSamplerOptions.h.

Referenced by Algorithm(), DistSamplerOptions(), operator=(), Print(), and SetAlgorithm().

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

Definition at line 110 of file DistSamplerOptions.h.

Referenced by operator=(), Print(), PrintLevel(), and SetPrintLevel().

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

Definition at line 111 of file DistSamplerOptions.h.

Referenced by DistSamplerOptions(), operator=(), Print(), Sampler(), and SetSampler().

Collaboration diagram for ROOT::Math::DistSamplerOptions:
[legend]

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