1 |
formato |
1.1 |
###################### IMPORTANT ###################### |
2 |
|
|
export SOFT_HOME= #PATH TO YOUR "cern" DIRECTORY |
3 |
|
|
###################### IMPORTANT ###################### |
4 |
|
|
|
5 |
|
|
export PATH=$SOFT_HOME/bin:$PATH |
6 |
|
|
export LD_LIBRARY_PATH=$SOFT_HOME/lib:$LD_LIBRARY_PATH |
7 |
|
|
export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:$LD_LIBRARY_PATH |
8 |
|
|
|
9 |
|
|
#G4 |
10 |
|
|
source $SOFT_HOME/G4/bin/geant4.sh |
11 |
|
|
export G4UI_USE_TCSH=1 |
12 |
|
|
export G4INCLUDE=$SOFT_HOME/G4/include/Geant4 |
13 |
|
|
export G4LIB=$SOFT_HOME/G4/lib |
14 |
|
|
PATH=${PATH}:${G4WORKDIR}/bin/${G4SYSTEM} |
15 |
|
|
export PATH |
16 |
|
|
export PATH=${CLHEP_BASE_DIR}/bin:${CLHEP_BASE_DIR}/lib:${PATH} |
17 |
|
|
export LD_LIBRARY_PATH=${CLHEP_BASE_DIR}:${CLHEP_BASE_DIR}/lib:${LD_LIBRARY_PATH} |
18 |
|
|
|
19 |
|
|
|
20 |
|
|
#CERNLIB |
21 |
|
|
#source /opt/exp_soft/pamela/vmc/cernlib_32/cern_env.sh pro |
22 |
|
|
|
23 |
|
|
|
24 |
|
|
###################### IMPORTANT ###################### |
25 |
|
|
#ROOT + PAMELA 9th reduction |
26 |
|
|
source $SOFT_HOME/set_pam_env_9.sh #path to your installation of PAMELA software |
27 |
|
|
#usually the VMC has a dedicated installation |
28 |
|
|
#even if it is not mandatory... |
29 |
|
|
#you can try to replace this with your installation |
30 |
|
|
#if it doesn't work, compile a dedicated installation |
31 |
|
|
#just for the VMC... |
32 |
|
|
###################### IMPORTANT ###################### |
33 |
|
|
#PYTHIA6=${ROOTSYS}/lib |
34 |
|
|
#export PYTHIA6 |
35 |
|
|
|
36 |
|
|
#PA and PamCut |
37 |
|
|
# to su Pa. |
38 |
|
|
export PAM_PA_USE=no # put no to not use it |
39 |
|
|
export PAM_PA_INC=$SOFT_HOME/PA/ |
40 |
|
|
export PAM_PA_LIB=$SOFT_HOME/PA/ |
41 |
|
|
|
42 |
|
|
export PAM_CUT=$SOFT_HOME/PamCut |
43 |
|
|
export LD_LIBRARY_PATH=${PAM_CUT}:$LD_LIBRARY_PATH |
44 |
|
|
|
45 |
|
|
if [ $PAM_PA_USE = yes ]; then |
46 |
|
|
LD_LIBRARY_PATH=${PAM_PA_LIB}:$LD_LIBRARY_PATH |
47 |
|
|
fi |
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
# PAMCUTS |
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
if [ $PAM_PA_USE = yes ]; then |
56 |
|
|
LD_LIBRARY_PATH=${PAM_PA_LIB}:$LD_LIBRARY_PATH |
57 |
|
|
fi |
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
#VMC+VGM |
62 |
|
|
export VGM_INSTALL=${SOFT_HOME}/VGM |
63 |
|
|
export USE_VGM=1 |
64 |
|
|
export VGM_SYSTEM=Linux-g++ |
65 |
|
|
export LD_LIBRARY_PATH=${SOFT_HOME}/VGM/lib/:${LD_LIBRARY_PATH} |
66 |
|
|
|
67 |
|
|
export G4VMC_DIR=${SOFT_HOME}/geant4_vmc |
68 |
|
|
export LD_LIBRARY_PATH=${SOFT_HOME}/G4/lib/:${LD_LIBRARY_PATH} |
69 |
|
|
export LD_LIBRARY_PATH=${SOFT_HOME}/geant4_vmc/lib/tgt_linux/:/usr/X11R6/lib:${LD_LIBRARY_PATH} |
70 |
|
|
export PLATFORM=linux |
71 |
|
|
|
72 |
|
|
#PAMVMC |
73 |
|
|
export PAM_VMC=${SOTF_HOME}/../SIM_VMC/PamVMC |
74 |
|
|
export PATH=${PATH}:${PAM_VMC}/bin |
75 |
|
|
export LD_LIBRARY_PATH=${PAM_VMC}/lib/tgt_linux/:${LD_LIBRARY_PATH} |
76 |
|
|
|
77 |
|
|
|
78 |
|
|
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH |
79 |
|
|
#source /afs/infn.it/ts/project/lcg/external/gcc/gccsel.sh 4.7.0 #on TS farm uncomment this line, it is preferrable to use GCC 4.7 (4.6 would probably work as well) |