have proper palette.
authorloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 19 Sep 2010 05:39:15 +0000 (05:39 +0000)
committerloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 19 Sep 2010 05:39:15 +0000 (05:39 +0000)
PWG4/TwoPartCorr/rootlogon.C

index 401502a..1b21ad3 100644 (file)
@@ -1,4 +1,14 @@
 {
+  if (0) {
+    cout << "Loading " << gSystem->Getenv("PWD") 
+         << "/rootlogon.C" << endl;
+    cout << "Using ROOT version " 
+         << gROOT->GetVersion() << endl;
+  }
+
+  gROOT->SetStyle("Plain");
+  gStyle->SetPalette(1);
+
   gSystem->Load("libTree.so");
   if (gSystem->Getenv("TMPDIR")) 
     gSystem->SetBuildDir(gSystem->Getenv("TMPDIR"));