diff --git a/python/rcdb/alias.py b/python/rcdb/alias.py index ae09cf7..d83c306 100644 --- a/python/rcdb/alias.py +++ b/python/rcdb/alias.py @@ -32,6 +32,20 @@ def __init__(self, name, expression, comment): collimator_diameter != 'Blocking'""", "Is DIRC production run"), + ConditionSearchAlias('is_src_production', """daq_run == 'PHYSICS_SRC' and + beam_current > 2 and + event_count > 5000000 and + solenoid_current > 100 and + collimator_diameter != 'Blocking'""", + "Is SRC production run"), + + ConditionSearchAlias('is_cpp_production', """daq_run == 'PHYSICS_CPP' and + beam_current > 2 and + event_count > 5000000 and + solenoid_current > 100 and + collimator_diameter != 'Blocking'""", + "Is CPP production run"), + ConditionSearchAlias('is_production_long', """daq_run == 'PHYSICS_raw' beam_current > 2 and event_count > 5000000 and