#ifndef ROOT_TMVA_Config
#define ROOT_TMVA_Config
#include "Rtypes.h"
#include "TString.h"
#ifndef ROOT_TMVA_MsgLogger
#include "TMVA/MsgLogger.h"
#endif
namespace TMVA {
class Config {
public:
static Config& Instance() { return fgConfigPtr ? *fgConfigPtr : *(fgConfigPtr = new Config()); }
virtual ~Config();
Bool_t UseColor() { return fUseColoredConsole; }
void SetUseColor( Bool_t uc ) { fUseColoredConsole = uc; }
Bool_t IsSilent() { return fSilent; }
void SetSilent( Bool_t s ) { fSilent = s; }
Bool_t WriteOptionsReference() { return fWriteOptionsReference; }
void SetWriteOptionsReference( Bool_t w ) { fWriteOptionsReference = w; }
public:
class VariablePlotting;
class IONames;
VariablePlotting& GetVariablePlotting() { return fVariablePlotting; }
IONames& GetIONames() { return fIONames; }
class VariablePlotting {
public:
Float_t fTimesRMS;
Int_t fNbins1D;
Int_t fNbins2D;
Int_t fMaxNumOfAllowedVariablesForScatterPlots;
Int_t fNbinsXOfROCCurve;
} fVariablePlotting;
class IONames {
public:
TString fWeightFileDir;
TString fWeightFileExtension;
TString fOptionsReferenceFileDir;
} fIONames;
private:
Config();
static Config* fgConfigPtr;
private:
Bool_t fUseColoredConsole;
Bool_t fSilent;
Bool_t fWriteOptionsReference;
mutable MsgLogger fLogger;
ClassDef(Config,0)
};
Config& gConfig();
}
#endif
Last change: Sat Nov 1 10:21:31 2008
Last generated: 2008-11-01 10:21
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.