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 42 of file EveDisplayPlugin.cc.

Constructor & Destructor Documentation

EveDisplayPlugin::EveDisplayPlugin ( )
explicit

Definition at line 65 of file EveDisplayPlugin.cc.

66 {
67  //now do what ever initialization is needed
68 
69 }
EveDisplayPlugin::~EveDisplayPlugin ( )

Definition at line 72 of file EveDisplayPlugin.cc.

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

Member Function Documentation

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

Implements fireworks::geometry::DisplayPlugin.

Definition at line 86 of file EveDisplayPlugin.cc.

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

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

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