Difference between revisions of "RCDB Standard Searches"

From GlueXWiki
Jump to: navigation, search
Line 18: Line 18:
 
** Subtype: Field Off
 
** Subtype: Field Off
 
*** solenoid_current < 100.
 
*** solenoid_current < 100.
 +
 +
Corresponding RCDB queris:
 +
<syntaxhighlight lang="python" line="1" >
 +
@is_production = run_type == 'hd_all.tsg' and  # Production Run
 +
                daq_run == 'PHYSICS' and
 +
                beam_current > 2 and
 +
                num_events > 10000 and
 +
                radiator_id !=5 and
 +
                solenoid_current > 100
 +
 +
@is_cosmic = run_type == 'hd_all.tsg_cosmic' and
 +
            'COSMIC' in daq_run and
 +
            beam_current < 1.
 +
 +
@is_empty_target = target_type == "EMPTY & Ready" # Empty Target
 +
 +
@is_amorph_radiator = radiator_id == 0 and target_type == "FULL & Ready"  # Amorphous Radiator
 +
 +
@is_coherent_beam = radiator_id != 5  and radiator_id != 0 # Coherent Beam
 +
 +
@is_field_off = solenoid_current < 100  # Field Off
 +
 +
@is_field_on = solenoid_current >= 100  # Field On
 +
 +
@status_approved = status == 1
 +
 +
@status_unchecked = status == -1
 +
 +
@status_reject = status == 0
 +
 +
</syntaxhighlight>
  
  

Revision as of 15:21, 18 February 2016

Goal: Classify and search for non-DAQ test runs

  • Type: Production Run
    • run_type == hd_all.tsg
    • daq_run == PHYSICS
    • beam_current > 2.
    • num_events > 10000
    • radiator id !=5 # NOT RETRACTED
    • solenoid_current > 100. (?)
    • Subtype: Empty Target
      • target_type == "EMPTY & Ready"
    • Subtype: Amorphous Radiator
      • radiator_id = 0
      • target_type == "FULL & Ready"
    • Subtype: Coherent Beam
      • radiator_id != 5 AND radiator_id != 0.
      • target_type == "FULL & Ready"
    • Subtype: Field Off
      • solenoid_current < 100.

Corresponding RCDB queris:

  1. @is_production = run_type == 'hd_all.tsg' and   # Production Run
  2.                  daq_run == 'PHYSICS' and 
  3.                  beam_current > 2 and 
  4.                  num_events > 10000 and 
  5.                  radiator_id !=5 and 
  6.                  solenoid_current > 100
  7.  
  8. @is_cosmic = run_type == 'hd_all.tsg_cosmic' and
  9.             'COSMIC' in daq_run and
  10.              beam_current < 1.
  11.  
  12. @is_empty_target = target_type == "EMPTY & Ready" # Empty Target
  13.  
  14. @is_amorph_radiator = radiator_id == 0 and target_type == "FULL & Ready"  # Amorphous Radiator
  15.  
  16. @is_coherent_beam = radiator_id != 5  and radiator_id != 0 # Coherent Beam
  17.  
  18. @is_field_off = solenoid_current < 100  # Field Off
  19.  
  20. @is_field_on = solenoid_current >= 100  # Field On
  21.  
  22. @status_approved = status == 1
  23.  
  24. @status_unchecked = status == -1
  25.  
  26. @status_reject = status == 0


  • status flag
    • unchecked = -1
    • rejected = 0
    • approved = 1


  • Type: Cosmic run
    • run_type == hd_all.tsg_cosmic
    • daq_run == COSMIC*
    • beam_current < 1.
    • Subtype: Magnet off
      • solenoid_current < 100.
    • Subtype: Magnet on
      • solenoid_current > 100.
  • Other types?
    • Normalization run (super-low-current, tagger trigger, TAC in, definitions need input from Somov)
    • PS-only? (needs input from Somov)
    • LED Pulser only?