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

From GlueXWiki
Jump to: navigation, search
(Gains)
(What is currently in the default variation)
 
(14 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
* 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
 
* 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
 
* 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 corrected table to period 1, ccdb add BCAL/ADC_gains -v bcal_cpp -r 100491-100581 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 1 iteration, ./do_iterations.csh 1 2 BCAL_pi0 2022-05 100491 100581 1 bcal_cpp to check if the entire chain is working
+
* 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 14: Line 24:
 
== What is currently in the default variation ==
 
== What is currently in the default variation ==
  
As of 08062023 17:00 EST
+
all tables have being updated
 
+
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 ==
 
== Periods ==
 
* period 0: 100408-100490 - excluded from calibration
 
* period 0: 100408-100490 - excluded from calibration
* period 1: 100491-100581 - full / old HV
+
* [https://halldweb.jlab.org/primexd/bcal-cal/2022-05/1/ period 1: 100491-100581 - full / old HV]
 
* period 2: 100653-100654 - empty / old HV
 
* period 2: 100653-100654 - empty / old HV
* period 3: 100660-100825 - full / 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
 
* period 4: 100826-100842 - empty / old HV
* 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
+
* [https://halldweb.jlab.org/primexd/bcal-cal/2022-05/6/ period 6: 100961-101044 - full / new HV]
* period 7: 100945-101073 - empty / new HV
+
* period 7: 101045-101073 - empty / new HV
* period 8: 101076-101166 - full / 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
 
* period 9: 101167-101254 - empty / new HV
* period 10: 101255-101392 - full / 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
 
* period 11: 101393-101438 - empty / new HV
* period 12: 101439-101587 - full / 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
 
* period 13: 101597-101622 - empty / new HV
 
== Gains ==
 
 
* [https://halldweb.jlab.org/primexd/bcal-cal/2022-05/1/ period 1]
 
  
 
== Energy correction ==
 
== Energy correction ==

Latest revision as of 16:54, 28 October 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
  • 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

Energy correction