############################################################################################################ # This is an example of a source file needed to setup the variables for tcsh/csh to compile and run ESAF # # Edit the variables for your settings # ############################################################################################################ ############################################################################################################ # ESAF settings # # Neccessary variables. Uncomment and edit relevant for your case # ############################################################################################################ setenv ROOTSYS /cern/root_v5.17.08 setenv PATH $ROOTSYS/bin:${CERN}/${CERN_LEVEL}/bin:${PATH} setenv ESAFDIR /home/naumov/work/ShowersGenerators/esaf/trunk/esaf unsetenv LD_LIBRARY_PATH setenv LD_LIBRARY_PATH ${ESAFDIR}/lib/`uname -m`:${ROOTSYS}/lib ############################################################################################################ # Optional (not neccessary) # ############################################################################################################ ############### ## SLAST77 ## This is if you want to compile and use slast77. It requires cernlib ############### # setenv USE_SLAST77 1 if ( ${?USE_SLAST77} ) then setenv CERN /cern/ setenv CERN_LEVEL pro setenv PATH ${CERN}/${CERN_LEVEL}/bin:${PATH} endif ############### ## Geant4 ## If you want to use Geant4 to trace photons through the detector ############### if ( ${?G4INSTALL} ) then source ${G4INSTALL}/env.csh # EDIT THESE SETTINGS MANUALLY!!! setenv VGM_INSTALL /cern/vgm_trunk setenv VGM_SYSTEM Linux-g++ setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${VGM_INSTALL}/lib/${VGM_SYSTEM} endif echo "ESAF environment is set up"