Difference between revisions of "CPP/NPP (2022-05) BCAL pi0 calibration"
From GlueXWiki
(Created page with "== List of changes == == Monitoring results == == What is currently in the default variation == == Periods == == Gains == == Energy correction ==") |
(→What is currently in the default variation) |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | == List of action == | ||
+ | |||
+ | * Create a new variation: ccdb mkvar bcal_cpp -p default | ||
+ | * Copy [https://logbooks.jlab.org/entry/4159498 BCAL gain ratios, run dependence, 202205] | ||
+ | * Dump for the 1st run of the 1st period BCAL/ADC_gains, ccdb dump BCAL/ADC_gain -v bcal_cpp -r 100491 > ADC_gains_bcal_cpp_100491.txt, remove # in ADC_gains_bcal_cpp_100491.txt | ||
+ | * Apply the ratio, python apply_gainratios.py --gainratios gainratio_CCDB_202205_mon_ver14.txt --currentgains ADC_gains_bcal_cpp_100491.txt --output ADC_gains_bcal_cpp_100491_new.txt | ||
+ | * Add the corrected table to period 1, ccdb add BCAL/ADC_gains -v bcal_cpp -r 100491-100581 ADC_gains_bcal_cpp_100491_new.txt | ||
+ | * Launch first iteration, ./do_iterations.csh 1 2 BCAL_pi0 2022-05 100491 100581 1 bcal_cpp to check if the entire chain is working | ||
+ | * First iteration is successful but the results are weird, 3rd layer sees nothing? | ||
+ | * Continue with second iteration, ./do_iterations.csh 2 6 BCAL_pi0 2022-05 100491 100581 1 bcal_cpp | ||
+ | * Between iteration 3 and 4, correct a mistake in the macro, bcal_pi0cal_fit.c, which calculates the new gain | ||
+ | * Continue with iteration 6 to 12, source do_iterations.csh 6 12 BCAL_pi0 2022-05 100491 100581 1 bcal_cpp | ||
+ | * After iteration 11, there is no changed between the old and new gains | ||
+ | * Last iteration is launched to confirm the point above, ./do_iterations.csh 12 13 BCAL_pi0 2022-05 100491 100581 1 bcal_cpp | ||
+ | * Add period 1 gain to 2 and 3, ccdb add BCAL/ADC_gains -v bcal_cpp -r 100653-100825 /work/halld/home/gxproj9/bcal-cal/2022-05/period_1/merged-methodBCAL_pi0/g12/new-gains.txt | ||
+ | * Continue with period 3, source do_iterations.csh 1 6 BCAL_pi0 2022-05 100660 100825 3 bcal_cpp | ||
+ | * Change code (of gainmatrix_ig) so that only events with trigger bit 1 or 3 are analyzed | ||
+ | * With the code changes, the calibration is proceeding without calibrating layers 3 and 4 (at the moment) | ||
+ | |||
== List of changes == | == List of changes == | ||
Line 5: | Line 24: | ||
== What is currently in the default variation == | == What is currently in the default variation == | ||
− | + | all tables have being updated | |
− | == | + | == Periods == |
+ | * period 0: 100408-100490 - excluded from calibration | ||
+ | * [https://halldweb.jlab.org/primexd/bcal-cal/2022-05/1/ period 1: 100491-100581 - full / old HV] | ||
+ | * period 2: 100653-100654 - empty / old HV | ||
+ | * [https://halldweb.jlab.org/primexd/bcal-cal/2022-05/3/ period 3: 100660-100825 - full / old HV] | ||
+ | * period 4: 100826-100842 - empty / old HV | ||
+ | * [https://halldweb.jlab.org/primexd/bcal-cal/2022-05/5/ period 5: 100843-100959 - full / old HV] | ||
+ | * [https://halldweb.jlab.org/primexd/bcal-cal/2022-05/6/ period 6: 100961-101044 - full / new HV] | ||
+ | * period 7: 101045-101073 - empty / new HV | ||
+ | * [https://halldweb.jlab.org/primexd/bcal-cal/2022-05/8/ period 8: 101076-101166 - full / new HV] | ||
+ | * period 9: 101167-101254 - empty / new HV | ||
+ | * [https://halldweb.jlab.org/primexd/bcal-cal/2022-05/10/ period 10: 101255-101392 - full / new HV] | ||
+ | * period 11: 101393-101438 - empty / new HV | ||
+ | * [https://halldweb.jlab.org/primexd/bcal-cal/2022-05/12/ period 12: 101439-101587 - full / new HV] | ||
+ | * period 13: 101597-101622 - empty / new HV | ||
== Energy correction == | == Energy correction == |
Latest revision as of 16:54, 28 October 2023
Contents
List of action
- Create a new variation: ccdb mkvar bcal_cpp -p default
- Copy BCAL gain ratios, run dependence, 202205
- Dump for the 1st run of the 1st period BCAL/ADC_gains, ccdb dump BCAL/ADC_gain -v bcal_cpp -r 100491 > ADC_gains_bcal_cpp_100491.txt, remove # in ADC_gains_bcal_cpp_100491.txt
- Apply the ratio, python apply_gainratios.py --gainratios gainratio_CCDB_202205_mon_ver14.txt --currentgains ADC_gains_bcal_cpp_100491.txt --output ADC_gains_bcal_cpp_100491_new.txt
- Add the corrected table to period 1, ccdb add BCAL/ADC_gains -v bcal_cpp -r 100491-100581 ADC_gains_bcal_cpp_100491_new.txt
- Launch first iteration, ./do_iterations.csh 1 2 BCAL_pi0 2022-05 100491 100581 1 bcal_cpp to check if the entire chain is working
- First iteration is successful but the results are weird, 3rd layer sees nothing?
- Continue with second iteration, ./do_iterations.csh 2 6 BCAL_pi0 2022-05 100491 100581 1 bcal_cpp
- Between iteration 3 and 4, correct a mistake in the macro, bcal_pi0cal_fit.c, which calculates the new gain
- Continue with iteration 6 to 12, source do_iterations.csh 6 12 BCAL_pi0 2022-05 100491 100581 1 bcal_cpp
- After iteration 11, there is no changed between the old and new gains
- Last iteration is launched to confirm the point above, ./do_iterations.csh 12 13 BCAL_pi0 2022-05 100491 100581 1 bcal_cpp
- Add period 1 gain to 2 and 3, ccdb add BCAL/ADC_gains -v bcal_cpp -r 100653-100825 /work/halld/home/gxproj9/bcal-cal/2022-05/period_1/merged-methodBCAL_pi0/g12/new-gains.txt
- Continue with period 3, source do_iterations.csh 1 6 BCAL_pi0 2022-05 100660 100825 3 bcal_cpp
- Change code (of gainmatrix_ig) so that only events with trigger bit 1 or 3 are analyzed
- With the code changes, the calibration is proceeding without calibrating layers 3 and 4 (at the moment)
List of changes
Monitoring results
What is currently in the default variation
all tables have being updated
Periods
- period 0: 100408-100490 - excluded from calibration
- period 1: 100491-100581 - full / old HV
- period 2: 100653-100654 - empty / old HV
- period 3: 100660-100825 - full / old HV
- period 4: 100826-100842 - empty / old HV
- period 5: 100843-100959 - full / old HV
- period 6: 100961-101044 - full / new HV
- period 7: 101045-101073 - empty / new HV
- period 8: 101076-101166 - full / new HV
- period 9: 101167-101254 - empty / new HV
- period 10: 101255-101392 - full / new HV
- period 11: 101393-101438 - empty / new HV
- period 12: 101439-101587 - full / new HV
- period 13: 101597-101622 - empty / new HV