CMS 3D CMS Logo

VisGenParticleTwig.cc File Reference

#include "VisSimulation/VisSimData/interface/VisGenParticleTwig.h"
#include "VisSimulation/VisSimData/interface/xtypeinfo.h"
#include "Iguana/Framework/interface/IgBrowserMethods.h"
#include "Iguana/Models/interface/IgTextRep.h"
#include "Iguana/Models/interface/xtypeinfo.h"
#include <HepMC/GenParticle.h>
#include <sstream>

Go to the source code of this file.

Functions

 MMM_DEFUN_FUNC (void, IgBrowserMethods::, doUpdate,(VisGenParticleTwig *twig, IgTextRep *rep, unsigned))


Function Documentation

MMM_DEFUN_FUNC ( void  ,
IgBrowserMethods::  ,
doUpdate  ,
(VisGenParticleTwig *twig, IgTextRep *rep, unsigned)   
)

Definition at line 36 of file VisGenParticleTwig.cc.

References VisGenParticleTwig::id(), IgSimpleTwig::name(), and IgTextRep::setText().

00038 {
00039     // Prepare property description.
00040     std::ostringstream  text;
00041      
00042     text << "Particle " << twig->name () << " with PDGid " << twig->id () << "<br>";
00043     rep->setText (text.str ());
00044 }


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