diff options
author | tlatorre <tlatorre@uchicago.edu> | 2018-11-14 14:01:35 -0600 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2018-11-14 14:01:35 -0600 |
commit | 35cea408335aba4017ed9731f676a01d3e27d204 (patch) | |
tree | 4e1784e73d0b413a2767faecdb410b27bb1a8201 /utils | |
parent | 488e0caec255a9180d38cd16d40432c0d0b3c966 (diff) | |
download | sddm-35cea408335aba4017ed9731f676a01d3e27d204.tar.gz sddm-35cea408335aba4017ed9731f676a01d3e27d204.tar.bz2 sddm-35cea408335aba4017ed9731f676a01d3e27d204.zip |
update plot.py
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/plot.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/plot.py b/utils/plot.py index b74e14a..7abb7e3 100755 --- a/utils/plot.py +++ b/utils/plot.py @@ -65,6 +65,10 @@ if __name__ == '__main__': for event in data['data']: # get the particle ID id = event['mctk'][-1]['id'] + + if id not in event['ev'][0]['fit']: + continue + mass = SNOMAN_MASS[id] # for some reason it's the *second* track which seems to contain the # initial energy |