Skip to content

Commit

Permalink
feat: summarize differences with RCDB
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Sep 8, 2023
1 parent 1176d34 commit 38e2b88
Show file tree
Hide file tree
Showing 10 changed files with 2,091 additions and 122 deletions.
30 changes: 0 additions & 30 deletions config/beam-energy-mon.yaml

This file was deleted.

48 changes: 0 additions & 48 deletions config/beam-energy-qa.yaml

This file was deleted.

50 changes: 50 additions & 0 deletions report/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
This is a summary of the differences between the hard-coded beam energies in the timeline code and the RCDB.
See other files in this directory, in case there are typos here:
- `*.yaml` contain the hard-coded beam energies, extracted from scripts (see comment within)
- `diff-*.txt` shows all differences between hard-coded beam energies and those from RCDB;
run `run_validate.sh` to produce these files

Only differences greater than 0.01 GeV are noted.

# RG-A
- RCDB matches timeline hard-coded values

# RG-B
- 11323-11391
- timeline hard-coded: 10.3894 GeV
- RCDB: 10.2129 GeV

# RG-C
- 16079
- timeline hard-coded: 2.22 GeV
- RCDB: 10.5473 GeV
- 17067-18130
- timeline hard-coded: 10.54 GeV
- RCDB: 10.5563 GeV up to run 17716 and 10.5593 GeV thereafter
- for runs 17411, 17412 (empty target runs), and 18086 (cosmics) RCDB says -9.999 GeV

# RG-F
- 11620-11656
- timeline hard-coded: 2.182 GeV
- RCDB: 2.14418 GeV
- **not in QADB**
- 11657
- timeline hard-coded: 2.182 GeV
- RCDB: 10.3894 GeV
- **not in QADB**
- 12444
- detector timelines use 2.182 GeV
- physics timelines use 10.389 GeV
- RCDB: 10.1966 GeV
- 12447-12951
- timelines say: 10.389 GeV
- RCDB: various differing values from about 10.2 to 10.4

# RG-K
- 5985-5990:
- timeline hard-coded: 6.535 GeV
- RCDB: 6.500 GeV
- this is a small difference, and nothing is noted about this in log book; should we correct RCDB?

# RG-M
- RCDB matches timeline hard-coded values
39 changes: 39 additions & 0 deletions report/beam-energy-mon.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# hard-coded beam energies from bin/slurm-mon12.sh
beamEnergy:
A:
- runnum: [ 3861, 5673 ]
value: 10.6
- runnum: [ 6608, 6783 ]
value: 10.199

K:
- runnum: [ 5674, 5870 ]
value: 7.546
- runnum: [ 5871, 6000 ]
value: 6.535

F:
- runnum: [ 11620, 11657 ] # not sure if actually RG-F
value: 2.182
- runnum: [ 11658, 12283 ]
value: 10.389
- runnum: [ 12389, 12444 ]
value: 2.182
- runnum: [ 12445, 12951 ]
value: 10.389

M:
- runnum: [ 15013, 15490 ]
value: 5.98636
- runnum: [ 15533, 15727 ]
value: 2.07052
- runnum: [ 15728, 15784 ]
value: 4.02962
- runnum: [ 15787, 15884 ]
value: 5.98636

C:
- runnum: [ 16010, 16079 ] # not sure if actually RG-C
value: 2.22
- runnum: [ 16084, 20000 ]
value: 10.54
48 changes: 48 additions & 0 deletions report/beam-energy-qa.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# hard-coded beam energies from qa-physics/monitorRead.groovy
beamEnergy:

A:
- runnum: [ 4763, 5001 ]
value: 10.6041
- runnum: [ 5032, 5262 ]
value: 10.6041
- runnum: [ 5300, 5666 ]
value: 10.6041
- runnum: [ 6616, 6783 ]
value: 10.1998

K:
- runnum: [ 5674, 5870 ]
value: 7.546
- runnum: [ 5875, 6000 ]
value: 6.535

F:
- runnum: [ 12210, 12388 ]
value: 10.389
- runnum: [ 12389, 12443 ]
value: 2.186
- runnum: [ 12444, 12951 ]
value: 10.389

M:
- runnum: [ 15013, 15490 ]
value: 5.98636
- runnum: [ 15533, 15727 ]
value: 2.07052
- runnum: [ 15728, 15784 ]
value: 4.02962
- runnum: [ 15787, 15884 ]
value: 5.98636

B:
- runnum: [ 6120, 6399 ]
value: 10.5986
- runnum: [ 6409, 6604 ]
value: 10.1998
- runnum: [ 11093, 11283 ]
value: 10.4096
- runnum: [ 11284, 11300 ]
value: 4.17179
- runnum: [ 11323, 11571 ]
value: 10.3894
Loading

0 comments on commit 38e2b88

Please sign in to comment.