.par files
authorloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 May 2012 18:32:48 +0000 (18:32 +0000)
committerloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 May 2012 18:32:48 +0000 (18:32 +0000)
PWGGA/PROOF-INF.PWGGAEMCALJetTasks/BUILD.sh [new file with mode: 0755]
PWGGA/PROOF-INF.PWGGAEMCALJetTasks/SETUP.C [new file with mode: 0755]

diff --git a/PWGGA/PROOF-INF.PWGGAEMCALJetTasks/BUILD.sh b/PWGGA/PROOF-INF.PWGGAEMCALJetTasks/BUILD.sh
new file mode 100755 (executable)
index 0000000..fc9490a
--- /dev/null
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+make 
diff --git a/PWGGA/PROOF-INF.PWGGAEMCALJetTasks/SETUP.C b/PWGGA/PROOF-INF.PWGGAEMCALJetTasks/SETUP.C
new file mode 100755 (executable)
index 0000000..57f0445
--- /dev/null
@@ -0,0 +1,15 @@
+// $Id$
+
+void SETUP()
+{
+  // Load the library
+  TString ocwd = gSystem->WorkingDirectory();
+  gSystem->Load(ocwd+"/libPWGGAEMCALJetTasks.so");
+
+  // Set the Include paths
+  gSystem->SetIncludePath("-I$ROOTSYS/include -IPWGGAEMCALJetTasks");
+  gROOT->ProcessLine(".include PWGGAEMCALTasks/EMCALJetTasks");
+  
+  // Set our location, so that other packages can find us
+  gSystem->Setenv("PWGGAEMCALJetTasks_INCLUDE", "PWGGAEMCALTasks/EMCALJetTasks");
+}