CMS 3D CMS Logo

VisHcalRecoContent Class Reference

#include <VisReco/VisHcal/interface/VisHcalRecoContent.h>

Inheritance diagram for VisHcalRecoContent:

VisContent IgExtension IgStateElement

List of all members.

Public Member Functions

 VisHcalRecoContent (IgState *state)
 Initialise the reconsructed HCAL data data proxy.

Private Member Functions

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


Constructor & Destructor Documentation

VisHcalRecoContent::VisHcalRecoContent ( IgState state  ) 

Initialise the reconsructed HCAL data data proxy.

Definition at line 30 of file VisHcalRecoContent.cc.

00031     : VisContent (state, s_key, MAIN_THREAD,
00032                   lat::CreateCallback (this, &VisHcalRecoContent::init))
00033 {
00034 }


Member Function Documentation

VisHcalRecoContent::IG_DECLARE_STATE_ELEMENT ( VisHcalRecoContent   )  [private]

void VisHcalRecoContent::init ( void   )  [private]

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

Definition at line 39 of file VisHcalRecoContent.cc.

References VisExceptionService::cmsExceptionCallback(), lat::CreateCallback(), VisExceptionService::errorCallback(), VisExceptionService::exceptionCallback(), DBSPlugin::get(), LFfwvis, LOG, IgTwig::lookup(), VisQueuedTwig::onCmsException(), VisQueuedTwig::onError(), VisQueuedTwig::onException(), VisQueuedTwig::onUnhandledException(), VisContent::state(), GsfMatrixTools::trace(), and VisExceptionService::unhandledExceptionCallback().

00040 {    
00041     LOG (0, trace, LFfwvis, "VisHcalRecoContent::init()\n");
00042     
00043     IgQtLock ();
00044 
00045     IgTwig *rootTwig = IgDocumentData::get (state ())->root ();
00046     IgTwig *topTwig = 0;
00047     IgTwig *eventTwig = 0;
00048 
00049     topTwig = rootTwig->lookup ("CMS Event and Detector");
00050     if (!topTwig) topTwig = new IgSimpleTwig (rootTwig, "CMS Event and Detector");
00051     
00052     eventTwig = topTwig->lookup ("CMS Event");
00053     if (!eventTwig) eventTwig = new IgSimpleTwig (topTwig, "CMS Event");
00054 
00055     IgTwig *hcalEventTwig = new IgSimpleTwig (eventTwig, "HCAL Event");
00056 
00057     VisHBHERecHitTwig *hbheHits = new VisHBHERecHitTwig (state (), hcalEventTwig, "Hcal Barrel and Endcap RecHits");
00058     VisHFRecHitTwig *hfHits = new VisHFRecHitTwig (state (), hcalEventTwig, "Hcal Forward RecHits");
00059     VisHORecHitTwig *hoHits = new VisHORecHitTwig (state (), hcalEventTwig, "Hcal Outer RecHits", "", "", "", "", 0x0011ff00);
00060 
00061     VisHFDataFrameTwig *hfDataFrame = new VisHFDataFrameTwig (state (), hcalEventTwig, "Hcal Forward Digis");
00062 
00063     VisExceptionService *exService = VisExceptionService::get (state ());
00064     if (! exService)
00065     {
00066         exService = new VisExceptionService (state ());
00067     }
00068     hbheHits->onException (lat::CreateCallback (exService, &VisExceptionService::exceptionCallback));
00069     hbheHits->onError (lat::CreateCallback (exService, &VisExceptionService::errorCallback));
00070     hbheHits->onCmsException (lat::CreateCallback (exService, &VisExceptionService::cmsExceptionCallback));
00071     hbheHits->onUnhandledException (lat::CreateCallback (exService, &VisExceptionService::unhandledExceptionCallback));
00072 
00073     hfHits->onException (lat::CreateCallback (exService, &VisExceptionService::exceptionCallback));
00074     hfHits->onError (lat::CreateCallback (exService, &VisExceptionService::errorCallback));
00075     hfHits->onCmsException (lat::CreateCallback (exService, &VisExceptionService::cmsExceptionCallback));
00076     hfHits->onUnhandledException (lat::CreateCallback (exService, &VisExceptionService::unhandledExceptionCallback));
00077 
00078     hoHits->onException (lat::CreateCallback (exService, &VisExceptionService::exceptionCallback));
00079     hoHits->onError (lat::CreateCallback (exService, &VisExceptionService::errorCallback));
00080     hoHits->onCmsException (lat::CreateCallback (exService, &VisExceptionService::cmsExceptionCallback));
00081     hoHits->onUnhandledException (lat::CreateCallback (exService, &VisExceptionService::unhandledExceptionCallback));
00082 
00083     hfDataFrame->onException (lat::CreateCallback (exService, &VisExceptionService::exceptionCallback));
00084     hfDataFrame->onError (lat::CreateCallback (exService, &VisExceptionService::errorCallback));
00085     hfDataFrame->onCmsException (lat::CreateCallback (exService, &VisExceptionService::cmsExceptionCallback));
00086     hfDataFrame->onUnhandledException (lat::CreateCallback (exService, &VisExceptionService::unhandledExceptionCallback));
00087 }


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