]>
Commit | Line | Data |
---|---|---|
bf000c32 | 1 | //____________________________________________________________________ |
a1f80595 | 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 | |
8f6ee336 | 9 | Compile(const char* script, Option_t* option="g") |
a1f80595 | 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"); | |
8f6ee336 | 16 | gROOT->ProcessLine(Form(".L %s+%s", script, option)); |
a1f80595 | 17 | } |
18 | ||
19 | //____________________________________________________________________ | |
20 | // | |
21 | // EOF | |
22 | // |