CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 ()
 
- Public Member Functions inherited from fireworks::geometry::DisplayPlugin
 DisplayPlugin ()
 
virtual ~DisplayPlugin ()
 

Private Member Functions

virtual 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 ( )
explicit

Definition at line 71 of file EveDisplayPlugin.cc.

72 {
73  //now do what ever initialization is needed
74 
75 }
EveDisplayPlugin::~EveDisplayPlugin ( )

Definition at line 78 of file EveDisplayPlugin.cc.

79 {
80 
81  // do anything here that needs to be done at desctruction time
82  // (e.g. close files, deallocate resources etc.)
83 
84 }

Member Function Documentation

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

Implements fireworks::geometry::DisplayPlugin.

Definition at line 92 of file EveDisplayPlugin.cc.

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

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

93 {
94  std::cout << "In the EveDisplayPlugin::analyze method..." << std::endl;
95  using namespace edm;
96 
98  iSetup.get<DisplayGeomRecord>().get(geom);
99 
100  TEveManager::Create();
101 
102  TEveGeoTopNode* trk = new TEveGeoTopNode(const_cast<TGeoManager*>(geom.product()),
103  geom->GetTopNode());
104  trk->SetVisLevel(2);
105  gEve->AddGlobalElement(trk);
106 }
const T & get() const
Definition: EventSetup.h:56
tuple cout
Definition: gather_cfg.py:145