18 #define private public // workaround for bug in 5.34.18
40 #include "TGeoManager.h"
41 #include "TEveManager.h"
42 #include "TEveGeoNode.h"
94 std::cout <<
"In the EveDisplayPlugin::analyze method..." << std::endl;
103 #if ROOT_VERSION_CODE >= ROOT_VERSION(5,34,18)
105 TColor::fgInitDone=
false;
106 TColor::InitializeColors();
107 TStyle::BuildStyles();
108 gROOT->SetStyle(gEnv->GetValue(
"Canvas.Style",
"Modern"));
109 gStyle = gROOT->GetStyle(
"Classic");
113 TEveManager::Create();
115 TEveGeoTopNode* trk =
new TEveGeoTopNode(const_cast<TGeoManager*>(
geom.product()),
118 gEve->AddGlobalElement(trk);
DEFINE_FIREWORKS_GEOM_DISPLAY(EveDisplayPlugin)
virtual void run(const edm::EventSetup &) override