This page is to overview the SpinQuest software installed on Rivanna. Details and specific usages of each component are described in its README.md or web page.
System-Level Files
All system-level files are located under "/project/ptgroup/spinquest". You can activate them on text terminal by sourcing "this-e1039.sh";
source /project/ptgroup/spinquest/this-e1039.sh |
---|
The components follow the standard SpinQuest package hierarchy; namely "e1039-resource", "e1039-share" and "e1039-core".
Development of e1039-core
You are recommended to use "spinquestgpvm01.fnal.gov" to develop "e1039-core" since the E1039 environment at Rivanna has been set up for normal use (=analysis) at present. But you can make your own version of e1039-core at Rivanna, by executing the following commands.
DIR_INST=~/e1039/core-inst mkdir -p $DIR_INST cd ~/e1039 git clone https://github.com/E1039-Collaboration/e1039-core.git cd e1039-core cp -p script/this-core-org.sh $DIR_INST/this-core.sh source /project/ptgroup/spinquest/this-e1039.sh export ROOT_INCLUDE_PATH=$ROOT_INCLUDE_PATH_E1039_SHARE source $DIR_INST/this-core.sh ./build.sh
Once the commands go fine, you can modify the source code and build it again by "./build.sh -r simulation/g4detectors" for example, where "simulation/g4detectors" should be the first package that you modified.
When you
- Build the source code in new shell (=text terminal), or
- Execute analysis macro (such as "e1039-analysis/SimChainDev"),
you have to execute the "source" and "export" commands;
source /project/ptgroup/spinquest/this-e1039.sh export ROOT_INCLUDE_PATH=$ROOT_INCLUDE_PATH_E1039_SHARE source ~/e1039/core-inst/this-core.sh
It is probably easier for you to make a setup script (like "setup.sh") to execute the commands.
User-Level Files
User-level files for the SpinQuest MC event generation are located under "/project/ptgroup/Akbar", such as "DY_Target_script".
The standard set of SpinQuest analysis packages are available in "e1039-analysis. The user-level files uses a mofidied version of "e1039-analysis" complied under "/project/ptgroup/spinquest/e1039-analysis/module".
Development Version
A newer version of the SpinQuest software has been set up on Rivanna. It is to make use of version 10.07 of Geant4. "e1039-share" and "e1039-core" has been modified to be built successfully. Details of the modifications and the installation procedure can be found in the scripts under "/project/ptgroup/spinquest/devel/script".
You can activate this version on text terminal by sourcing "this-e1039.sh";
source /project/ptgroup/spinquest/devel/this-e1039.sh |
---|
The analysis modules for the MC event generation (i.e. "AnaTrkQA" and "AnaTrkQAv2") have been complied and are available under "devel/".