Dear experts,
I have a problem loading automatically a customized style while launching ROOT.
The ROOT version is the latest git ROOT, which is 6.03/01
What I did was to create a .rootrc under home as follows:
Unix.*.Root.DynamicPath: .:$(ROOTSYS)/lib:$(HOME)/RootUtils/lib:
Unix.*.Root.MacroPath: .:$(HOME)/RootUtils:
Root.ShowPath: false
and the env are:
[shuli@pb-d-128-141-151-98]~/root/root.git% echo $ROOTSYS
/usr/local
[shuli@pb-d-128-141-151-98]~/root/root.git% echo $HOME
/Users/shuli
and under $HOME/RootUtils I put the macros contained in the attached tarball “atlasstyle-00-03-05.tar.gz”.
But when launching ROOT, I got an error:
In file included from input_line_25:1:
/Users/shuli/RootUtils/rootlogon.C:5:3: error: use of undeclared identifier 'SetAtlasStyle'
SetAtlasStyle();
^
root [0]
while if I do the style loading by hand, I have no problem at all:
root [0] gROOT->LoadMacro("AtlasStyle.C");
root [1] SetAtlasStyle();
Applying ATLAS style settings...
root [2]
Do you have any solution to set the customized style setting while automatical launching ROOT?
Many thanks.
atlasstyle-00-03-05.tar.gz (1.36 MB)