An-Ke Lei , Zhi-Lei She , Yu-Liang Yan , Dai-Mei Zhou , Liang Zheng , Wen-Chao Zhang , Hua Zheng , Larissa V. Bravina , Evgeny E. Zabrodin , Ben-Hao Sa
{"title":"A brief introduction to PACIAE 4.0","authors":"An-Ke Lei , Zhi-Lei She , Yu-Liang Yan , Dai-Mei Zhou , Liang Zheng , Wen-Chao Zhang , Hua Zheng , Larissa V. Bravina , Evgeny E. Zabrodin , Ben-Hao Sa","doi":"10.1016/j.cpc.2025.109520","DOIUrl":null,"url":null,"abstract":"<div><div>Parton And-hadron China Institute of Atomic Energy (PACIAE) is a multipurpose Monte Carlo event generator developed to describe a wide range of high-energy collisions, including lepton-lepton, lepton-hadron, lepton-nucleus, hadron-hadron, hadron-nucleus, and nucleus-nucleus collisions. It is built based on the PYTHIA program, and incorporates parton and hadron cascades to address the nuclear medium effects. PACIAE 4.0 is the new generation of PACIAE model surpassing the version 3.0. In PACIAE 4.0, the old fixed-format FORTRAN 77 code has been refactored and rewritten by the free-format modern Fortran and C++ languages. The C++-based PYTHIA 8.3 is interfaced in, while previous versions connected to the Fortran-based PYTHIA 6.4 only. Several improvements are also introduced, which enable PACIAE 4.0 to contain more physics and features to model the high-energy collisions. This is the first attempt to transition PACIAE from Fortran to C++.</div></div><div><h3>Program summary</h3><div><em>Program Title:</em> PACIAE 4.0</div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/w3g68dj4d9.5</span><svg><path></path></svg></span></div><div><em>Developer's repository link:</em> <span><span>https://github.com/ArcsaberHep/PACIAE4</span><svg><path></path></svg></span></div><div><em>Licensing provisions:</em> GPLv2 or later</div><div><em>Programming language:</em> Fortran, C++</div><div><em>Journal reference of previous version:</em> Computer Physics Communications 284 (2023) 108615</div><div><em>Does the new version supersede the previous version?:</em> Yes</div><div><em>Reasons for the new version:</em> Improved and expanded physics models, transition from FORTRAN 77 to the modern Fortran mixed with C++</div><div><em>Summary of revisions:</em> PYTHIA 8 interface, transition to modern Fortran mixed with C++, and much more.</div><div><em>Nature of problem:</em> The Monte Carlo (MC) simulation has been successfully applied to the study of the high-energy collisions. MC models are able to give a fairly good description of the basic experimental observables. However, as more and more experimental data become available, more accurate modeling is required.</div><div><em>Solution method:</em> The parton and hadron cascade model PACIAE 2 series [1-6] and 3.0 [7] are based on the Fortran-based PYTHIA 6.4 [8]. PYTHIA has been upgraded to the C++-based PYTHIA 8.3 [9] with more physics and features. Therefore we upgrade the PACIAE model to the new version of PACIAE 4.0 with the option to either PYTHIA 6.4 [8] or PYTHIA 8.3 [9]. In addition, several improvements have been introduced in this new version.</div><div><em>Additional comments including restrictions and unusual features:</em> Restrictions depend on the problem studied. The running time is 1–1000 events per minute, depending on the collisions system studied.</div></div><div><h3>References</h3><div><ul><li><span>[1]</span><span><div>B.-H. Sa, et al., Comput. Phys. Commun. 183 (2012) 333.</div></span></li><li><span>[2]</span><span><div>B.-H. Sa, et al., Comput. Phys. Commun. 184 (2013) 1476.</div></span></li><li><span>[3]</span><span><div>D.-M. Zhou, et al., Comput. Phys. Commun. 193 (2015) 89.</div></span></li><li><span>[4]</span><span><div>Y.-L. Yan, et al., Comput. Phys. Commun. 224 (2018) 417.</div></span></li><li><span>[5]</span><span><div>Z.-L. She, et al., Comput. Phys. Commun. 274 (2022) 108289.</div></span></li><li><span>[6]</span><span><div>Y.-L. Yan, et al., Comput. Phys. Commun. 284 (2023) 108615.</div></span></li><li><span>[7]</span><span><div>A.-K. Lei, et al., Phys. Rev. C 108 (2023) 064909.</div></span></li><li><span>[8]</span><span><div>T. Sjöstrand, et al., J. High Energy Phys. 05 (2006) 026.</div></span></li><li><span>[9]</span><span><div>C. Bierlich, et al., SciPost Phys. Codeb. 8 (2022).</div></span></li></ul></div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"310 ","pages":"Article 109520"},"PeriodicalIF":7.2000,"publicationDate":"2025-01-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010465525000232","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
Parton And-hadron China Institute of Atomic Energy (PACIAE) is a multipurpose Monte Carlo event generator developed to describe a wide range of high-energy collisions, including lepton-lepton, lepton-hadron, lepton-nucleus, hadron-hadron, hadron-nucleus, and nucleus-nucleus collisions. It is built based on the PYTHIA program, and incorporates parton and hadron cascades to address the nuclear medium effects. PACIAE 4.0 is the new generation of PACIAE model surpassing the version 3.0. In PACIAE 4.0, the old fixed-format FORTRAN 77 code has been refactored and rewritten by the free-format modern Fortran and C++ languages. The C++-based PYTHIA 8.3 is interfaced in, while previous versions connected to the Fortran-based PYTHIA 6.4 only. Several improvements are also introduced, which enable PACIAE 4.0 to contain more physics and features to model the high-energy collisions. This is the first attempt to transition PACIAE from Fortran to C++.
Program summary
Program Title: PACIAE 4.0
CPC Library link to program files:https://doi.org/10.17632/w3g68dj4d9.5
Does the new version supersede the previous version?: Yes
Reasons for the new version: Improved and expanded physics models, transition from FORTRAN 77 to the modern Fortran mixed with C++
Summary of revisions: PYTHIA 8 interface, transition to modern Fortran mixed with C++, and much more.
Nature of problem: The Monte Carlo (MC) simulation has been successfully applied to the study of the high-energy collisions. MC models are able to give a fairly good description of the basic experimental observables. However, as more and more experimental data become available, more accurate modeling is required.
Solution method: The parton and hadron cascade model PACIAE 2 series [1-6] and 3.0 [7] are based on the Fortran-based PYTHIA 6.4 [8]. PYTHIA has been upgraded to the C++-based PYTHIA 8.3 [9] with more physics and features. Therefore we upgrade the PACIAE model to the new version of PACIAE 4.0 with the option to either PYTHIA 6.4 [8] or PYTHIA 8.3 [9]. In addition, several improvements have been introduced in this new version.
Additional comments including restrictions and unusual features: Restrictions depend on the problem studied. The running time is 1–1000 events per minute, depending on the collisions system studied.
References
[1]
B.-H. Sa, et al., Comput. Phys. Commun. 183 (2012) 333.
[2]
B.-H. Sa, et al., Comput. Phys. Commun. 184 (2013) 1476.
[3]
D.-M. Zhou, et al., Comput. Phys. Commun. 193 (2015) 89.
[4]
Y.-L. Yan, et al., Comput. Phys. Commun. 224 (2018) 417.
[5]
Z.-L. She, et al., Comput. Phys. Commun. 274 (2022) 108289.
[6]
Y.-L. Yan, et al., Comput. Phys. Commun. 284 (2023) 108615.
[7]
A.-K. Lei, et al., Phys. Rev. C 108 (2023) 064909.
[8]
T. Sjöstrand, et al., J. High Energy Phys. 05 (2006) 026.
[9]
C. Bierlich, et al., SciPost Phys. Codeb. 8 (2022).
期刊介绍:
The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper.
Computer Programs in Physics (CPiP)
These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged.
Computational Physics Papers (CP)
These are research papers in, but are not limited to, the following themes across computational physics and related disciplines.
mathematical and numerical methods and algorithms;
computational models including those associated with the design, control and analysis of experiments; and
algebraic computation.
Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.