KM2A is one of the main sub-arrays of LHAASO,working on gamma ray astronomy and cosmic ray physics at energies above 10 TeV.Detector simulation is the important foundation for estimating detector performance and data analysis.It is a big challenge to simulate the KM2A detector in the framework of Geant4 due to the need to track numerous photons from a large number of detector units(>6000)with large altitude difference(30)and huge coverage(1.3).In this paper,the design of the KM2A simulation code G4KM2A based on Geant4 is introduced.The process of G4KM2A is optimized mainly in memory consumption to avoid memory overflow.Some simplifications are used to significantly speed up the execution of G4KM2A.The running time is reduced by at least 30 times compared to full detector simulation.The particle distributions and the core/angle resolution comparison between simulation and experimental data of the full KM2A array are also presented,which show good agreement.
To further research on high-parameter plasma,we plan to develop a two-dimensional hard X-ray(HXR)imaging system at the HL-3 tokamak to measure HXRs with energies ranging from 20 to 300 keV.The application of an array-structured detector ensures that this system can measure HXR-radiation spectra from the entire plasma cross section.Therefore,it is suitable for the study of fast-electron physics,such as radio-frequency wave current drives,fast electrons driving instabilities,and plasma disruptions in fusion research.In this study,we develop a simulation for calculating fast-electron bremsstrahlung in the HL-3 tokamak based on the Monte Carlo simulation code Geant4,in which the plasma geometry and forward scattering of fast-electron bremsstrahlung are considered.The preliminary calculation results indicate that the HXR energy deposi-tion on the detector is symmetrically distributed,even though the plasma distribution is asymmetric owing to the toroidal effect.These simulation results are helpful in constructing the relationship between the energy deposition on the detector and parameter distribution on the plasma cross section during HL-3 experiments.This is beneficial for the reconstruction of the fast-electron-distribution function and for optimizing the design of the HXR-imaging system.
Shi-Kui ChengYi-Po ZhangYue-Jiang ShiJie ZhangShuai GuanHong-Bing XuQiu-Lei Yang