diff options
author | tlatorre <tlatorre@uchicago.edu> | 2021-01-03 11:40:47 -0600 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2021-01-03 11:40:47 -0600 |
commit | 6fc97e22fa2a8cc48a96b2ce22c4d55a8fd2b80f (patch) | |
tree | f5bf72de18002e0d126b8e37c628f68ec3926fb6 /utils/plot-michels | |
parent | c71532924c8c2be07026041b7cd62819e90e8c64 (diff) | |
download | sddm-6fc97e22fa2a8cc48a96b2ce22c4d55a8fd2b80f.tar.gz sddm-6fc97e22fa2a8cc48a96b2ce22c4d55a8fd2b80f.tar.bz2 sddm-6fc97e22fa2a8cc48a96b2ce22c4d55a8fd2b80f.zip |
cache results from get_events()
Diffstat (limited to 'utils/plot-michels')
-rwxr-xr-x | utils/plot-michels | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/utils/plot-michels b/utils/plot-michels index dbd6fd5..e0e4dd7 100755 --- a/utils/plot-michels +++ b/utils/plot-michels @@ -131,9 +131,6 @@ if __name__ == '__main__': ev = ev.reset_index() ev_mc = ev_mc.reset_index() - # Set all prompt events in the MC to be muons - ev_mc.loc[ev_mc.prompt & ev_mc.filename.str.contains("cosmic"),'muon'] = True - # First, do basic data cleaning which is done for all events. ev = ev[ev.signal | ev.muon] ev_mc = ev_mc[ev_mc.signal | ev_mc.muon] |