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