File indexing completed on 2025-01-31 09:21:47
0001
0002 msg="=== $BASH_SOURCE :"
0003
0004 ./check.sh
0005 [ $? -ne 0 ] && echo $msg check failed && exit 1
0006
0007 extra_logging(){
0008
0009 export G4Opticks=INFO
0010 export OpMgr=INFO
0011 export OpPropagator=INFO
0012 export OpEngine=INFO
0013 export OScene=INFO
0014 export OEvent=INFO
0015 export OSensorLib=INFO
0016 }
0017
0018
0019 genstep_skips(){
0020
0021 local OpticksGenstep_G4Cerenkov_1042=1
0022 local OpticksGenstep_G4Scintillation_1042=2
0023 local OpticksGenstep_DsG4Cerenkov_r3971=3
0024 local OpticksGenstep_DsG4Scintillation_r3971=4
0025 local OpticksGenstep_TORCH=5
0026
0027
0028
0029 }
0030 genstep_skips
0031
0032
0033
0034
0035 export OPTICKS_EMBEDDED_COMMANDLINE="pro"
0036
0037
0038
0039 export OPTICKS_EMBEDDED_COMMANDLINE_EXTRA="--rngmax 100"
0040
0041
0042
0043
0044 SY=5000
0045
0046
0047
0048 cmd="CaTS $PWD/gdml/G4Opticks_$SY.gdml macros/muon_noIO.mac"
0049
0050
0051 echo $cmd
0052 eval $cmd