diff options
author | tlatorre <tlatorre@uchicago.edu> | 2020-06-14 02:38:39 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2020-06-14 02:38:39 -0500 |
commit | 33e8623886f7dd10265c5c8083e09d3e20b5bed6 (patch) | |
tree | f281f7668538ae9f83043e25cc982030087b3cad /utils/submit-grid-jobs | |
parent | 83920fb80f48b0e7f4f2eea65b14f088102e4c24 (diff) | |
download | sddm-33e8623886f7dd10265c5c8083e09d3e20b5bed6.tar.gz sddm-33e8623886f7dd10265c5c8083e09d3e20b5bed6.tar.bz2 sddm-33e8623886f7dd10265c5c8083e09d3e20b5bed6.zip |
only submit 10% of flashers, neck events, and muons
Diffstat (limited to 'utils/submit-grid-jobs')
-rwxr-xr-x | utils/submit-grid-jobs | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/utils/submit-grid-jobs b/utils/submit-grid-jobs index c5f72b0..16d60af 100755 --- a/utils/submit-grid-jobs +++ b/utils/submit-grid-jobs @@ -571,10 +571,15 @@ if __name__ == '__main__': njobs = 0 for index, event in ev.iterrows(): if event['nhit_cal'] >= args.min_nhit: - if event['prompt'] and event['dc'] & DC_FLASHER != 0: - # Only want to submit 10% of prompt flasher events - if event['gtid'] % 10 != 0: - continue + if event['muon'] and event['stopping_muon']: + pass + else: + if event['prompt']: + if event['flasher'] or event['muon'] or event['neck']: + # Only want to submit 10% of prompt flasher, muon, + # and neck events + if event['gtid'] % 10 != 0: + continue if not event['prompt'] and event['instrumental']: # Only submit followers if they have no data cleaning cuts |