evtgen is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Ticket #1: output.patch

File output.patch, 752 bytes (added by guest, 6 years ago)

Patch to add extra output to the particle property update

  • src/EvtGenExternal/EvtPythiaEngine.cpp

    diff --git a/src/EvtGenExternal/EvtPythiaEngine.cpp b/src/EvtGenExternal/EvtPythiaEngine.cpp
    index 6bdb7e9..e31d971 100644
    a b void EvtPythiaEngine::updateParticleLists() { 
    449449
    450450    if (entry_generic != 0) {
    451451
     452      EvtGenReport(EVTGEN_INFO,"EvtGen") << EvtPDL::name(particleId) << ": Updating Pythia particle "
     453        << entry_generic->name() << "(" << entry_generic->id() << "):"
     454        << " pdg code = " << PDGCode
     455        << " old mass = " << entry_generic->m0()
     456        << " new mass = " << mass
     457        << std::endl;
    452458      entry_generic->setM0(mass);
    453459      entry_generic->setMWidth(width);
    454460      entry_generic->setTau0(lifetime);