CMS 3D CMS Logo

VisTriggerContent Class Reference

#include <VisReco/VisTrigger/interface/VisTriggerContent.h>

Inheritance diagram for VisTriggerContent:

VisContent IgExtension IgStateElement

List of all members.

Public Member Functions

 VisTriggerContent (IgState *state)
 Initialise the Trigger data data proxy.

Private Member Functions

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


Detailed Description

Definition at line 15 of file VisTriggerContent.h.


Constructor & Destructor Documentation

VisTriggerContent::VisTriggerContent ( IgState state  ) 

Initialise the Trigger data data proxy.

Definition at line 28 of file VisTriggerContent.cc.

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


Member Function Documentation

VisTriggerContent::IG_DECLARE_STATE_ELEMENT ( VisTriggerContent   )  [private]

void VisTriggerContent::init ( void   )  [private]

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

Definition at line 37 of file VisTriggerContent.cc.

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

00038 {
00039     IgQtLock ();
00040     
00041     IgTwig *rootTwig = IgDocumentData::get (state ())->root ();
00042     IgTwig *topTwig = 0;
00043     IgTwig *eventTwig = 0;
00044     
00045     topTwig = rootTwig->lookup ("CMS Event and Detector");
00046     if (!topTwig) topTwig = new IgSimpleTwig (rootTwig, "CMS Event and Detector");
00047 
00048     eventTwig = topTwig->lookup ("CMS Event");
00049     if (!eventTwig) eventTwig = new IgSimpleTwig (topTwig, "CMS Event");
00050     
00051     IgTwig *triggerTwig = new IgSimpleTwig (eventTwig, "Trigger");
00052     new VisTriggerResultsTwig (state (), triggerTwig, "Trigger Results");
00053     new VisL1MuDTChambPhContainerTwig (state (), triggerTwig, "L1 Muon DT Ph");
00054     new VisL1MuDTChambThContainerTwig (state (), triggerTwig, "L1 Muon DT Th");
00055     new VisL1MuDTTrackContainerTwig (state (), triggerTwig, "L1 Muon DT Tracks");
00056     new VisL1GlobalTriggerReadoutRecordTwig (state (), triggerTwig, "L1GlobalTriggerReadoutRecord");
00057 }


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