Difference between revisions of "CPP/NPP (2022-05) BCAL pi0 calibration"

From GlueXWiki
Jump to: navigation, search
(Periods)
(Periods)
Line 43: Line 43:
 
* [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/5/ period 5: 100843-100959 - full / old HV]
 
* period 6: 100961-101044 - full / new HV
 
* period 6: 100961-101044 - full / new HV
* [https://halldweb.jlab.org/primexd/bcal-cal/2022-05/7/ period 7: 100945-101073 - empty / new HV]
+
* period 7: 101045-101073 - empty / new HV
 
* period 8: 101076-101166 - full / new HV
 
* period 8: 101076-101166 - full / new HV
 
* period 9: 101167-101254 - empty / new HV
 
* period 9: 101167-101254 - empty / new HV

Revision as of 16:21, 30 June 2023

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

List of changes

Monitoring results

What is currently in the default variation

As of 08062023 17:00 EST

570794  2023-06-08 11-15-30    2023-06-08 11-15-30     bcal_cpp        100491L-100581L 
427512  2022-08-05 13-53-29    2022-08-05 13-53-29     default         81674L-81716L   
427511  2022-08-05 13-53-13    2022-08-05 13-53-13     default         81564L-81633L   
427510  2022-08-05 13-52-52    2022-08-05 13-52-52     default         81473L-81531L   
427509  2022-08-05 13-52-18    2022-08-05 13-52-18     default         81411L-81470L   
427508  2022-08-05 13-51-51    2022-08-05 13-51-51     default         81356L-81381L   
427507  2022-08-05 13-51-25    2022-08-05 13-51-25     default         81331L-81352L   
427506  2022-08-05 13-50-54    2022-08-05 13-50-54     default         81262L-81267L   
418697  2022-06-29 19-01-13    2022-06-29 19-01-13     default         90607L-inf

Periods

Energy correction