Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:49:17

0001 #!/bin/bash
0002 usage(){ cat << EOU
0003 SEvtLoadTest.sh
0004 ================
0005 
0006 ~/o/sysrap/tests/SEvtLoadTest.sh
0007 
0008 EOU
0009 }
0010 
0011 cd $(dirname $(realpath $BASH_SOURCE))
0012 
0013 logging()
0014 {
0015    type $FUNCNAME
0016    export SEvt=INFO
0017    export SEventConfig=INFO
0018 }
0019 
0020 [ -n "$LOG" ] && logging 
0021 
0022 
0023 
0024 ## these configure the directory from which to load
0025 export GEOM=hamaLogicalPMT 
0026 export SOpticksResource_ExecutableName=U4PMTFastSimTest 
0027 
0028 ## both these are needed to induce SEvt::Load rather than SEvt::Create
0029 export OPTICKS_RUNNING_MODE=SRM_G4STATE_RERUN
0030 export OPTICKS_G4STATE_RERUN=726     ## value must be > -1 and less than the number of g4state
0031 
0032 
0033 SEvtLoadTest 
0034 
0035 
0036