scripts/Compile.C

Go to the documentation of this file.
00001 //____________________________________________________________________
00002 //
00003 // $Id: Compile.C,v 1.3 2006/03/17 11:42:24 cholm Exp $
00004 //
00005 // Script to compile (using ACLic) and load a script.  It sets the
00006 // include path to contain the relevant directories. 
00007 //
00020 void
00021 Compile(const char* script, Option_t* option="g")
00022 {
00023   gSystem->Load("libFMDutil.so");
00024   gSystem->SetIncludePath("-I`root-config --incdir` "
00025                           "-I${ALICE_ROOT}/include " 
00026                           "-I${ALICE_ROOT}/FMD "
00027                           "-I${ALICE_ROOT}/geant3/TGeant3");
00028   gROOT->ProcessLine(Form(".L %s+%s", script, option));
00029 }
00030 
00031 //____________________________________________________________________
00032 //
00033 // EOF
00034 // 

Generated on Fri Mar 24 17:11:21 2006 for ALICE FMD Off-line by  doxygen 1.4.6