摘要: The JUNO (Jiangmen Underground Neutrino Observatory) is a multipurpose
neutrino experiment which is designed to determine neutrino mass hierarchy and precisely
measure oscillation parameters. As one of the important systems, the JUNO o ine software is
being developed using the SNiPER software. In this proceeding, we focus on the requirements
of JUNO simulation and present the working solution based on the SNiPER.
The JUNO simulation framework is in charge of managing event data, detector geometries
and materials, physics processes, simulation truth information etc. It glues physics generator,
detector simulation and electronics simulation modules together to achieve a full simulation
chain. In the implementation of the framework, many attractive characteristics of the SNiPER
have been used, such as dynamic loading,
exible
ow control, multiple event management and
Python binding. Furthermore, additional e orts have been made to make both detector and
electronics simulation
exible enough to accommodate and optimize di erent detector designs.
For the Geant4-based detector simulation, each sub-detector component is implemented as
a SNiPER tool which is a dynamically loadable and con gurable plugin. So it is possible to
select the detector con guration at runtime. The framework provides the event loop to drive the
detector simulation and interacts with the Geant4 which is implemented as a passive service. All
levels of user actions are wrapped into di erent customizable tools, so that user functions can
be easily extended by just adding new tools. The electronics simulation has been implemented
by following an event driven scheme. The SNiPER task component is used to simulate data
processing steps in the electronics modules. The electronics and trigger are synchronized by
triggered events containing possible physics signals.
The JUNO simulation software has been released and is being used by the JUNO
collaboration to do detector design optimization, event reconstruction algorithm development
and physics sensitivity studies.