CMS 3D CMS Logo

VisRPCContent Class Reference

#include <VisReco/VisMuonRPC/interface/VisRPCContent.h>

Inheritance diagram for VisRPCContent:

VisContent IgExtension IgStateElement

List of all members.

Public Member Functions

 VisRPCContent (IgState *state)
 Initialise the reconsructed RPC data data proxy.

Private Member Functions

 IG_DECLARE_STATE_ELEMENT (VisRPCContent)
void init (void)
 Actual (in-event-thread) initialisation: add the RPC twigs to the document data tree.


Detailed Description

Definition at line 15 of file VisRPCContent.h.


Constructor & Destructor Documentation

VisRPCContent::VisRPCContent ( IgState state  ) 

Initialise the reconsructed RPC data data proxy.

Definition at line 28 of file VisRPCContent.cc.

00029     : VisContent (state, s_key, MAIN_THREAD,
00030                   lat::CreateCallback (this, &VisRPCContent::init))
00031 {
00032 }


Member Function Documentation

VisRPCContent::IG_DECLARE_STATE_ELEMENT ( VisRPCContent   )  [private]

void VisRPCContent::init ( void   )  [private]

Actual (in-event-thread) initialisation: add the RPC twigs to the document data tree.

Definition at line 37 of file VisRPCContent.cc.

References DBSPlugin::get(), LFfwvis, LOG, IgTwig::lookup(), VisContent::state(), and GsfMatrixTools::trace().

00038 {    
00039     LOG (0, trace, LFfwvis, "VisRPCContent::init()\n");
00040     
00041     IgQtLock ();
00042     
00043     IgTwig *rootTwig = IgDocumentData::get (state ())->root ();
00044     IgTwig *topTwig = 0;
00045     IgTwig *eventTwig = 0;
00046 
00047     topTwig = rootTwig->lookup ("CMS Event and Detector");
00048     if (!topTwig) topTwig = new IgSimpleTwig (rootTwig, "CMS Event and Detector");
00049 
00050     eventTwig = topTwig->lookup ("CMS Event");
00051     if (!eventTwig) eventTwig = new IgSimpleTwig (topTwig, "CMS Event");
00052     
00053     IgTwig *rpcEventTwig = new IgSimpleTwig (eventTwig, "Muon RPC Event");
00054     new VisRPCDigiTwig (state (), rpcEventTwig, "RPC digis");
00055     new VisRPCRecHitTwig (state (), rpcEventTwig, "RPC RecHit");
00056 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:35:36 2009 for CMSSW by  doxygen 1.5.4