9#include <framework/particledb/EvtGenParticlePDG.h>
20 std::stringstream buf;
21 buf <<
"<Particle " << std::quoted(GetName());
22 buf <<
" mass=" << Mass() <<
" width=" << Width();
23 buf << std::setprecision(2) <<
" charge=" << (Charge() / 3.);
24 buf <<
" pdg=" << PdgCode() <<
">";
std::string __repr__() const
Return a string repesentation of this particle to be used when printing the particle in python.
Abstract base class for different kinds of events.