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