CMS 3D CMS Logo

VisPSimHitTwig.cc File Reference

#include "VisSimulation/VisSimHits/interface/VisPSimHitTwig.h"
#include "VisFramework/VisFrameworkBase/interface/VisTwigFactroyService.h"
#include "VisFramework/VisFrameworkBase/interface/VisEventSelector.h"
#include "VisFramework/VisFrameworkBase/interface/debug.h"
#include "VisFramework/VisEventSetup/interface/VisEventSetupService.h"
#include "DataFormats/DetId/interface/DetId.h"
#include "FWCore/Framework/interface/Event.h"
#include "SimDataFormats/TrackingHit/interface/PSimHit.h"
#include "SimDataFormats/TrackingHit/interface/PSimHitContainer.h"
#include "Iguana/Framework/interface/IgRepSet.h"
#include "Iguana/Studio/interface/IgDocumentData.h"
#include "Iguana/Studio/interface/IgQtLock.h"
#include "Iguana/Models/interface/IgTextRep.h"
#include "Iguana/GLModels/interface/Ig3DBaseModel.h"
#include "Iguana/GLModels/interface/Ig3DRep.h"
#include "Iguana/GLModels/interface/IgLegoRep.h"
#include "Iguana/GLModels/interface/IgRPhiRep.h"
#include "Iguana/GLModels/interface/IgRZRep.h"
#include <Inventor/nodes/SoSeparator.h>
#include <Inventor/nodes/SoDrawStyle.h>
#include <Inventor/nodes/SoMaterial.h>
#include <Inventor/nodes/SoLineSet.h>
#include <Inventor/nodes/SoPointSet.h>
#include <Inventor/nodes/SoVertexProperty.h>
#include <qstring.h>
#include <iostream>
#include <iomanip>
#include <stdexcept>

Go to the source code of this file.

Functions

VisQueuedTwigcreateThisTwig (IgState *state, IgTwig *parent, const std::string &name, const std::string &friendlyName, const std::string &modLabel, const std::string &instanceName, const std::string &processName)


Function Documentation

VisQueuedTwig* @18200::createThisTwig ( IgState state,
IgTwig parent,
const std::string &  name,
const std::string &  friendlyName,
const std::string &  modLabel,
const std::string &  instanceName,
const std::string &  processName 
) [static]

Definition at line 43 of file VisPSimHitTwig.cc.

References DBSPlugin::get(), and IgTwig::lookup().

00049     {
00050         IgTwig *rootTwig = IgDocumentData::get (state)->root ();
00051         IgTwig *eventTwig = 0;
00052         eventTwig = rootTwig->lookup ("/Objects/CMS Event and Detector/Simulated Data/Sim Hits");
00053         
00054         if (! eventTwig) 
00055             eventTwig = parent;
00056                 
00057         return new VisPSimHitTwig (state, eventTwig, "[N/A] PSimHit (" + name + ")", friendlyName, modLabel, instanceName, processName);
00058     }


Generated on Tue Jun 9 17:56:13 2009 for CMSSW by  doxygen 1.5.4