Singleton class for global configuration settings used by TMVA.
Classes | |
class | IONames |
class | VariablePlotting |
Public Member Functions | |
void | DisableMT () |
Force disabling MT running and release the thread pool by using instead seriaql execution. | |
Bool_t | DrawProgressBar () const |
void | EnableMT (int numthreads=0) |
Enable MT in TMVA (by default is on when ROOT::EnableImplicitMT() is set. | |
IONames & | GetIONames () |
ROOT::TThreadExecutor & | GetMultiThreadExecutor () |
UInt_t | GetNCpu () |
UInt_t | GetNumWorkers () const |
Executor & | GetThreadExecutor () |
Get executor class for multi-thread usage In case when MT is not enabled will return a serial executor. | |
VariablePlotting & | GetVariablePlotting () |
virtual TClass * | IsA () const |
Bool_t | IsMTEnabled () const |
Check if IMT is enabled. | |
Bool_t | IsSilent () const |
void | SetDrawProgressBar (Bool_t d) |
void | SetNumWorkers (UInt_t n) |
void | SetSilent (Bool_t s) |
void | SetUseColor (Bool_t uc) |
void | SetWriteOptionsReference (Bool_t w) |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Bool_t | UseColor () const |
Bool_t | WriteOptionsReference () const |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static void | DestroyInstance () |
static function: destroy TMVA instance | |
static Config & | Instance () |
static function: returns TMVA instance | |
Public Attributes | |
class TMVA::Config::IONames | fIONames |
class TMVA::Config::VariablePlotting | fVariablePlotting |
Protected Attributes | |
Executor | fExecutor |
Private Member Functions | |
Config () | |
constructor - set defaults | |
Config (const Config &) | |
virtual | ~Config () |
destructor | |
MsgLogger & | Log () const |
Config & | operator= (const Config &) |
Private Attributes | |
std::atomic< Bool_t > | fDrawProgressBar |
draw progress bar to indicate training evolution | |
MsgLogger * | fLogger |
message logger | |
std::atomic< UInt_t > | fNWorkers |
Default number of workers for multi-process jobs. | |
std::atomic< Bool_t > | fSilent |
no output at all | |
std::atomic< Bool_t > | fUseColoredConsole |
coloured standard output | |
std::atomic< Bool_t > | fWriteOptionsReference |
if set true: Configurable objects write file with option reference | |
Static Private Attributes | |
static std::atomic< Config * > | fgConfigPtr { 0 } |
#include <TMVA/Config.h>
|
private |
constructor - set defaults
Definition at line 51 of file Config.cxx.
|
private |
|
privatevirtual |
destructor
Definition at line 82 of file Config.cxx.
|
static |
|
inlinestaticconstexpr |
|
inlinestatic |
|
static |
static function: destroy TMVA instance
Definition at line 90 of file Config.cxx.
|
inline |
|
inline |
Enable MT in TMVA (by default is on when ROOT::EnableImplicitMT() is set.
|
inline |
|
inline |
|
inline |
|
static |
static function: returns TMVA instance
Definition at line 98 of file Config.cxx.
|
inlinevirtual |
|
inline |
|
inline |
|
virtual |
|
inline |
|
private |
|
staticprivate |
class TMVA::Config::IONames TMVA::Config::fIONames |
|
mutableprivate |
|
private |
|
private |
|
private |
class TMVA::Config::VariablePlotting TMVA::Config::fVariablePlotting |
|
private |
if set true: Configurable objects write file with option reference