CMS 3D CMS Logo

VisRecoJetContent Class Reference

#include <VisReco/VisRecoJets/interface/VisRecoJetContent.h>

Inheritance diagram for VisRecoJetContent:

VisContent IgExtension IgStateElement

List of all members.

Public Member Functions

 VisRecoJetContent (IgState *state)
 Initialise the reconsructed Jets data data proxy.

Private Member Functions

 IG_DECLARE_STATE_ELEMENT (VisRecoJetContent)
void init (void)
 Actual (in-event-thread) initialisation: add the detector twig to the document data tree.


Detailed Description

Definition at line 15 of file VisRecoJetContent.h.


Constructor & Destructor Documentation

VisRecoJetContent::VisRecoJetContent ( IgState state  ) 

Initialise the reconsructed Jets data data proxy.

Definition at line 27 of file VisRecoJetContent.cc.

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


Member Function Documentation

VisRecoJetContent::IG_DECLARE_STATE_ELEMENT ( VisRecoJetContent   )  [private]

void VisRecoJetContent::init ( void   )  [private]

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

Definition at line 36 of file VisRecoJetContent.cc.

References DBSPlugin::get(), IgTwig::lookup(), and VisContent::state().

00037 {    
00038     IgQtLock ();
00039 
00040     IgTwig *rootTwig = IgDocumentData::get (state ())->root ();
00041     IgTwig *topTwig = 0;
00042 
00043     topTwig = rootTwig->lookup ("CMS Event and Detector");
00044     if (!topTwig) topTwig = new IgSimpleTwig (rootTwig, "CMS Event and Detector");
00045 
00046     new VisCaloTowerTwig (state (), topTwig, "CaloTowers");
00047     new VisCaloJetTwig (state (), topTwig, "CaloJets");
00048     new VisGenJetCollectionTwig (state (), topTwig, "GenJets");
00049     // FIXME: new VisJetTagTwig (state (), eventTwig, "JetTags");
00050 }


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