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. More... | |
Bool_t | DrawProgressBar () const |
void | EnableMT (int numthreads=0) |
Enable MT in TMVA (by default is on when ROOT::EnableImplicitMT() is set. More... | |
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. More... | |
VariablePlotting & | GetVariablePlotting () |
Bool_t | IsMTEnabled () const |
Check if IMT is enabled. More... | |
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) |
Bool_t | UseColor () const |
Bool_t | WriteOptionsReference () const |
Static Public Member Functions | |
static void | DestroyInstance () |
static function: destroy TMVA instance More... | |
static Config & | Instance () |
static function: returns TMVA instance More... | |
Public Attributes | |
class TMVA::Config::IONames | fIONames |
class TMVA::Config::VariablePlotting | fVariablePlotting |
Protected Attributes | |
Executor | fExecutor |
Private Member Functions | |
Config () | |
constructor - set defaults More... | |
Config (const Config &) | |
virtual | ~Config () |
destructor More... | |
MsgLogger & | Log () const |
Config & | operator= (const Config &) |
Private Attributes | |
Bool_t | fDrawProgressBar |
MsgLogger * | fLogger |
UInt_t | fNWorkers |
Bool_t | fSilent |
Bool_t | fUseColoredConsole |
Bool_t | fWriteOptionsReference |
Static Private Attributes | |
static Config * | fgConfigPtr = 0 |
#include <TMVA/Config.h>
|
private |
constructor - set defaults
Definition at line 57 of file Config.cxx.
|
private |
|
privatevirtual |
destructor
Definition at line 87 of file Config.cxx.
|
static |
static function: destroy TMVA instance
Definition at line 95 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 107 of file Config.cxx.
|
inline |
|
staticprivate |
class TMVA::Config::IONames TMVA::Config::fIONames |
class TMVA::Config::VariablePlotting TMVA::Config::fVariablePlotting |