#include <Reve/EveDisplayPlugin/src/EveDisplayPlugin.cc>
Public Member Functions | |
EveDisplayPlugin () | |
~EveDisplayPlugin () | |
Private Member Functions | |
virtual void | run (const edm::EventSetup &) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 43 of file EveDisplayPlugin.cc.
EveDisplayPlugin::EveDisplayPlugin | ( | ) | [explicit] |
Definition at line 66 of file EveDisplayPlugin.cc.
{
//now do what ever initialization is needed
}
EveDisplayPlugin::~EveDisplayPlugin | ( | ) |
Definition at line 73 of file EveDisplayPlugin.cc.
{ // do anything here that needs to be done at desctruction time // (e.g. close files, deallocate resources etc.) }
void EveDisplayPlugin::run | ( | const edm::EventSetup & | iSetup | ) | [private, virtual] |
Implements fireworks::geometry::DisplayPlugin.
Definition at line 87 of file EveDisplayPlugin.cc.
References gather_cfg::cout, relativeConstraints::geom, and edm::EventSetup::get().
{ std::cout << "In the EveDisplayPlugin::analyze method..." << std::endl; using namespace edm; ESHandle<TGeoManager> geom; iSetup.get<DisplayGeomRecord>().get(geom); TEveManager::Create(); TEveGeoTopNode* trk = new TEveGeoTopNode(const_cast<TGeoManager*>(geom.product()), geom->GetTopNode()); trk->SetVisLevel(2); gEve->AddGlobalElement(trk); }