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 () |
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) |
Bool_t | UseColor () const |
Bool_t | WriteOptionsReference () const |
Static Public Member Functions | |
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 |
MsgLogger * | fLogger |
std::atomic< UInt_t > | fNWorkers |
std::atomic< Bool_t > | fSilent |
std::atomic< Bool_t > | fUseColoredConsole |
std::atomic< Bool_t > | fWriteOptionsReference |
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 |
static function: destroy TMVA instance
Definition at line 90 of file Config.cxx.
|
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.
|
inline |
|
staticprivate |
class TMVA::Config::IONames TMVA::Config::fIONames |
|
private |
class TMVA::Config::VariablePlotting TMVA::Config::fVariablePlotting |
|
private |