Logo ROOT   master
Reference Guide
TMVA::Config Class Reference

Singleton class for global configuration settings used by TMVA.

Definition at line 51 of file Config.h.

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...
 
IONamesGetIONames ()
 
ROOT::TThreadExecutorGetMultiThreadExecutor ()
 
UInt_t GetNCpu ()
 
UInt_t GetNumWorkers () const
 
ExecutorGetThreadExecutor ()
 Get executor class for multi-thread usage In case when MT is not enabled will return a serial executor. More...
 
VariablePlottingGetVariablePlotting ()
 
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 ConfigInstance ()
 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...
 
MsgLoggerLog () const
 
Configoperator= (const Config &)
 

Private Attributes

Bool_t fDrawProgressBar
 
MsgLoggerfLogger
 
UInt_t fNWorkers
 
Bool_t fSilent
 
Bool_t fUseColoredConsole
 
Bool_t fWriteOptionsReference
 

Static Private Attributes

static ConfigfgConfigPtr = 0
 

#include <TMVA/Config.h>

Constructor & Destructor Documentation

◆ Config() [1/2]

TMVA::Config::Config ( )
private

constructor - set defaults

Definition at line 57 of file Config.cxx.

◆ Config() [2/2]

TMVA::Config::Config ( const Config )
private

◆ ~Config()

TMVA::Config::~Config ( )
privatevirtual

destructor

Definition at line 87 of file Config.cxx.

Member Function Documentation

◆ DestroyInstance()

void TMVA::Config::DestroyInstance ( )
static

static function: destroy TMVA instance

Definition at line 95 of file Config.cxx.

◆ DisableMT()

void TMVA::Config::DisableMT ( )
inline

Force disabling MT running and release the thread pool by using instead seriaql execution.

Definition at line 89 of file Config.h.

◆ DrawProgressBar()

Bool_t TMVA::Config::DrawProgressBar ( ) const
inline

Definition at line 70 of file Config.h.

◆ EnableMT()

void TMVA::Config::EnableMT ( int  numthreads = 0)
inline

Enable MT in TMVA (by default is on when ROOT::EnableImplicitMT() is set.

Definition at line 86 of file Config.h.

◆ GetIONames()

IONames& TMVA::Config::GetIONames ( )
inline

Definition at line 100 of file Config.h.

◆ GetMultiThreadExecutor()

ROOT::TThreadExecutor& TMVA::Config::GetMultiThreadExecutor ( )
inline

Definition at line 78 of file Config.h.

◆ GetNCpu()

UInt_t TMVA::Config::GetNCpu ( )
inline

Definition at line 72 of file Config.h.

◆ GetNumWorkers()

UInt_t TMVA::Config::GetNumWorkers ( ) const
inline

Definition at line 74 of file Config.h.

◆ GetThreadExecutor()

Executor& TMVA::Config::GetThreadExecutor ( )
inline

Get executor class for multi-thread usage In case when MT is not enabled will return a serial executor.

Definition at line 83 of file Config.h.

◆ GetVariablePlotting()

VariablePlotting& TMVA::Config::GetVariablePlotting ( )
inline

Definition at line 99 of file Config.h.

◆ Instance()

TMVA::Config & TMVA::Config::Instance ( )
static

static function: returns TMVA instance

Definition at line 107 of file Config.cxx.

◆ IsMTEnabled()

Bool_t TMVA::Config::IsMTEnabled ( ) const
inline

Check if IMT is enabled.

Definition at line 92 of file Config.h.

◆ IsSilent()

Bool_t TMVA::Config::IsSilent ( ) const
inline

Definition at line 64 of file Config.h.

◆ Log()

MsgLogger& TMVA::Config::Log ( ) const
inlineprivate

Definition at line 158 of file Config.h.

◆ operator=()

Config& TMVA::Config::operator= ( const Config )
private

◆ SetDrawProgressBar()

void TMVA::Config::SetDrawProgressBar ( Bool_t  d)
inline

Definition at line 71 of file Config.h.

◆ SetNumWorkers()

void TMVA::Config::SetNumWorkers ( UInt_t  n)
inline

Definition at line 75 of file Config.h.

◆ SetSilent()

void TMVA::Config::SetSilent ( Bool_t  s)
inline

Definition at line 65 of file Config.h.

◆ SetUseColor()

void TMVA::Config::SetUseColor ( Bool_t  uc)
inline

Definition at line 62 of file Config.h.

◆ SetWriteOptionsReference()

void TMVA::Config::SetWriteOptionsReference ( Bool_t  w)
inline

Definition at line 68 of file Config.h.

◆ UseColor()

Bool_t TMVA::Config::UseColor ( ) const
inline

Definition at line 61 of file Config.h.

◆ WriteOptionsReference()

Bool_t TMVA::Config::WriteOptionsReference ( ) const
inline

Definition at line 67 of file Config.h.

Member Data Documentation

◆ fDrawProgressBar

Bool_t TMVA::Config::fDrawProgressBar
private

Definition at line 151 of file Config.h.

◆ fExecutor

Executor TMVA::Config::fExecutor
protected

Definition at line 54 of file Config.h.

◆ fgConfigPtr

TMVA::Config * TMVA::Config::fgConfigPtr = 0
staticprivate

Definition at line 140 of file Config.h.

◆ fIONames

class TMVA::Config::IONames TMVA::Config::fIONames

◆ fLogger

MsgLogger* TMVA::Config::fLogger
mutableprivate

Definition at line 157 of file Config.h.

◆ fNWorkers

UInt_t TMVA::Config::fNWorkers
private

Definition at line 152 of file Config.h.

◆ fSilent

Bool_t TMVA::Config::fSilent
private

Definition at line 154 of file Config.h.

◆ fUseColoredConsole

Bool_t TMVA::Config::fUseColoredConsole
private

Definition at line 153 of file Config.h.

◆ fVariablePlotting

class TMVA::Config::VariablePlotting TMVA::Config::fVariablePlotting

◆ fWriteOptionsReference

Bool_t TMVA::Config::fWriteOptionsReference
private

Definition at line 155 of file Config.h.

Libraries for TMVA::Config:
[legend]

The documentation for this class was generated from the following files: