Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:48:48

0001 #!/bin/bash -l 
0002 
0003 usage(){ cat << EOU
0004 gs.sh 
0005 =======
0006 
0007 Loads gensteps and dumps info about them such as numPhotons, pdgcode, position ranges::
0008 
0009     gs.sh 1 2 3 
0010     gs.sh -1 -2 -3 
0011     gs.sh 1 -1 
0012     
0013     gs.sh /tmp/blyth/opticks/source/evt/g4live/natural/1/gs.npy
0014     gs.sh /tmp/blyth/opticks/source/evt/g4live/natural/-1/gs.npy
0015 
0016 Gensteps can be identified by full paths or integer tags that assume a path template.
0017 
0018 See also gsplt.py 
0019 
0020 
0021 EOU
0022 }
0023 
0024 ipython -i $(which gs.py) -- $*
0025 
0026 
0027