TMVAlogon.C

Go to the documentation of this file.
00001 {
00002    // --------- S t y l e ---------------------------
00003    const Bool_t UsePaperStyle = 0;
00004    // -----------------------------------------------
00005    
00006    TString curDynamicPath( gSystem->GetDynamicPath() );
00007    gSystem->SetDynamicPath( "../lib:" + curDynamicPath );
00008 
00009    TString curIncludePath(gSystem->GetIncludePath());
00010    gSystem->SetIncludePath( " -I../include " + curIncludePath );
00011 
00012    // load TMVA shared library created in local release 
00013    // (not required anymore with the use of rootmaps, but problems with MAC OSX)
00014    if (TString(gSystem->GetBuildArch()).Contains("macosx") ) gSystem->Load( "libTMVA.1" );
00015 
00016    TMVA::Tools::Instance();
00017 
00018    // welcome the user
00019    TMVA::gTools().TMVAWelcomeMessage();
00020    
00021 #include "tmvaglob.C"
00022    
00023    TMVAGlob::SetTMVAStyle();
00024    cout << "TMVAlogon: use \"" << gStyle->GetName() << "\" style [" << gStyle->GetTitle() << "]" << endl;
00025    cout << endl;
00026 }

Generated on Tue Jul 5 15:26:37 2011 for ROOT_528-00b_version by  doxygen 1.5.1