14 #include "TInterpreter.h"
15 #include "TApplication.h"
61 TInterpreter* intrp= gROOT->GetInterpreter();
62 char const*
env = getenv(
"CMSSW_FWLITE_INCLUDE_PATH");
69 for(end=start; *end!=0 and *end !=
':';++
end);
71 intrp->AddIncludePath(dir.c_str());
76 bool foundCMSIncludes =
false;
77 env = getenv(
"CMSSW_BASE");
79 foundCMSIncludes =
true;
82 intrp->AddIncludePath(dir.c_str());
85 env = getenv(
"CMSSW_RELEASE_BASE");
87 foundCMSIncludes =
true;
90 intrp->AddIncludePath(dir.c_str());
92 if(not foundCMSIncludes) {
93 std::cerr <<
"Could not find the environment variables \n"
95 <<
" CMSSW_RELEASE_BASE\n"
96 <<
" therefore attempting to '#include' any CMS headers will not work"<<std::endl;
98 if (
nullptr != gApplication) {
99 gApplication->InitializeGraphics();
tuple start
Check for commandline option errors.
static PluginManager & configure(const Config &)
PluginManager::Config config()
edm::EDProductGetter const * setRefStreamer(edm::EDProductGetter const *ep)
static void enable()
enable automatic library loading