ROOTPWA
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
amplitude
amplitude/rootlogon.C
Go to the documentation of this file.
1
2
//
3
// Copyright 2010
4
//
5
// This file is part of rootpwa
6
//
7
// rootpwa is free software: you can redistribute it and/or modify
8
// it under the terms of the GNU General Public License as published by
9
// the Free Software Foundation, either version 3 of the License, or
10
// (at your option) any later version.
11
//
12
// rootpwa is distributed in the hope that it will be useful,
13
// but WITHOUT ANY WARRANTY; without even the implied warranty of
14
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
// GNU General Public License for more details.
16
//
17
// You should have received a copy of the GNU General Public License
18
// along with rootpwa. If not, see <http://www.gnu.org/licenses/>.
19
//
21
//-------------------------------------------------------------------------
22
// File and Version Information:
23
// $Rev:: $: revision of last commit
24
// $Author:: $: author of last commit
25
// $Date:: $: date of last commit
26
//
27
// Description:
28
// ROOT logon script that sets up environment for ROOT macros
29
//
30
//
31
// Author List:
32
// Boris Grube TUM (original author)
33
//
34
//
35
//-------------------------------------------------------------------------
36
37
38
{
39
// set include paths
40
gSystem->AddIncludePath(
"-I$BOOST_ROOT"
);
41
gSystem->AddIncludePath(
"-I$ROOTPWA/pwa2000/libpp"
);
42
gSystem->AddIncludePath(
"-I$ROOTPWA/utilities"
);
43
44
// define macro ROOT_CINT; used to exclude code parts from ACLiC compilation
45
gSystem->AddIncludePath(
"-DROOT_CINT"
);
46
47
// switch off shadowing warnings
48
//gDebug = 7; // print command lines generated by ACLiC
49
TString cmd = gSystem->GetMakeSharedLib();
50
cmd.ReplaceAll(
"-Wshadow"
,
"-Wno-shadow"
);
51
gSystem->SetMakeSharedLib(cmd.Data());
52
53
// load shared libraries
54
gSystem->Load(
"libpp.so"
);
55
gSystem->Load(
"libRootPwa.so"
);
56
gSystem->Load(
"libRootPwaAmp.so"
);
57
}
Generated by
1.8.1.2