Difference between revisions of "SRC/CT Good Run Selection"

From GlueXWiki
Jump to: navigation, search
Line 1: Line 1:
==RCDB==
+
=RCDB=
 
*The run condition parameters are stored in the Run Conditions DataBase (RCDB).
 
*The run condition parameters are stored in the Run Conditions DataBase (RCDB).
 
*Connection to the database
 
*Connection to the database
Line 7: Line 7:
 
**Job submission
 
**Job submission
 
**Python interface
 
**Python interface
 +
 
<syntaxhighlight lang="python">
 
<syntaxhighlight lang="python">
 
import rcdb
 
import rcdb
Line 23: Line 24:
 
*Contact Sean Dobbs if we want to edit the information in RCDB.
 
*Contact Sean Dobbs if we want to edit the information in RCDB.
  
==All runs==
+
=All runs=
 
*90001 to 90662 in Run Period 2021-11
 
*90001 to 90662 in Run Period 2021-11
 
*Liquid deuterium: 90207 to 90253, 90548 to 90602
 
*Liquid deuterium: 90207 to 90253, 90548 to 90602
Line 29: Line 30:
 
*Multi-foil C-12: 90254 to 90547
 
*Multi-foil C-12: 90254 to 90547
  
==Monitoring runs==
+
=Monitoring runs=
 
*Runs that are used in the monitoring launches. These runs are calibrated. Relatively loose selection is used so that some test runs and junk runs are also included.
 
*Runs that are used in the monitoring launches. These runs are calibrated. Relatively loose selection is used so that some test runs and junk runs are also included.
 
*RCDB query: "@is_src_production" (alias of "daq_run=='PHYSICS_SRC' and beam_current > 2. and event_count > 5000000 and solenoid_current > 100 and collimator_diameter != 'Blocking'")
 
*RCDB query: "@is_src_production" (alias of "daq_run=='PHYSICS_SRC' and beam_current > 2. and event_count > 5000000 and solenoid_current > 100 and collimator_diameter != 'Blocking'")
Line 36: Line 37:
 
*[https://docs.google.com/spreadsheets/d/1xLmNGh-CiAD_ETUqL8kRnG2ZTuaKGLvymY2JdJ47w0Y/edit#gid=1665922131 Calibration quality spreadsheet: monitoring ver 06]
 
*[https://docs.google.com/spreadsheets/d/1xLmNGh-CiAD_ETUqL8kRnG2ZTuaKGLvymY2JdJ47w0Y/edit#gid=1665922131 Calibration quality spreadsheet: monitoring ver 06]
  
==Approved runs==
+
=Approved runs=
 
*Runs that are used in the reconstruction and analysis launches. Approved to be used in analysis after checking the calibration and data quality
 
*Runs that are used in the reconstruction and analysis launches. Approved to be used in analysis after checking the calibration and data quality
 
*RCDB query: "@is_src_production and @status_approved"
 
*RCDB query: "@is_src_production and @status_approved"
Line 42: Line 43:
 
*[[SRC/CT excluded runs | List of excluded runs]]
 
*[[SRC/CT excluded runs | List of excluded runs]]
  
==More selections==
+
=More selections=
 
*Run conditions
 
*Run conditions
 
**Raw mode
 
**Raw mode

Revision as of 10:12, 13 July 2022

RCDB

  • The run condition parameters are stored in the Run Conditions DataBase (RCDB).
  • Connection to the database
    • Main MySQL database: mysql://rcdb@hallddb/rcdb
    • Local SQLite database: sqlite:///path.to.file.db
  • Different interfaces we can use.
    • Job submission
    • Python interface
import rcdb
 
db = rcdb.RCDBProvider("mysql://rcdb@hallddb/rcdb")
good_runs = db.select_runs(RCDB_QUERY, MINRUN, MAXRUN)
 
for run in good_runs:
    print(run.number)
    • C++ interface
    • Command line interface
    • Web interface
  • More detailed documentation can be found here: wiki, GitHub
  • Contact Sean Dobbs if we want to edit the information in RCDB.

All runs

  • 90001 to 90662 in Run Period 2021-11
  • Liquid deuterium: 90207 to 90253, 90548 to 90602
  • Liquid He-4: 90001 to 90206, 90603 to 90662
  • Multi-foil C-12: 90254 to 90547

Monitoring runs

Approved runs

  • Runs that are used in the reconstruction and analysis launches. Approved to be used in analysis after checking the calibration and data quality
  • RCDB query: "@is_src_production and @status_approved"
  • List of approved runs
  • List of excluded runs

More selections

  • Run conditions
    • Raw mode
    • Compton trigger
    • Low intensity
    • Empty target
    • Production:
  • Photon polarization
    • 0/90 PARA
    • 0/90 PERP
    • 45/135 PARA
    • 45/135 PERP

Full REST Production

  • Software stack: version_5.8.0.xml
  • Calibration time stamp:
     variation=default calibtime=TBD 
  • Configuration:
     /group/halld/data_monitoring/run_conditions/RunPeriod-[RUNPERIOD]/ 
  • Output:
     /cache/halld/RunPeriod-[RUNPERIOD]/recon/ver[VERSION]/ 
  • Launches:
Runperiod Version Batch Min Run Max Run # Runs # REST Files (succeeded) Total Size of REST Files Site Priority Details
2021-11 01 01 90001 90206 133 () TB 3 He4
2021-11 01 02 90207 90253 38 () TB 2 D
2021-11 01 03 90254 90547 232 () TB 1 C
2021-11 01 04 90548 90602 43 () TB 2 D
2021-11 01 05 90603 90662 34 () TB 3 He4