This is a very basic implementation of a software framework for the Ship which is based on FairRoot To use this software you need:
-
Install FairSoft (see https://github.com/FairRootGroup/FairSoft/tree/dev )
-
Install FairRoot (http://fairroot.gsi.de/?q=node/82)
-
get the Ship software:
git clone https://github.com/MohammadAlTurany/Ship.git
Set a variable SIMPATH to the directory where the FairSoft was installed
Set a variable FAIRROOTPATH to the directory where the FairRoot was installed
create build directory
cd build
build> cmake ../ship
build>make
call you favourite config (config.sh or config.csh) depending on what shell you use
build>. ./config.sh
Now you can go to ship/macro directory and run macro (i.e: "root run_sim.C ")
cd ship/macro
macro> root run_sim.C
After that you can also see what is done by running the eventdisplay.C macro (i.e: "root event display.C ")
macro>root event display.C