
USER GUIDE
Overview
Response function
GitHub
All files mentioned on this page can be found on GitHub at:
In order to run STRAM, you must first install ROOT. ROOT is a modular scientific software framework. It provides all the functionalities needed to deal with big data processing, statistical analysis, visualisation and storage. It is mainly written in C++ but integrated with other languages such as Python and R.
​
You can get root at https://root.cern.ch
Once ROOT is installed, the three things you need in order to get STRAM up and running is available from this page:
-
Radiation maps in .root format
-
Response function
-
Main program code
Links to all files and code necessary, are found below.
All you need to get STRAM up and running
Monte Carlo simulations of radiation converted to .root format
Monte Carlo Simulation
Main program code
STRAM reads .root files. Such files can be generated by first performing Monte Carlo simulations to obtain radiation mesh grids and, secondly, using mctal2root to convert the Monte Carlo simulations to .root format.
​
A selection of radiation data files in .root format are available at our GitHub page. The files contain radiation data from the front-end building of the European Spallation Source.
Write a main program, exploiting the object AbsorptionMap.
Generate response function for the irradiated subject
Result
Result of compilation and execution of GitHub files


Figure 1. Initial interface.
Figure 2. Interface during interaction.

Figure 3. Hypothetical illustration of a radiation map
Finally, a response function for the irradiated subject of interest is required.
​
A virtual response function is also available at our GitHub page. The virtual data is in the order of Silicon radiation response data.
The main program shall include the following:
​
-
Create a string vector containing paths to all files, with radiation mesh grids, desired.
-
Create an AbsorptionMap object.
-
Set a response function to the AbsorptionMap object.
-
Create a canvas to draw the AbsorptionMap object in.
-
Set all titles and labels as desired.
-
Draw AbsorptionMap.
​
Example main program code is also available at our GitHub page. The program reads the aforementioned radiation maps from the front-end building of the European Spallation Source, and the virtual response function, all provided on the GitHub page,
The result of compilation and execution of the GitHub files can be seen in Figure 1 and Figure 2 below. Figure 3 is a hypothetical view of the simulated radiation inside the front-end building of the European Spallation Source.
Link to all relevant files for making your first STRAM program.
