#!/bin/tcsh -f if ( $?BMS_OSNAME ) then setenv G4 /group/halld/Software/ExternalPackages/GEANT4/geant4.10.02.p02fixed.${BMS_OSNAME} # setenv G4 /group/halld/Software/ExternalPackages/GEANT4/geant4.10.01.p01.${BMS_OSNAME} # setenv G4 /group/halld/Software/ExternalPackages/GEANT4/junk.${BMS_OSNAME} if ( -d $G4 ) then if ( $?loginsh ) echo "GEANT4: $G4" set geant4=$G4/bin/geant4.csh set geant4make=$G4/share/Geant4-*/geant4make/geant4make.csh if ( -x $geant4 ) source $geant4 `dirname $geant4` if ( -x $geant4make ) source $geant4make `dirname $geant4make` else if ( $?loginsh ) echo "Warning: geant4 doesn't exist for this platform" endif endif