From a10b226984aa9ef2d94c6dc66f70adb619ec01c6 Mon Sep 17 00:00:00 2001 From: Sylvester Joosten <sjoosten@anl.gov> Date: Fri, 4 Oct 2019 16:42:13 -0500 Subject: [PATCH] added standard rootlogon --- rootlogon.C | 13 +++++++++++++ setup.csh | 1 - setup.sh | 1 - 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 rootlogon.C delete mode 100644 setup.csh delete mode 100644 setup.sh diff --git a/rootlogon.C b/rootlogon.C new file mode 100644 index 00000000..daa6306f --- /dev/null +++ b/rootlogon.C @@ -0,0 +1,13 @@ +void rootlogon() { + gSystem->SetBuildDir("$HOME/.root_build_dir"); + gROOT->ProcessLine(".include /usr/local/include/hcana"); + gROOT->ProcessLine(".include ."); + R__LOAD_LIBRARY(libfmt) + //gPrintViaErrorHandler = kTRUE; + //gErrorIgnoreLevel = kWarning; + gROOT->SetStyle("Plain"); + gStyle->SetPalette(1); + gSystem->Load("libTree"); + gSystem->Load("libTreePlayer"); + gSystem->Load("libHist"); +} diff --git a/setup.csh b/setup.csh deleted file mode 100644 index e05a0fa0..00000000 --- a/setup.csh +++ /dev/null @@ -1 +0,0 @@ -setenv DB_DIR DBASE diff --git a/setup.sh b/setup.sh deleted file mode 100644 index ec661de5..00000000 --- a/setup.sh +++ /dev/null @@ -1 +0,0 @@ -export DB_DIR=DBASE -- GitLab