CMS 3D CMS Logo

VisMuonTwig.cc File Reference

#include "VisReco/VisMuon/interface/VisMuonTwig.h"
#include "VisFramework/VisFrameworkBase/interface/VisTwigFactroyService.h"
#include "VisFramework/VisFrameworkBase/interface/VisEventSelector.h"
#include "VisFramework/VisEventSetup/interface/VisEventSetupService.h"
#include "VisReco/VisMuon/interface/VisMuonEnergyTwig.h"
#include "VisReco/VisMuon/interface/VisRefitTrackTwig.h"
#include "DataFormats/MuonReco/interface/Muon.h"
#include "DataFormats/MuonReco/interface/MuonFwd.h"
#include "DataFormats/MuonReco/interface/MuonChamberMatch.h"
#include "DataFormats/MuonReco/interface/MuonSelectors.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.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 "Iguana/Framework/interface/IgRepSet.h"
#include "Iguana/Inventor/interface/IgSbColorMap.h"
#include "Iguana/Inventor/interface/IgSoIdealTrack.h"
#include "Iguana/Inventor/interface/IgParticleChar.h"
#include "Iguana/Studio/interface/IgDocumentData.h"
#include "Iguana/Studio/interface/IgQtLock.h"
#include <Inventor/engines/SoTimeCounter.h>
#include <Inventor/engines/SoEngine.h>
#include <Inventor/nodes/SoMaterial.h>
#include <Inventor/nodes/SoSeparator.h>
#include <Inventor/nodes/SoText2.h>
#include <Inventor/nodes/SoTranslation.h>
#include <qstring.h>
#include <sstream>
#include <iomanip>
#include <classlib/utils/Error.h>

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* @17964::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 50 of file VisMuonTwig.cc.

References DBSPlugin::get(), IgRepSet::invalidate(), IgTwig::lookup(), IgTwig::parent(), and IgTwig::STRUCTURE_MASK.

00056     {
00057         IgTwig *rootTwig = IgDocumentData::get (state)->root ();
00058         IgTwig *eventTwig = 0;
00059         eventTwig = rootTwig->lookup ("/Objects/CMS Event and Detector/Muon Event/Muons");
00060         
00061         if (! eventTwig)
00062             eventTwig = parent;
00063         else
00064         {
00065             IgRepSet::invalidate (eventTwig->parent (), IgTwig::STRUCTURE_MASK);
00066         }
00067         return new VisMuonTwig (state, eventTwig, "[N/A] Muon (" + name + ")", 
00068                                 friendlyName, modLabel, instanceName, processName);
00069     }


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