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 &)
 

Detailed Description

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

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

Definition at line 43 of file EveDisplayPlugin.cc.

Constructor & Destructor Documentation

EveDisplayPlugin::EveDisplayPlugin ( )
explicit

Definition at line 66 of file EveDisplayPlugin.cc.

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

Definition at line 73 of file EveDisplayPlugin.cc.

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

Member Function Documentation

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

Implements fireworks::geometry::DisplayPlugin.

Definition at line 87 of file EveDisplayPlugin.cc.

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

Referenced by Types.LuminosityBlockID::cppID().

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