Needed for FASTJETAN parfiles
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 19 Aug 2009 10:53:18 +0000 (10:53 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 19 Aug 2009 10:53:18 +0000 (10:53 +0000)
JETAN/PROOF-INF.FASTJETAN/BUILD.sh [new file with mode: 0755]
JETAN/PROOF-INF.FASTJETAN/SETUP.C [new file with mode: 0644]

diff --git a/JETAN/PROOF-INF.FASTJETAN/BUILD.sh b/JETAN/PROOF-INF.FASTJETAN/BUILD.sh
new file mode 100755 (executable)
index 0000000..fc9490a
--- /dev/null
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+make 
diff --git a/JETAN/PROOF-INF.FASTJETAN/SETUP.C b/JETAN/PROOF-INF.FASTJETAN/SETUP.C
new file mode 100644 (file)
index 0000000..2b092da
--- /dev/null
@@ -0,0 +1,12 @@
+void SETUP()
+{
+   // Load some ROOT libraries
+   gSystem->Load("libFASTJETAN");
+
+   // Set the Inlucde paths
+   gSystem->SetIncludePath("-I$ROOTSYS/include -IJETAN");
+   gROOT->ProcessLine(".include JETAN");
+
+   // Set our location, so that other packages can find us
+   gSystem->Setenv("JETAN_INCLUDE", "JETAN");
+}