Added some ignores and moved script
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 30 Nov 2010 20:25:45 +0000 (20:25 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 30 Nov 2010 20:25:45 +0000 (20:25 +0000)
PWG2/FORWARD/analysis2/Compile.C [deleted file]

diff --git a/PWG2/FORWARD/analysis2/Compile.C b/PWG2/FORWARD/analysis2/Compile.C
deleted file mode 100644 (file)
index dbfc35e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-//____________________________________________________________________
-//
-// $Id: Compile.C 30305 2008-12-09 05:45:53Z cholm $
-//
-// Script to compile (using ACLic) and load a script.  It sets the
-// include path to contain the relevant directories. 
-//
-/** 
- * Compile an FMD script using ACLic
- *
- * @param script Script to compile
- * @param option Compile option 
- * 
- * @ingroup pwg2_forward_analysis_scripts
- */
-Bool_t
-Compile(const char* script, Option_t* option="g")
-{
-  if (!script || script[0] == '\0') { 
-    std::cerr << "No script to compile!" << std::endl;
-    return kFALSE;
-  }
-  gSystem->Load("libANALYSIS.so");
-  gSystem->Load("libANALYSISalice.so");
-  gSystem->Load("libPWG2forward2.so");
-  TString macroPath(gROOT->GetMacroPath());
-  macroPath.Append(":${ALICE_ROOT}/FMD/scripts");
-  gROOT->SetMacroPath(macroPath.Data());
-  gSystem->SetIncludePath("-I`root-config --incdir` "
-                         "-I${ALICE_ROOT} " 
-                         "-I${ALICE_ROOT}/include " 
-                         "-I${ALICE_ROOT}/PWG2/FORWARD/analysis2 ");
-  Long_t ret = gROOT->ProcessLine(Form(".L %s+%s", script, option));
-  return ret == 0;
-}
-
-//____________________________________________________________________
-//
-// EOF
-//