aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutils/submit-grid-jobs13
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