This project is meant to perform LiquidO simulations for the detection of SN axions. It consists of a simulation tookit based on Geant4 simulations under REST-for-Physics framework.
This project requires REST-for-Physics and Geant4 installation in your system, for more info about installing the software please check https://rest-for-physics.github.io/
Checkout the repository:
cd $HOME
git clone [email protected]:juanangp/losimulations.git
cd losimulations
The structure of the different folders is as follow:
- RML file
liquidO.rmlcontains general configuration files for the different templates. - Folder
geometrycontains geometry information of the different templates. - Folder
macroscontains different macros to display the simulation results. - The script
liquidO.shis used to run the simulation, they contain local variables to perform different simulations. In order to change the different simulation parameters, just edit the script. The different simulation parameters are described below:- CHAMBER_MATERIAL: Material which the LiquidO mixture is made of e.g. LiquidScintillator-HC+10%Pb, LiquidScintillator-HC+10%Pb+0.1%B,... Please check ´geometry/materials.xml´ for the different material definitions.
- CHAMBER_SIZE: Size of the chamber in mm.
- COVER_SIZE: Size of the copper vessel covering the chamber in mm.
- GENERATOR: Different generators are predefined in the rml file:
- CosmicNeutrons corresponds to cosmogenical induced neutrons from a wall on top of the chamber.
- SolarAxions5MeV corresponds to solar axions from the D(p,gamma)3He, the expected signature corresponds to gamma rays of 5.5 MeV.
- SNAxionsANN corresponds to SN axions from the axion-Bremsstrahlung the expected signature corresponds to high energy gamma rays from 10-150 MeV.
- SNAxionsAPI corresponds to SN axions from the interacting and not interacting pions the expected signature corresponds to high energy gamma rays from 150-350 MeV. For more details on SN axion emission check https://arxiv.org/pdf/2108.13726.pdf.
- NEVENTS: Number of events to be launched.
To launch the simulation, go to the corresponding folder sample or germanium and run respectively:
bash liquidO.sh
A root file will be generated, then to analyze the simulation output file run:
restRootMacros
root [0] .x macros/analyze.C("Run0XXXX_restG4_YYYY.root")
It will display the simulation results.
Go to the corresponding folder sample or germanium, then using restRoot:
restRootMacros
root [0] REST_Geant4_ViewGeometry("Run0XXXX_restG4_YYYY.root")
To display events in the geometry use restRootMacros:
restRootMacros
root [0] REST_Geant4_ViewEvent("Run0XXXX_restG4_YYYY.root")