]>
Commit | Line | Data |
---|---|---|
1 | //____________________________________________________________________ | |
2 | // | |
3 | // $Id$ | |
4 | // | |
5 | // Script to compile (using ACLic) and load a script. It sets the | |
6 | // include path to contain the relevant directories. | |
7 | // | |
8 | void | |
9 | Compile(const char* script, Option_t* option="g") | |
10 | { | |
11 | gSystem->Load("libFMDutil.so"); | |
12 | gSystem->SetIncludePath("-I`root-config --incdir` " | |
13 | "-I${ALICE_ROOT}/include " | |
14 | "-I${ALICE_ROOT}/FMD " | |
15 | "-I${ALICE_ROOT}/geant3/TGeant3"); | |
16 | gROOT->ProcessLine(Form(".L %s+%s", script, option)); | |
17 | } | |
18 | ||
19 | //____________________________________________________________________ | |
20 | // | |
21 | // EOF | |
22 | // |