-
Notifications
You must be signed in to change notification settings - Fork 0
/
TMVAlogon.C
26 lines (19 loc) · 890 Bytes
/
TMVAlogon.C
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
// --------- S t y l e ---------------------------
const Bool_t UsePaperStyle = 0;
// -----------------------------------------------
TString curDynamicPath( gSystem->GetDynamicPath() );
gSystem->SetDynamicPath( "../lib:" + curDynamicPath );
TString curIncludePath(gSystem->GetIncludePath());
gSystem->SetIncludePath( " -I../include " + curIncludePath );
// load TMVA shared library created in local release
// (not required anymore with the use of rootmaps, but problems with MAC OSX)
if (TString(gSystem->GetBuildArch()).Contains("macosx") ) gSystem->Load( "libTMVA.1" );
TMVA::Tools::Instance();
// welcome the user
TMVA::gTools().TMVAWelcomeMessage();
#include "tmvaglob.C"
TMVAGlob::SetTMVAStyle();
cout << "TMVAlogon: use \"" << gStyle->GetName() << "\" style [" << gStyle->GetTitle() << "]" << endl;
cout << endl;
}