#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; }
   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;
      } fIONames; 
         
      
   private:
      
      Config();
      static Config* fgConfigPtr;
                  
   private:
      Bool_t fUseColoredConsole;
      Bool_t fSilent; 
      mutable MsgLogger fLogger;   
         
      ClassDef(Config,0) 
   };
   
   Config& gConfig();
}
#endif
Last change: Tue May 13 17:20:06 2008
Last generated: 2008-05-13 17:20
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.