Gamma conversion analysis moved to its own subdirectory from PartCorr
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 12 Nov 2008 17:58:04 +0000 (17:58 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 12 Nov 2008 17:58:04 +0000 (17:58 +0000)
PWG4/PROOF-INF.PWG4GammaConv/BUILD.sh [new file with mode: 0755]
PWG4/PROOF-INF.PWG4GammaConv/SETUP.C [new file with mode: 0644]

diff --git a/PWG4/PROOF-INF.PWG4GammaConv/BUILD.sh b/PWG4/PROOF-INF.PWG4GammaConv/BUILD.sh
new file mode 100755 (executable)
index 0000000..fc9490a
--- /dev/null
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+make 
diff --git a/PWG4/PROOF-INF.PWG4GammaConv/SETUP.C b/PWG4/PROOF-INF.PWG4GammaConv/SETUP.C
new file mode 100644 (file)
index 0000000..ef6b6ae
--- /dev/null
@@ -0,0 +1,13 @@
+void SETUP()
+{
+
+   // Load the ESD library
+   gSystem->Load("libPWG4GammaConv");
+
+   // Set the Include paths
+   gSystem->SetIncludePath("-I$ROOTSYS/include -IPWG4GammaConv");
+   gROOT->ProcessLine(".include PWG4GammaConv/GammaConv");
+
+   // Set our location, so that other packages can find us
+   gSystem->Setenv("PWG4GammaConv_INCLUDE", "PWG4GammaConv/GammaConv");
+}