93 if (
this == &opt)
return *
this;
116 os << std::setw(25) <<
"DistSampler Type" <<
" : " << std::setw(15) <<
fSamplerType << std::endl;
117 os << std::setw(25) <<
"DistSampler Algorithm" <<
" : " << std::setw(15) <<
fAlgoType << std::endl;
118 os << std::setw(25) <<
"Print Level" <<
" : " << std::setw(15) <<
fLevel << std::endl;
121 os <<
fSamplerType <<
" specific options :" << std::endl;
138 os <<
"Default DistSampler options " << std::endl;
145 os <<
"Specific default options for " << name << std::endl;
static ROOT::Math::IOptions * FindDefault(const char *name)
Namespace for new ROOT classes and functions.
static int gDefaultPrintLevel
static void SetDefaultAlgorithmND(const char *algo)
static void SetDefaultSampler(const char *type)
static void SetDefaultPrintLevel(int level)
static std::string gDefaultAlgorithm1D
void SetExtraOptions(const IOptions &opt)
set extra options (in this case pointer is cloned)
void Print(std::ostream &os=std::cout) const
print all the options
DistSamplerOptions(int dim=0)
static const std::string & DefaultAlgorithmND()
static void PrintDefault(const char *name, std::ostream &os=std::cout)
print all the default options for the name given
DistSampler options class.
static std::string gDefaultSampler
virtual IOptions * Clone() const =0
static ROOT::Math::IOptions & Default(const char *name)
retrieve extra options - if not existing create a IOptions
static int DefaultPrintLevel()
IOptions * ExtraOptions() const
return extra options (NULL pointer if they are not present)
virtual void Print(std::ostream &=std::cout) const
print options
DistSamplerOptions & operator=(const DistSamplerOptions &opt)
assignment operators
static const std::string & DefaultSampler()
static void SetDefaultAlgorithm1D(const char *algo)
static std::string gDefaultAlgorithmND
Namespace for new Math classes and functions.
static IOptions & Default(const char *algoname)
Generic interface for defining configuration options of a numerical algorithm.
ROOT::Math::IOptions * fExtraOptions
static IOptions * FindDefault(const char *algoname)
static const std::string & DefaultAlgorithm1D()