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