From 0ef76dc5a076a1e2e25bf5f5b65d2ed79d03a56d Mon Sep 17 00:00:00 2001 From: Sean Dobbs Date: Wed, 9 Feb 2022 13:08:38 -0500 Subject: [PATCH] update cosmic run search to something more reasonable and that covers all of the crazy ways we've tried to collect cosmics --- python/rcdb/alias.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/rcdb/alias.py b/python/rcdb/alias.py index ae09cf7..0ec55fb 100644 --- a/python/rcdb/alias.py +++ b/python/rcdb/alias.py @@ -39,7 +39,7 @@ def __init__(self, name, expression, comment): collimator_diameter != 'Blocking'""", "Is production run with long mode data"), - ConditionSearchAlias('is_cosmic', "(run_type == 'hd_all.tsg_cosmic' and 'COSMIC' in daq_run and beam_current < 1) or (radiator_type == 'RETRACTED' and collimator_diameter == 'Blocking')", + ConditionSearchAlias('is_cosmic', "\"cosmic\" in run_config and beam_current < 1 and event_count > 5000", "Is cosmic run"), ConditionSearchAlias('is_empty_target', "target_type == 'EMPTY & Ready'", "Target is empty"),