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;
DistSampler options class.
DistSamplerOptions & operator=(const DistSamplerOptions &opt)
assignment operators
static void SetDefaultSampler(const char *type)
void SetExtraOptions(const IOptions &opt)
set extra options (in this case pointer is cloned)
static int DefaultPrintLevel()
static void SetDefaultPrintLevel(int level)
static void PrintDefault(const char *name, std::ostream &os=std::cout)
print all the default options for the name given
ROOT::Math::IOptions * fExtraOptions
static const std::string & DefaultSampler()
static void SetDefaultAlgorithmND(const char *algo)
DistSamplerOptions(int dim=0)
IOptions * ExtraOptions() const
return extra options (NULL pointer if they are not present)
static const std::string & DefaultAlgorithmND()
static const std::string & DefaultAlgorithm1D()
static void SetDefaultAlgorithm1D(const char *algo)
static ROOT::Math::IOptions & Default(const char *name)
retrieve extra options - if not existing create a IOptions
static ROOT::Math::IOptions * FindDefault(const char *name)
void Print(std::ostream &os=std::cout) const
print all the options
static IOptions & Default(const char *algoname)
static IOptions * FindDefault(const char *algoname)
Generic interface for defining configuration options of a numerical algorithm.
virtual void Print(std::ostream &=std::cout) const
print options
virtual IOptions * Clone() const =0
Namespace for new Math classes and functions.
static std::string gDefaultAlgorithm1D
static std::string gDefaultAlgorithmND
static std::string gDefaultSampler
static int gDefaultPrintLevel
Namespace for new ROOT classes and functions.