diff --git a/python/rcdb/alias.py b/python/rcdb/alias.py index f5ed3d0..3a438c1 100644 --- a/python/rcdb/alias.py +++ b/python/rcdb/alias.py @@ -25,7 +25,12 @@ def __init__(self, name, expression, comment): collimator_diameter != 'Blocking'""", "Is PrimEx production run"), - ConditionSearchAlias('is_dirc_production', "daq_config in ['FCAL_BCAL_PS_DIRC_m9.conf', 'FCAL_BCAL_PS_DIRC_m10.conf'] ", "Is DIRC production run"), + ConditionSearchAlias('is_dirc_production', """daq_run == 'PHYSICS_DIRC' and + beam_current > 2 and + event_count > 5000000 and + solenoid_current > 100 and + collimator_diameter != 'Blocking'""", + "Is DIRC production run"), ConditionSearchAlias('is_production_long', """daq_run == 'PHYSICS_raw' beam_current > 2 and