CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions
EveDisplayPlugin Class Reference

#include <Reve/EveDisplayPlugin/src/EveDisplayPlugin.cc>

Inheritance diagram for EveDisplayPlugin:
fireworks::geometry::DisplayPlugin

Public Member Functions

 EveDisplayPlugin ()
 
 ~EveDisplayPlugin () override
 
- Public Member Functions inherited from fireworks::geometry::DisplayPlugin
 DisplayPlugin ()
 
virtual ~DisplayPlugin ()
 

Private Member Functions

void run (const edm::EventSetup &) override
 

Detailed Description

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 48 of file EveDisplayPlugin.cc.

Constructor & Destructor Documentation

◆ EveDisplayPlugin()

EveDisplayPlugin::EveDisplayPlugin ( )
explicit

Definition at line 68 of file EveDisplayPlugin.cc.

68  {
69  //now do what ever initialization is needed
70 }

◆ ~EveDisplayPlugin()

EveDisplayPlugin::~EveDisplayPlugin ( )
override

Definition at line 72 of file EveDisplayPlugin.cc.

72  {
73  // do anything here that needs to be done at desctruction time
74  // (e.g. close files, deallocate resources etc.)
75 }

Member Function Documentation

◆ run()

void EveDisplayPlugin::run ( const edm::EventSetup iSetup)
overrideprivatevirtual

Implements fireworks::geometry::DisplayPlugin.

Definition at line 81 of file EveDisplayPlugin.cc.

81  {
82  std::cout << "In the EveDisplayPlugin::analyze method..." << std::endl;
83  using namespace edm;
84 
86  iSetup.get<DisplayGeomRecord>().get(geom);
87 
88  TEveManager::Create();
89 
90  TEveGeoTopNode* trk = new TEveGeoTopNode(const_cast<TGeoManager*>(geom.product()), geom->GetTopNode());
91  trk->SetVisLevel(2);
92  gEve->AddGlobalElement(trk);
93 }

References gather_cfg::cout, relativeConstraints::geom, edm::EventSetup::get(), and get.

Referenced by Types.EventID::cppID(), and Types.LuminosityBlockID::cppID().

edm
HLT enums.
Definition: AlignableModifier.h:19
gather_cfg.cout
cout
Definition: gather_cfg.py:144
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
edm::ESHandle
Definition: DTSurvey.h:22
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
get
#define get
DisplayGeomRecord
Definition: DisplayGeomRecord.h:24