]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/PROOF-INF.AOD/SETUP.C
Adding functionality to create AOD.par files.
[u/mrichter/AliRoot.git] / STEER / PROOF-INF.AOD / SETUP.C
diff --git a/STEER/PROOF-INF.AOD/SETUP.C b/STEER/PROOF-INF.AOD/SETUP.C
new file mode 100644 (file)
index 0000000..8531e56
--- /dev/null
@@ -0,0 +1,12 @@
+void SETUP()
+{
+   // Load the ESD library
+   gSystem->Load("libAOD");
+
+   // Set the Inlucde paths
+   gSystem->SetIncludePath("-I$ROOTSYS/include -IAOD");
+   gROOT->ProcessLine(".include AOD");
+
+   // Set our location, so that other packages can find us
+   gSystem->Setenv("AOD_INCLUDE", "AOD");
+}