//------------------------------------------------------------------------------ // rootlogon.C: a sample ROOT logon macro allowing use of ROOT script // compiler in CDF RunII environment. The name of this macro file // is defined by the .rootrc file // //Rick St. Denis //------------------------------------------------------------------------------ { #include #include // the line below tells ROOT script compiler // where to look for the include files gSystem->SetIncludePath(" -I$SRT_LOCAL/Hww/Hww/RootUtil/ "); // load in ROOT physics vectors and event // generator libraries gSystem->Load("$ROOTSYS/lib/libPhysics.so"); gSystem->Load("$ROOTSYS/lib/libEG.so"); gSystem->Load("$ROOTSYS/lib/libDCache.so"); gSystem->Load("$ROOTSYS/test/libEvent.so"); TAuthenticate::SetGlobalUser(gSystem->Getenv("USER")); gInterpreter->ProcessLine(".! ps | grep root"); // Add in the modules I use // gROOT->ProcessLine(".L $SRT_LOCAL/Hww/RootUtil/root/defStyle.C+"); gROOT->ProcessLine(".L $SRT_LOCAL/Hww/RootUtil/root/MITStyle.C+"); gROOT->ProcessLine(".L $SRT_LOCAL/Hww/RootUtil/root/RUtil.C+"); // Drawing utilities // // gROOT->ProcessLine(".L ExcelMasFile.C+"); }