OPSimTool: A custom tool for optical photon simulation in Geant4


Computer Physics Communications, vol.292, 2023 (SCI-Expanded) identifier

  • Publication Type: Article / Article
  • Volume: 292
  • Publication Date: 2023
  • Doi Number: 10.1016/j.cpc.2023.108873
  • Journal Name: Computer Physics Communications
  • Journal Indexes: Science Citation Index Expanded (SCI-EXPANDED), Scopus, Academic Search Premier, Aerospace Database, Applied Science & Technology Source, Chemical Abstracts Core, Communication Abstracts, Compendex, Computer & Applied Sciences, INSPEC, Metadex, zbMATH, Civil Engineering Abstracts
  • Keywords: Eljen scintillators, Light collection, Material optical properties, Scintillation photon, Scintillators
  • Recep Tayyip Erdoğan University Affiliated: Yes


This paper introduces OPSimTool, a set of additions to the Geant4 toolkit that simplify the development of optical photon applications and enhance the flexibility and maintainability of developed applications. The tool also provides interfaces for creating reusable and portable material build code. This tool has been developed according to users' needs and perspectives, considering frequently asked questions, most encountered challenges, and evolving needs over time in the optical category of the Geant4 official forum page. Program summary: Program title: OPSimTool CPC Library link to program files: https://doi.org/10.17632/6jtbxdnpm4.1 Developer's repository link: https://github.com/mkandemirr/OpSim Licensing provisions: GNU General Public License 3 Programming language: C++ External routines/libraries: Geant4, CMake Nature of problem: Although the toolkit provided by Geant4 is sufficient to perform optical photon simulations, providing additional tools will be highly beneficial for developing more flexible and sustainable applications. Solution method: We have developed a set of C++ classes in the spirit of Geant4 users and made them available to the public.