|
1 | 1 | # Run Group K, Fall 2018, Pass 2 |
2 | 2 |
|
3 | | -## Run monitoring |
4 | | - |
5 | | -> [!IMPORTANT] |
6 | | -> Check any run-dependent settings in `qa-physics/monitorRead.groovy`, such as beam energy. |
7 | | -
|
8 | 3 | We will use SIDIS skims from two datasets: one for a 6.5 GeV beam, and another for a 7.5 GeV beam; we will keep them separate: |
9 | 4 | - `rgk_fa18_6.5GeV`: from `/cache/clas12/rg-k/production/recon/fall2018/torus+1/6535MeV/pass2/v0/dst/train/skim1` |
10 | 5 | - `rgk_fa18_7.5GeV`: from `/cache/clas12/rg-k/production/recon/fall2018/torus+1/7546MeV/pass2/v0/dst/train/skim1` |
11 | 6 |
|
12 | | -- **6.5 GeV:** |
| 7 | +Before anything, cross check the train and DST run lists: |
13 | 8 | ```bash |
14 | | -qtl histogram --check-cache -d rgk_fa18_6.5GeV --flatdir --focus-physics /cache/clas12/rg-k/production/recon/fall2018/torus+1/6535MeV/pass2/v0/dst/train/skim1 |
15 | | -qtl histogram -d rgk_fa18_6.5GeV --flatdir --focus-physics /cache/clas12/rg-k/production/recon/fall2018/torus+1/6535MeV/pass2/v0/dst/train/skim1 |
| 9 | +bin/qtl xtrain /mss/clas12/rg-k/production/recon/fall2018/torus+1/6535MeV/pass2/v0/dst/train/skim1 /mss/clas12/rg-k/production/recon/fall2018/torus+1/6535MeV/pass2/v0/dst/recon |
| 10 | +bin/qtl xtrain /mss/clas12/rg-k/production/recon/fall2018/torus+1/7546MeV/pass2/v0/dst/train/skim1 /mss/clas12/rg-k/production/recon/fall2018/torus+1/7546MeV/pass2/v0/dst/recon |
16 | 11 | ``` |
17 | 12 |
|
18 | | -- **7.5 GeV:** |
| 13 | +## Reheat |
| 14 | + |
| 15 | +> [!WARNING] |
| 16 | +> The FC charge from the Pass 2 data files is incorrect, since they were cooked with `recharge` set to `false`; therefore, we need to "reheat" the data. |
| 17 | +> See `rga_sp18.md` for some more details. |
| 18 | +
|
| 19 | +1. make sure all data are on `/cache`; re-cache them if necessary: |
19 | 20 | ```bash |
| 21 | +qtl histogram --check-cache -d rgk_fa18_6.5GeV --flatdir --focus-physics /cache/clas12/rg-k/production/recon/fall2018/torus+1/6535MeV/pass2/v0/dst/train/skim1 |
20 | 22 | qtl histogram --check-cache -d rgk_fa18_7.5GeV --flatdir --focus-physics /cache/clas12/rg-k/production/recon/fall2018/torus+1/7546MeV/pass2/v0/dst/train/skim1 |
21 | | -qtl histogram -d rgk_fa18_7.5GeV --flatdir --focus-physics /cache/clas12/rg-k/production/recon/fall2018/torus+1/7546MeV/pass2/v0/dst/train/skim1 |
| 23 | +``` |
| 24 | +2. run reheat: |
| 25 | +```bash |
| 26 | +bin/qtl reheat -m rollover -c 13.3.0 rgk_fa18_6.5GeV -o /volatile/clas12/users/$LOGNAME/reheat/rgk_fa18_6.5GeV -i /cache/clas12/rg-k/production/recon/fall2018/torus+1/6535MeV/pass2/v0/dst/train/skim1 |
| 27 | +bin/qtl reheat -m rollover -c 13.3.0 rgk_fa18_7.5GeV -o /volatile/clas12/users/$LOGNAME/reheat/rgk_fa18_7.5GeV -i /cache/clas12/rg-k/production/recon/fall2018/torus+1/7546MeV/pass2/v0/dst/train/skim1 |
| 28 | +``` |
| 29 | +3. check the results: |
| 30 | +```bash |
| 31 | +# before |
| 32 | +for f in /cache/clas12/rg-k/production/recon/fall2018/torus+1/6535MeV/pass2/v0/dst/train/skim1/*.hipo; do bin/qtl xcharge -m charge -i $f -o test_charge_rgk_6.5GeV -s original; done |
| 33 | +for f in /cache/clas12/rg-k/production/recon/fall2018/torus+1/7546MeV/pass2/v0/dst/train/skim1/*.hipo; do bin/qtl xcharge -m charge -i $f -o test_charge_rgk_7.5GeV -s original; done |
| 34 | +# after |
| 35 | +for f in /volatile/clas12/users/$LOGNAME/reheat/rgk_fa18_6.5GeV/*.hipo; do bin/qtl xcharge -m charge -i $f -o test_charge_rgk_6.5GeV -s reheated; done |
| 36 | +for f in /volatile/clas12/users/$LOGNAME/reheat/rgk_fa18_7.5GeV/*.hipo; do bin/qtl xcharge -m charge -i $f -o test_charge_rgk_7.5GeV -s reheated; done |
| 37 | +``` |
| 38 | + |
| 39 | + |
| 40 | +## Run monitoring |
| 41 | + |
| 42 | +> [!IMPORTANT] |
| 43 | +> Check any run-dependent settings in `qa-physics/monitorRead.groovy`, such as beam energy. |
| 44 | +
|
| 45 | +```bash |
| 46 | +qtl histogram -d rgk_fa18_6.5GeV --flatdir --focus-physics /volatile/clas12/users/$LOGNAME/reheat/rgk_fa18_6.5GeV |
| 47 | +qtl histogram -d rgk_fa18_7.5GeV --flatdir --focus-physics /volatile/clas12/users/$LOGNAME/reheat/rgk_fa18_7.5GeV |
22 | 48 | ``` |
23 | 49 |
|
24 | 50 | ## Double check that we have all the runs |
25 | 51 |
|
26 | 52 | > [!IMPORTANT] |
27 | | -> In case any runs disappeared from `/cache` while running monitoring, be sure to cross check the output |
28 | | -> runs with those from `/mss` |
| 53 | +> In case any runs disappeared from `/cache` while running monitoring or reheating, be sure to cross check the output runs with those from `/mss` |
29 | 54 |
|
30 | 55 | ## Make timelines |
31 | 56 |
|
32 | 57 | > [!IMPORTANT] |
33 | 58 | > Pass 2 run 5863 was mistakenly cooked into the 6.5 GeV, but it has beam energy 7.5 GeV. To make sure its QA |
34 | | -> is performed in the correct epoch, move its step-1 output files to the correct output dataset directory: |
| 59 | +> is performed in the correct epoch, move its `outfiles/` files to the correct output dataset directory: |
35 | 60 | > ```bash |
36 | 61 | > mv -v outfiles/rgk_fa18_6.5GeV/timeline_physics/5863 outfiles/rgk_fa18_7.5GeV/timeline_physics/ |
37 | 62 | > ``` |
|
0 commit comments