]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - FMD/scripts/Compile.C
Digits corresponded to new data format
[u/mrichter/AliRoot.git] / FMD / scripts / Compile.C
... / ...
CommitLineData
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//
8void
9Compile(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//