PHOTOS interface in C plus plus Technical and physics documentation

被引:192
|
作者
Davidson, N. [1 ]
Przedzinski, T. [2 ]
Was, Z. [3 ,4 ]
机构
[1] Royal Childrens Hosp, Murdoch Childrens Res Inst, Melbourne, Vic 3052, Australia
[2] Jagellonian Univ, Fac Phys Astron & Appl Comp Sci, PL-30348 Krakow, Poland
[3] Polish Acad Sci, Inst Nucl Phys, PL-31342 Krakow, Poland
[4] CERN, Dept Phys, Theory Grp, CH-1211 Geneva 23, Switzerland
关键词
PHOTOS; QED; Bremsstrahlung; FSR; QED RADIATIVE-CORRECTIONS; UNIVERSAL MONTE-CARLO; BHABHA SCATTERING; BREMSSTRAHLUNG; TAU; DECAYS; TOOL; NLO;
D O I
10.1016/j.cpc.2015.09.013
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
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 parameterization used in the program is exact. Program summary Program title: Photos++ Catalogue identifier: AEYF_v1_0 Program summary URL: http://cpc.cs.qub.ac.uk/summaries/AEYF_v1_0.html Program obtainable from: CPC Program Library, Queen's University, Belfast, N. Ireland Licensing provisions: Standard CPC licence, http://cpc.cs.qub.ac.uk/licence/licence.html No. of lines in distributed program, including test data, etc.: 53720 No. of bytes in distributed program, including test data, etc.: 1297747 Distribution format: tar.gz Programming language: C++. Computer: PC. Operating system: Linux, MacOS. RAM: Bytes. Libraries take less than 2 MB. Memory complexity is O(n) with around 2-4 MB for events with 10 k particles. Classification: 11.1, 11.2. Nature of problem: Algorithm described in this paper can be used to add final state radiation to the event generated by external software using selected event record format. It can also be used on a sample of events loaded from data file. User can define parts of the decay tree on which algorithm can be invoked. The influence of the next-to-leading-order corrections, along with other options regarding electron positron pair, muon pair and photon emission, can be studied. Solution method: The event record is traversed and a list of all decaying particles is created. Decays where program is not supposed to act and decays excluded by the user are removed from the list. The photon and pair adding algorithm is invoked separately on each remaining decay. If one or more particle is added to the decay, the kinematic of the whole decay tree is updated. Restrictions: Application of the algorithm strongly depends on the content on the event record. Insufficient precision or missing information may deteriorate quality of the results of the algorithm or prevent algorithm from working on the event or its parts. See Section 2 for more details. Running time: 10-30 s per 100k events for small events (less than 1k particles). The complexity strongly depends on the event content and user selection of excluded decays. The theoretical pessimistic complexity of the algorithm is O(n(2)). However, such cases are highly unrealistic. In our tests, the average complexity is around O(n(1.2)). (C) 2015 Elsevier B.V. All rights reserved.
引用
收藏
页码:86 / 101
页数:16
相关论文
共 50 条
  • [1] Universal interface of TAUOLA: Technical and physics documentation
    Davidson, N.
    Nanava, G.
    Przedzinski, T.
    Richter-Was, E.
    Was, Z.
    [J]. COMPUTER PHYSICS COMMUNICATIONS, 2012, 183 (03) : 821 - 843
  • [2] Examining Structural Correctness of Documentation Comments in C plus plus Programs
    Cseri, Tamas
    [J]. 2015 IEEE 13TH INTERNATIONAL SCIENTIFIC CONFERENCE ON INFORMATICS, 2015, : 73 - 78
  • [3] Flowgen: Flowchart-based documentation for C plus plus codes
    Kosower, David A.
    Lopez-Villarejo, J. J.
    [J]. COMPUTER PHYSICS COMMUNICATIONS, 2015, 196 : 497 - 505
  • [4] HepLib: A C plus plus library for high energy physics
    Feng, Feng
    Xie, Yi-Fan
    Zhou, Qiu-Chen
    Tang, Shan-Rong
    [J]. COMPUTER PHYSICS COMMUNICATIONS, 2021, 265
  • [5] When Not to Comment Questions and Tradeoffs with API Documentation for C plus plus Projects
    Head, Andrew
    Sadowski, Caitlin
    Murphy-Hill, Emerson
    Knight, Andrea
    [J]. PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2018, : 643 - 653
  • [6] Using C/C plus plus as a Common Software Interface for Test Systems
    Williams, Curtis F.
    [J]. 2008 IEEE AUTOTESTCON, VOLS 1 AND 2, 2008, : 501 - 502
  • [7] A C plus plus Generic Parallel Pattern Interface for Stream Processing
    del Rio Astorga, David
    Dolz, Manuel F.
    Miguel Sanchez, Luis
    Garcia Blas, Javier
    Daniel Garcia, J.
    [J]. ALGORITHMS AND ARCHITECTURES FOR PARALLEL PROCESSING, ICA3PP 2016, 2016, 10048 : 74 - 87
  • [8] Fast Physics on the Web Using C plus plus , Java']JavaScript, and Emscripten
    Zakai, Alon
    [J]. COMPUTING IN SCIENCE & ENGINEERING, 2018, 20 (01) : 11 - 19
  • [9] HepLib: A C plus plus library for high energy physics (version 1.1)
    Feng, Feng
    Tang, Shan-Rong
    Gao, Ya-Di
    [J]. COMPUTER PHYSICS COMMUNICATIONS, 2023, 285
  • [10] Herwig plus plus physics and manual
    Baehr, Manuel
    Gieseke, Stefan
    Gigg, Martyn A.
    Grellscheid, David
    Hamilton, Keith
    Latunde-Dada, Oluseyi
    Platzer, Simon
    Richardson, Peter
    Seymour, Michael H.
    Sherstnev, Alexander
    Webber, Bryan R.
    [J]. EUROPEAN PHYSICAL JOURNAL C, 2008, 58 (04): : 639 - 707