This is the RAT-PAC II experiment repository for BUTTON (Boulby Underground Technical Testbed Observing Neutrinos). It is intended to be a complimentary package for RAT-PAC II so that simulations can be perfomed with the BUTTON detector system.
If interested in make your own experiment for RAT-PAC II click here.
SIMULATION SOFTWARE NEEDS TO BE INSTALLED SEPARETELY (SEE BELOW)
In order to perform BUTTON simulations in RAT-PAC II, the following software much be installed beforehand:
Which requires:
The most well-supported way of installing RAT-PAC II is via the ratpac-setup script which will install all the above software. It produces an environment script env.sh which sources both ratpac.sh and geant4.sh. This needs to be sourced prior to installing this experiment.
Simply clone this repository and compile to produce the rat database and source file that will be named button.sh.
git clone git@github.com:LSexton2396/BUTTON-RAT2.git
cd BUTTON-RAT2/
make
Before running a simulation ensure that both ratpac.sh and geant4.sh (or env.sh) are sourced before sourcing the experiment button.sh.
To use the BUTTON rat database, use the command button instead of rat when running your macros.
A good test to see if everything is working is to run vis_qt_button.mac which will visualise BUTTON. It is found in the macros folder.
button macros/vis_qt_button.mac --vis
