Basit öğe kaydını göster

dc.contributor.authorKandemir, Mustafa
dc.date.accessioned2024-05-06T08:41:21Z
dc.date.available2024-05-06T08:41:21Z
dc.date.issued2024en_US
dc.identifier.citationKandemir M. (2024). A custom detector construction pattern for Geant4 applications. Computer Physics Communications, 300, 109183. https://doi.org/10.1016/j.cpc.2024.109183en_US
dc.identifier.issn0010-4655
dc.identifier.urihttps://doi.org/10.1016/j.cpc.2024.109183
dc.identifier.urihttps://hdl.handle.net/11436/8968
dc.description.abstractGeant4 Detector Construction Pattern (G4DCP) is a template developed to flexibly construct complex detectors in Geant4 applications. The elements of G4DCP, including G4VUserDetectorConstruction, form an elegant template for detector setups. We construct a sample detector geometry utilizing this template and make the developed code available to the public. Program summary: Program title: G4DCP CPC Library link to program files: https://doi.org/10.17632/s77f2khsrb.1 Developer's repository link: https://github.com/mkandemirr/G4DCP.git Licensing provisions: GNU General Public License 3 Programming language: C++ External routines/libraries: Geant4, CMake Nature of problem: Geant4 provides an abstract class, G4VUserDetectorConstruction, for the whole detector construction. Although this makes sense from the run manager's (G4RunManager) standpoint, implementing a single class to create a sophisticated detector results in complicated code and is not a good practice for keeping the code clean and tidy. Therefore, many Geant4 educators recommend splitting the implementation into additional methods or classes. However, no standard solution has been published, and it is left entirely to the users' skills. Solution method: To solve this problem, we propose to use two more abstract class templates in addition to the G4VUserDetectorConstruction class during the detector construction stage. As these two classes have functional similarities to G4VUserDetectorConstruction, they do not cause any complexity for users. On the contrary, they assist users in producing cleaner and reusable code (or modular code).en_US
dc.language.isoengen_US
dc.publisherElsevieren_US
dc.rightsinfo:eu-repo/semantics/closedAccessen_US
dc.subjectDesign patternen_US
dc.subjectDetector componentsen_US
dc.subjectGeometry constructionen_US
dc.subjectModular codingen_US
dc.titleA custom detector construction pattern for Geant4 applicationsen_US
dc.typearticleen_US
dc.contributor.departmentRTEÜ, Fen - Edebiyat Fakültesi, Fizik Bölümüen_US
dc.contributor.institutionauthorKandemir, Mustafa
dc.identifier.doi10.1016/j.cpc.2024.109183en_US
dc.identifier.volume300en_US
dc.identifier.startpage109183en_US
dc.relation.journalComputer Physics Communicationsen_US
dc.relation.publicationcategoryMakale - Uluslararası Hakemli Dergi - Kurum Öğretim Elemanıen_US


Bu öğenin dosyaları:

Bu öğe aşağıdaki koleksiyon(lar)da görünmektedir.

Basit öğe kaydını göster