CMS 3D CMS Logo

Public Member Functions | Private Member Functions

EveDisplayPlugin Class Reference

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

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

List of all members.

Public Member Functions

 EveDisplayPlugin ()
 ~EveDisplayPlugin ()

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.

{
   //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.)

}

Member Function Documentation

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

}