CMS 3D CMS Logo

VisRecoCandidateContent Class Reference

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

Inheritance diagram for VisRecoCandidateContent:

VisContent IgExtension IgStateElement

List of all members.

Public Member Functions

 VisRecoCandidateContent (IgState *state)
 Initialise the reconsructed Candidates data data proxy.

Private Member Functions

 IG_DECLARE_STATE_ELEMENT (VisRecoCandidateContent)
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 VisRecoCandidateContent.h.


Constructor & Destructor Documentation

VisRecoCandidateContent::VisRecoCandidateContent ( IgState state  ) 

Initialise the reconsructed Candidates data data proxy.

Definition at line 24 of file VisRecoCandidateContent.cc.

00025     : VisContent (state, s_key, MAIN_THREAD,
00026                   lat::CreateCallback (this, &VisRecoCandidateContent::init))
00027 {
00028 }


Member Function Documentation

VisRecoCandidateContent::IG_DECLARE_STATE_ELEMENT ( VisRecoCandidateContent   )  [private]

void VisRecoCandidateContent::init ( void   )  [private]

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

Definition at line 33 of file VisRecoCandidateContent.cc.

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

00034 {    
00035     IgQtLock ();
00036 
00037     IgTwig *rootTwig = IgDocumentData::get (state ())->root ();
00038     IgTwig *topTwig = 0;
00039     IgTwig *eventTwig = 0;
00040 
00041     topTwig = rootTwig->lookup ("CMS Event and Detector");
00042     if (!topTwig) topTwig = new IgSimpleTwig (rootTwig, "CMS Event and Detector");
00043 
00044     eventTwig = topTwig->lookup ("CMS Event");
00045     if (!eventTwig) eventTwig = new IgSimpleTwig (topTwig, "CMS Event");
00046     
00047     new VisCandidateTwig (state (), eventTwig, "Candidates");
00048 }


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