Import Geant4 9.3.0 source tree
This commit is contained in:
+28
-20
@@ -30,7 +30,6 @@ unsetenv CLHEP_INCLUDE_DIR
|
||||
unsetenv CLHEP_LIB
|
||||
unsetenv CLHEP_LIB_DIR
|
||||
|
||||
unsetenv G4ANALYSIS_USE
|
||||
unsetenv G4DEBUG
|
||||
unsetenv G4INCLUDE
|
||||
unsetenv G4INSTALL
|
||||
@@ -40,6 +39,7 @@ unsetenv G4LEVELGAMMADATA
|
||||
unsetenv G4NEUTRONHPDATA
|
||||
unsetenv G4RADIOACTIVEDATA
|
||||
unsetenv G4ABLADATA
|
||||
unsetenv G4REALSURFACEDATA
|
||||
|
||||
unsetenv G4LIB
|
||||
unsetenv G4LIB_BUILD_G3TOG4
|
||||
@@ -53,6 +53,7 @@ unsetenv G4LIB_USE_ZLIB
|
||||
|
||||
unsetenv G4SYSTEM
|
||||
|
||||
unsetenv G4UI_NONE
|
||||
unsetenv G4UI_BUILD_WIN32_SESSION
|
||||
unsetenv G4UI_BUILD_XAW_SESSION
|
||||
unsetenv G4UI_BUILD_XM_SESSION
|
||||
@@ -62,6 +63,7 @@ unsetenv G4UI_USE_XAW
|
||||
unsetenv G4UI_USE_XM
|
||||
unsetenv G4UI_USE_QT
|
||||
|
||||
unsetenv G4VIS_NONE
|
||||
unsetenv G4VIS_BUILD_DAWN_DRIVER
|
||||
unsetenv G4VIS_BUILD_OIWIN32_DRIVER
|
||||
unsetenv G4VIS_BUILD_OIX_DRIVER
|
||||
@@ -155,12 +157,12 @@ setenv G4ABLADATA "$g4abladata"
|
||||
echo "On this machine the G4ABLADATA=\$G4ABLADATA"
|
||||
endif
|
||||
|
||||
|
||||
#+
|
||||
#if ( X$g4elasticdata != X ) then
|
||||
#setenv G4ELASTICDATA "$g4elasticdata"
|
||||
#echo "On this machine the G4ELASTICDATA=\$G4ELASTICDATA"
|
||||
#endif
|
||||
if ( X$g4realsurfacedata != X ) then
|
||||
setenv G4REALSURFACEDATA "$g4realsurfacedata"
|
||||
echo "On this machine the G4REALSURFACEDATA=\$G4REALSURFACEDATA"
|
||||
endif
|
||||
|
||||
|
||||
#
|
||||
# g4clhep.U
|
||||
@@ -197,18 +199,24 @@ setenv G4DEBUG 1
|
||||
echo "On this machine the G4DEBUG=\$G4DEBUG"
|
||||
endif
|
||||
|
||||
#
|
||||
# g4analysis
|
||||
#
|
||||
#+
|
||||
if ( X$g4wanalysis_use == Xy ) then
|
||||
setenv G4ANALYSIS_USE 1
|
||||
echo "On this machine the G4ANALYSIS_USE=\$G4ANALYSIS_USE"
|
||||
endif
|
||||
|
||||
#
|
||||
# g4ui
|
||||
#
|
||||
#+
|
||||
if ( X$g4ui_none == Xy ) then
|
||||
setenv G4UI_NONE 1
|
||||
echo "On this machine G4UI_NONE is set, so no user interfaces are available"
|
||||
endif
|
||||
|
||||
# Check for Windows!
|
||||
if ( "X\$G4SYSTEM" != "XWIN32-VC" && "X\$G4SYSTEM" != "XWIN32-VC7" ) then
|
||||
if ( X$g4ui_none != Xy ) then
|
||||
setenv G4UI_USE_TCSH 1
|
||||
echo "On this machine the G4UI_USE_TCSH=\$G4UI_USE_TCSH"
|
||||
endif
|
||||
endif
|
||||
|
||||
#+
|
||||
if ( X$g4ui_build_xaw_session == Xy ) then
|
||||
setenv G4UI_BUILD_XAW_SESSION 1
|
||||
@@ -262,6 +270,12 @@ endif
|
||||
#
|
||||
# g4vis
|
||||
#
|
||||
#+
|
||||
if ( X$g4vis_none == Xy ) then
|
||||
setenv G4VIS_NONE 1
|
||||
echo "On this machine G4VIS_NONE is set, so no vis drivers are available"
|
||||
endif
|
||||
|
||||
#+
|
||||
if ( X$g4vis_build_dawn_driver == Xy ) then
|
||||
setenv G4VIS_BUILD_DAWN_DRIVER 1
|
||||
@@ -521,12 +535,6 @@ setenv G4LIB_USE_GRANULAR 1
|
||||
echo "On this machine the G4LIB_USE_GRANULAR=\$G4LIB_USE_GRANULAR"
|
||||
endif
|
||||
|
||||
# Check for Windows!
|
||||
if ( "X\$G4SYSTEM" != "XWIN32-VC" && "X\$G4SYSTEM" != "XWIN32-VC7" ) then
|
||||
setenv G4UI_USE_TCSH 1
|
||||
echo "On this machine the G4UI_USE_TCSH=\$G4UI_USE_TCSH"
|
||||
endif
|
||||
|
||||
#####################################################################
|
||||
|
||||
!GROK!THIS!
|
||||
|
||||
+46
-34
@@ -30,7 +30,6 @@ unset CLHEP_INCLUDE_DIR
|
||||
unset CLHEP_LIB
|
||||
unset CLHEP_LIB_DIR
|
||||
|
||||
unset G4ANALYSIS_USE
|
||||
unset G4DEBUG
|
||||
unset G4INCLUDE
|
||||
unset G4INSTALL
|
||||
@@ -40,6 +39,7 @@ unset G4LEVELGAMMADATA
|
||||
unset G4NEUTRONHPDATA
|
||||
unset G4RADIOACTIVEDATA
|
||||
unset G4ABLADATA
|
||||
unset G4REALSURFACEDATA
|
||||
|
||||
unset G4LIB
|
||||
unset G4LIB_BUILD_G3TOG4
|
||||
@@ -53,6 +53,7 @@ unset G4LIB_USE_ZLIB
|
||||
|
||||
unset G4SYSTEM
|
||||
|
||||
unset G4UI_NONE
|
||||
unset G4UI_BUILD_WIN32_SESSION
|
||||
unset G4UI_BUILD_XAW_SESSION
|
||||
unset G4UI_BUILD_XM_SESSION
|
||||
@@ -62,6 +63,8 @@ unset G4UI_USE_XAW
|
||||
unset G4UI_USE_XM
|
||||
unset G4UI_USE_QT
|
||||
|
||||
|
||||
unset G4VIS_NONE
|
||||
unset G4VIS_BUILD_DAWN_DRIVER
|
||||
unset G4VIS_BUILD_OIWIN32_DRIVER
|
||||
unset G4VIS_BUILD_OIX_DRIVER
|
||||
@@ -184,17 +187,14 @@ echo "On this machine the G4ABLADATA=\$G4ABLADATA"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
#+
|
||||
#if [ X$g4elasticdata != X ] ; then
|
||||
#G4ELASTICDATA="$g4elasticdata"
|
||||
#export G4ELASTICDATA
|
||||
#if [ X\$g4non_display = X ] ; then
|
||||
#echo "On this machine the G4ELASTICDATA=\$G4ELASTICDATA"
|
||||
#fi
|
||||
#fi
|
||||
if [ X$g4realsurfacedata != X ] ; then
|
||||
G4REALSURFACEDATA="$g4realsurfacedata"
|
||||
export G4REALSURFACEDATA
|
||||
if [ X\$g4non_display = X ] ; then
|
||||
echo "On this machine the G4REALSURFACEDATA=\$G4REALSURFACEDATA"
|
||||
fi
|
||||
fi
|
||||
|
||||
#
|
||||
# g4clhep.U
|
||||
@@ -246,21 +246,36 @@ echo "On this machine the G4DEBUG=\$G4DEBUG"
|
||||
fi
|
||||
fi
|
||||
|
||||
#
|
||||
# g4analysis
|
||||
#
|
||||
#+
|
||||
if [ X$g4wanalysis_use = Xy ] ; then
|
||||
G4ANALYSIS_USE=1
|
||||
export G4ANALYSIS_USE
|
||||
if [ X\$g4non_display = X ] ; then
|
||||
echo "On this machine the G4ANALYSIS_USE=\$G4ANALYSIS_USE"
|
||||
fi
|
||||
fi
|
||||
|
||||
#
|
||||
# g4ui
|
||||
#
|
||||
#+
|
||||
if [ X$g4ui_none = Xy ] ; then
|
||||
G4UI_NONE=1
|
||||
export G4UI_NONE
|
||||
if [ X\$g4non_display = X ] ; then
|
||||
echo "On this machine, G4UI_NONE is set, so no user interfaces are available"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
# Check for Windows!
|
||||
if test "X\$G4SYSTEM" != "XWIN32-VC" -a "X\$G4SYSTEM" != "XWIN32-VC7"; then
|
||||
#+
|
||||
#
|
||||
# UI_USE_TCSH for Unix
|
||||
#
|
||||
if [ X$g4ui_none != Xy ] ; then
|
||||
G4UI_USE_TCSH=1
|
||||
export G4UI_USE_TCSH
|
||||
if [ X\$g4non_display = X ] ; then
|
||||
echo "On this machine the G4UI_USE_TCSH=\$G4UI_USE_TCSH"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
#+
|
||||
if [ X$g4ui_build_xaw_session = Xy ] ; then
|
||||
G4UI_BUILD_XAW_SESSION=1
|
||||
@@ -339,6 +354,15 @@ fi
|
||||
#
|
||||
# g4vis
|
||||
#
|
||||
#+
|
||||
if [ X$g4vis_none = Xy ] ; then
|
||||
G4VIS_NONE=1
|
||||
export G4VIS_NONE
|
||||
if [ X\$g4non_display = X ] ; then
|
||||
echo "On this machine G4VIS_NONE is set, so no vis drivers are available"
|
||||
fi
|
||||
fi
|
||||
|
||||
#+
|
||||
if [ X$g4vis_build_dawn_driver = Xy ] ; then
|
||||
G4VIS_BUILD_DAWN_DRIVER=1
|
||||
@@ -714,18 +738,6 @@ echo "On this machine the G4LIB_USE_GRANULAR=\$G4LIB_USE_GRANULAR"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Check for Windows!
|
||||
if test "X\$G4SYSTEM" != "XWIN32-VC" -a "X\$G4SYSTEM" != "XWIN32-VC7"; then
|
||||
#+
|
||||
#
|
||||
# UI_USE_TCSH for Unix
|
||||
#
|
||||
G4UI_USE_TCSH=1
|
||||
export G4UI_USE_TCSH
|
||||
if [ X\$g4non_display = X ] ; then
|
||||
echo "On this machine the G4UI_USE_TCSH=\$G4UI_USE_TCSH"
|
||||
fi
|
||||
fi
|
||||
|
||||
#####################################################################
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@ unset CLHEP_INCLUDE_DIR
|
||||
unset CLHEP_LIB
|
||||
unset CLHEP_LIB_DIR
|
||||
|
||||
unset G4ANALYSIS_USE
|
||||
unset G4DEBUG
|
||||
unset G4INCLUDE
|
||||
unset G4INSTALL
|
||||
@@ -53,6 +52,7 @@ unset G4LIB_USE_ZLIB
|
||||
|
||||
unset G4SYSTEM
|
||||
|
||||
unset G4UI_NONE
|
||||
unset G4UI_BUILD_WIN32_SESSION
|
||||
unset G4UI_BUILD_XAW_SESSION
|
||||
unset G4UI_BUILD_XM_SESSION
|
||||
@@ -63,6 +63,7 @@ unset G4UI_USE_XAW
|
||||
unset G4UI_USE_XM
|
||||
unset G4UI_USE_QT
|
||||
|
||||
unset G4VIS_NONE
|
||||
unset G4VIS_BUILD_DAWN_DRIVER
|
||||
unset G4VIS_BUILD_OIWIN32_DRIVER
|
||||
unset G4VIS_BUILD_OIX_DRIVER
|
||||
@@ -218,19 +219,19 @@ export G4DEBUG
|
||||
echo "On this machine the G4DEBUG=\$G4DEBUG"
|
||||
fi
|
||||
|
||||
#
|
||||
# g4analysis
|
||||
#
|
||||
#+
|
||||
if [ X$g4wanalysis_use = Xy ] ; then
|
||||
G4ANALYSIS_USE=1
|
||||
export G4ANALYSIS_USE
|
||||
echo "On this machine the G4ANALYSIS_USE=\$G4ANALYSIS_USE"
|
||||
fi
|
||||
|
||||
#
|
||||
# g4ui
|
||||
#
|
||||
#+
|
||||
if [ X$g4ui_none = Xy ] ; then
|
||||
G4UI_NONE=1
|
||||
export G4UI_NONE
|
||||
echo "On this machine G4UI_NONE is set - no UIs will be built"
|
||||
|
||||
else
|
||||
echo "On this machine G4UI_NONE is not set - following UIs will be built:"
|
||||
|
||||
#+
|
||||
if [ X$g4ui_build_xaw_session = Xy ] ; then
|
||||
G4UI_BUILD_XAW_SESSION=1
|
||||
@@ -288,10 +289,21 @@ export G4UI_USE_QT
|
||||
echo "On this machine the G4UI_USE_QT=\$G4UI_USE_QT"
|
||||
fi
|
||||
|
||||
fi
|
||||
# END OF G4UI_NONE block
|
||||
|
||||
#
|
||||
# g4vis
|
||||
#
|
||||
#+
|
||||
if [ X$g4vis_none = Xy ] ; then
|
||||
G4VIS_NONE=1
|
||||
export G4VIS_NONE
|
||||
echo "On this machine G4VIS_NONE is set - no drivers will be built"
|
||||
|
||||
else
|
||||
echo "On this machine G4VIS_NONE is not set - following drivers will be built:"
|
||||
|
||||
#+
|
||||
if [ X$g4vis_build_dawn_driver = Xy ] ; then
|
||||
G4VIS_BUILD_DAWN_DRIVER=1
|
||||
@@ -421,7 +433,8 @@ echo "On this machine the G4VIS_USE_OPENGLQT=\$G4VIS_USE_OPENGLQT"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
fi
|
||||
# End of G4VIS_NONE block
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -150,15 +150,6 @@ export G4DEBUG
|
||||
echo "On this machine the G4DEBUG=\$G4DEBUG"
|
||||
fi
|
||||
|
||||
#
|
||||
# g4analysis
|
||||
#
|
||||
#+
|
||||
if [ X$g4wanalysis_use = Xy ] ; then
|
||||
G4ANALYSIS_USE=1
|
||||
export G4ANALYSIS_USE
|
||||
echo "On this machine the G4ANALYSIS_USE=\$G4ANALYSIS_USE"
|
||||
fi
|
||||
|
||||
#
|
||||
# g4ui
|
||||
|
||||
Reference in New Issue
Block a user