CMS 3D CMS Logo

VisMuonCSCContent.cc

Go to the documentation of this file.
00001 //<<<<<< INCLUDES                                                       >>>>>>
00002 
00003 #include "VisReco/VisMuonCSC/interface/VisMuonCSCContent.h"
00004 #include "VisReco/VisMuonCSC/interface/VisCSCStripDigiTwig.h"
00005 #include "VisReco/VisMuonCSC/interface/VisCSCWireDigiTwig.h"
00006 #include "VisReco/VisMuonCSC/interface/VisCSCComparatorDigiTwig.h"
00007 #include "VisReco/VisMuonCSC/interface/VisCSCCorrelatedLCTDigiTwig.h"
00008 #include "VisReco/VisMuonCSC/interface/VisCSCALCTDigiTwig.h"
00009 #include "VisReco/VisMuonCSC/interface/VisCSCCLCTDigiTwig.h"
00010 #include "VisReco/VisMuonCSC/interface/VisCSCSegmentTwig.h"
00011 #include "VisReco/VisMuonCSC/interface/VisCSCRecHit2DTwig.h"
00012 #include "VisFramework/VisFrameworkBase/interface/debug.h"
00013 #include "Iguana/Studio/interface/IgDocumentData.h"
00014 #include "Iguana/Framework/interface/IgTwig.h"
00015 #include "Iguana/Studio/interface/IgQtLock.h"
00016 #include <qstring.h>
00017 #include <classlib/utils/Callback.h>
00018 
00019 //<<<<<< PRIVATE DEFINES                                                >>>>>>
00020 //<<<<<< PRIVATE CONSTANTS                                              >>>>>>
00021 //<<<<<< PRIVATE TYPES                                                  >>>>>>
00022 //<<<<<< PRIVATE VARIABLE DEFINITIONS                                   >>>>>>
00023 //<<<<<< PUBLIC VARIABLE DEFINITIONS                                    >>>>>>
00024 //<<<<<< CLASS STRUCTURE INITIALIZATION                                 >>>>>>
00025 
00026 IG_DEFINE_STATE_ELEMENT (VisMuonCSCContent, "Data/Reco/MuonCSC");
00027 
00028 //<<<<<< PRIVATE FUNCTION DEFINITIONS                                   >>>>>>
00029 //<<<<<< PUBLIC FUNCTION DEFINITIONS                                    >>>>>>
00030 //<<<<<< MEMBER FUNCTION DEFINITIONS                                    >>>>>>
00031 
00033 VisMuonCSCContent::VisMuonCSCContent (IgState *state)
00034     : VisContent (state, s_key, MAIN_THREAD,
00035                   lat::CreateCallback (this, &VisMuonCSCContent::init))
00036 {
00037 }
00038 
00041 void
00042 VisMuonCSCContent::init (void)
00043 {    
00044     LOG (0, trace, LFfwvis, "VisMuonCSCContent::init()\n");
00045     
00046     IgQtLock ();
00047     
00048     IgTwig *rootTwig = IgDocumentData::get (state ())->root ();
00049     IgTwig *topTwig = 0;
00050     IgTwig *eventTwig = 0;
00051 
00052     topTwig = rootTwig->lookup ("CMS Event and Detector");
00053     if (!topTwig) topTwig = new IgSimpleTwig (rootTwig, "CMS Event and Detector");
00054 
00055     eventTwig = topTwig->lookup ("CMS Event");
00056     if (!eventTwig) eventTwig = new IgSimpleTwig (topTwig, "CMS Event");
00057     
00058     IgTwig *muonEventTwig = new IgSimpleTwig (eventTwig, "Muon CSC Event");
00059 
00060     new VisCSCStripDigiTwig (state (), muonEventTwig, "Strip digis");
00061     new VisCSCWireDigiTwig (state (), muonEventTwig, "Wire digis");
00062     new VisCSCComparatorDigiTwig (state (), muonEventTwig, "Comparator digis");
00063     new VisCSCCorrelatedLCTDigiTwig (state (), muonEventTwig, "Correlated LCT digis");
00064     new VisCSCALCTDigiTwig (state (), muonEventTwig, "ALCT digis");
00065     new VisCSCCLCTDigiTwig (state (), muonEventTwig, "CLCT digis");
00066     new VisCSCRecHit2DTwig (state (), muonEventTwig, "Rec Hit 2D");
00067     new VisCSCSegmentTwig (state (), muonEventTwig, "Segments");
00068 }
00069 

Generated on Tue Jun 9 17:50:21 2009 for CMSSW by  doxygen 1.5.4