FairSHiP is the simulation & reconstruction framework based on FairROOT&ROOT.
For creating a SHiP user account at CERN, follow this link.
Git site with installation details: https://github.com/ShipSoft/FairShip
Short description of FairShip
The basic parameters are in
geometry/geometry_config.py and have to be imported using:
import ShipGeoConfig
ship_geo =
ShipGeoConfig.Config().loadpy("$FAIRSHIP/geometry/geometry_config.py")
import shipunit as u
dir(ship_geo), dir(ship_geo.TrackStation), print
ship_geo.Bfield.max / u.kilogauss, ship_geo.Bfield.z /u.m
should give an idea about the content.
One can easily extend
geometry/geometry_config.py with more
information. For exampe, adding
Bfield.sigma = something
now integrated in the FairShip build procedure, standalone compilation explained here
configurable run_simScript:
python ../FairShip/macro/run_simScript.py --help
enter --Pythia8/6 to generate events with Pythia8/6 or --Genie for reading and
processing neutrino interactions
python ../FairShip/macro/run_simScript.py --Genie -n 10000
FairShip setup for Genie to produce 10000 events
python ../FairShip/macro/run_simScript.py --Pythia8 -n 100 --display # save special tracks for event display
python ../FairShip/macro/ShipReco.py -f name-of-input-file # obtained from printout of simulation step
python ../FairShip/macro/ShipAna.py -f name-of-input-file # as above,
but with xxx_rec.root