#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)) |
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 }