forked from alcap-org/g4sim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.sh
36 lines (30 loc) · 1.27 KB
/
env.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
export MYG4SIMROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export G4SIMEXEC=$MYG4SIMROOT/bin/g4sim
if ! echo $LD_LIBRARY_PATH | grep -q "$MYG4SIMROOT"; then
export LD_LIBRARY_PATH=$MYG4SIMROOT/lib:$LD_LIBRARY_PATH
fi
if ! echo $PATH | grep -q "$MYG4SIMROOT"; then
export PATH=$MYG4SIMROOT/bin:$PATH
fi
source geant4-install/bin/geant4.sh
source geant4-install/share/Geant4-*/geant4make/geant4make.sh
source ../AlcapDAQ/root-install/bin/thisroot.sh
export ALCAPWORKROOT=$MYG4SIMROOT/alcap
export PHYSICSLIST=QGSP_BERT # QGSP_BERT;QGSP_BERT_HP;QGSP_BERT_noRadi;QGSP_BERT_HP_noRadi
#for configuration cards
export MATERIALLISTROOT=material_list
export MAGFIELDCARDROOT=mag/MagField_none
export OUTCARDROOT=output/output_default
export GEOCARDROOT=geometry_R2013/archive/geometry_1217
export GENFILEROOT=gen/gen_default
#for directories
export MACROSROOT=$ALCAPWORKROOT/macros
export MACROSCOMMONROOT=$MACROSROOT/common
export CONFIGUREROOT=$ALCAPWORKROOT/configure/
export ALCAPDATAROOT="$ALCAPWORKROOT/data/"
export CONFIGUREDATAROOT=$ALCAPDATAROOT
export ALCAPFIELDMAPSROOT="$ALCAPWORKROOT/fieldMaps/"
export FIELDMAPSROOT=$ALCAPFIELDMAPSROOT
export OFILENAMEROOT=$ALCAPWORKROOT/output/raw_g4sim.root
export RUNNAMEROOT=TEST
export LOGFILEROOT=$ALCAPWORKROOT/runlog/logfile