#include <VisReco/VisTrigger/interface/VisTriggerContent.h>
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. |
Definition at line 15 of file VisTriggerContent.h.
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 }
VisTriggerContent::IG_DECLARE_STATE_ELEMENT | ( | VisTriggerContent | ) | [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 }