LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
Hack to allow applications to use ROOT graphics. More...
#include "TROOT.h"
#include "TApplication.h"
#include "TGClient.h"
#include "TSystem.h"
#include "TVirtualX.h"
#include "TGX11.h"
#include <iostream>
#include <string>
#include <stdexcept>
#include <cstdlib>
Go to the source code of this file.
Hack to allow applications to use ROOT graphics.
This library is a hack to the system to try to enable the usage of ROOT graphics.
The expected use is that the library that needs graphics statically links this one. Apparently, asking art to load RootGraphicsEnablingService (which links to this same library) via FHiCL file also works well enough.
The hack is copied from RootEnv.cc in nutools event display base utilities.
Definition in file RootGraphicsEnabler.cxx.