...
source /project/ptgroup/spinquest/this-e1039.sh |
---|
The components in the directory follow the standard SpinQuest package hierarchy; namely "e1039-resource", "e1039-share" and "e1039-core".
User-Level Files: e1039-analysis
The GitHub repository, "E1039-Collaboration/e1039-analysis", contains a set of user-level programs for analysis. It can be cloned and used at Rivanna as well as SpinQuest GPVM, although some setup scripts have to be modified for the Rivanna environment.
https://github.com/E1039-Collaboration/e1039-analysis
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.
...
Your modified source code of e1039-core
is assumed be be placed at ~/e1039/
...
e1039-core
.
Code Block | ||
---|---|---|
| ||
cd ~/e1039 rm -rf core-build core-inst E1039_CORE_DIR=~/e1039/core-inst mkdir -p $E1039_CORE_DIR cp -p e1039-core/script/this-core-org.sh |
...
$E1039_CORE_DIR/this-core.sh |
...
source $E1039_ROOT/this-e1039.sh |
...
./e1039-core/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 following commands;b
Code Block | ||
---|---|---|
| ||
E1039_CORE_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 |
User-Level Files
It is probably easier for you to make a setup script (like "setup.sh") to execute the commands.
Customized MC Event Generation at Rivanna
Customized 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 modidied version of "e1039-analysis" complied under "/project/ptgroup/spinquest/e1039-analysis/module".
...