Skip to main content
QUICK REVIEW

[Paper Review] PHOTOS Interface in C++; Technical and Physics Documentation

N. Davidson, T. Przedziński|arXiv (Cornell University)|Nov 3, 2010
Nuclear Physics and ApplicationsPhysics and Astronomy28 citations
TL;DR

This paper presents the migration of the PHOTOS Monte Carlo generator from FORTRAN to C++, with a new C++-native interface to HepMC event records, enabling improved maintainability, extensibility, and physics precision. The reimplementation retains full compatibility with HEPEVT and supports advanced features like process-dependent matrix elements and better control over event record structure, achieving systematic uncertainties below 0.3% in LHC $Z$ and $W$ decay analyses when matrix element corrections are enabled.

ABSTRACT

For five years now, PHOTOS Monte Carlo for bremsstrahlung in the decay of particles and resonances has been available with an interface to the C++ HepMC event record. The main purpose of the present paper is to document the technical aspects of the PHOTOS Monte Carlo installation and present version use. A multitude of test results and examples are distributed together with the program code. The PHOTOS C++ physics precision is better than its FORTRAN predecessor and more convenient steering options are also available. An algorithm for the event record interface necessary for process dependent photon emission kernel is implemented. It is used in Z and W decays for kernels of complete first order matrix elements of the decays. Additional emission of final state lepton pairs is also available. Physics assumptions used in the program and properties of the solution are reviewed. In particular, it is explained how the second order matrix elements were used in design and validation of the program iteration procedure. Also, it is explained that the phase space parametrization used in the program is exact.

Motivation & Objective

  • To modernize the PHOTOS Monte Carlo generator by rewriting its event record interface from FORTRAN to C++ for better maintainability and integration with modern HEP software.
  • To enable full support for HepMC event records in C++, replacing the legacy HEPEVT format, to align with current HEP software standards.
  • To enhance physics precision by providing direct access to spin and matrix element information for decay processes, especially in multi-photon and lepton pair emission.
  • To support high-precision studies of systematic errors in $W$ and $Z$ boson decays, including anomalous couplings and detector acceptance effects.
  • To ensure backward compatibility with HEPEVT while introducing extensible C++ classes for future physics extensions.

Proposed method

  • Rewrote the core PHOTOS algorithm in C++ using object-oriented design principles to improve code clarity and maintainability.
  • Designed a new interface layer to parse and manipulate HepMC event records, extracting mother-daughter decay chains and kinematic information.
  • Implemented a frame transformation system that rotates decays into the rest frame of the decaying particle, aligning the quantization axis with the mother's momentum for accurate matrix element calculations.
  • Integrated process-dependent first-order QED matrix elements into the internal algorithm, enabling exact treatment of final-state radiation.
  • Provided backward compatibility with HEPEVT via a C++ wrapper to the remaining FORTRAN core, ensuring continuity for existing workflows.
  • Enabled configuration options such as forced processing, logging, and custom analysis via user-defined methods like processParticle and processBranch.

Experimental results

Research questions

  • RQ1How can the PHOTOS Monte Carlo generator be modernized to support contemporary C++ event record standards like HepMC?
  • RQ2What modifications are required to maintain full physics precision while migrating from FORTRAN to C++?
  • RQ3How can the event record interface be extended to support process-dependent matrix elements and spin information for improved accuracy?
  • RQ4What performance and precision improvements can be achieved with the new C++-based architecture in high-energy physics applications?
  • RQ5How can the new interface support advanced physics studies such as systematic error estimation in $W$ and $Z$ boson decays?

Key findings

  • The C++-based PHOTOS v3.60 achieves full compatibility with HepMC event records, enabling seamless integration into modern HEP software stacks.
  • The migration enables full access to spin and matrix element information, allowing precise treatment of process-dependent QED corrections in multi-photon and lepton pair emissions.
  • The new interface supports advanced user configuration, including forced processing, logging, and custom analysis via processParticle and processBranch methods.
  • Systematic uncertainties in $Z$ and $W$ decay simulations are reduced to 0.3%, and down to 0.2% when matrix element corrections are activated, confirming high precision for LHC applications.
  • The HEPEVT interface is preserved via a C++ wrapper to the FORTRAN core, ensuring backward compatibility without sacrificing performance or functionality.
  • The new design enables extensibility for future physics extensions, including potential integration with weak corrections via interfaces like TAUOLA.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.