Difference between revisions of "BCAL Calibration"
From GlueXWiki
(→Steps in Calibration) |
(→Steps in Calibration) |
||
Line 1: | Line 1: | ||
+ | |||
+ | |||
+ | |||
=Steps in Calibration= | =Steps in Calibration= | ||
+ | |||
+ | macros are located at ''/group/halld/Users/dalton/BCAL/monitoring/macros/'' | ||
# '''Remove 4ns ADC hardware offset''' (pass 1) | # '''Remove 4ns ADC hardware offset''' (pass 1) | ||
## Run reconstruction with ''BCAL_TDC_Timing'' plugin to produce the ''BCAL_TDC_Offsets/Deltat_raw/'' histogram | ## Run reconstruction with ''BCAL_TDC_Timing'' plugin to produce the ''BCAL_TDC_Offsets/Deltat_raw/'' histogram | ||
## Run analysis script over output | ## Run analysis script over output | ||
− | ##* script for single run is '' | + | ##* script for single run is ''macros/extract_ADC_Dt_Zcorr.C'' |
− | ##* '' | + | ##* ''macros/monitor.py --adc4ns'' can be used to run over all runs |
## Load constants to CCDB table ''/BCAL/ADC_timing_offsets'' using ''python macros/commit_CCDB.py -d output/ADCendDt/correction/ --adc'' | ## Load constants to CCDB table ''/BCAL/ADC_timing_offsets'' using ''python macros/commit_CCDB.py -d output/ADCendDt/correction/ --adc'' | ||
# '''Remove 32ns ADC hardware offset''' (pass 1) | # '''Remove 32ns ADC hardware offset''' (pass 1) | ||
Line 14: | Line 19: | ||
## Run reconstruction with ''BCAL_online'' plugin to produce the ''/bcal/bcal_Uhit_tdiff_raw_ave'' histogram (pass 1) | ## Run reconstruction with ''BCAL_online'' plugin to produce the ''/bcal/bcal_Uhit_tdiff_raw_ave'' histogram (pass 1) | ||
## Run analysis script over output | ## Run analysis script over output | ||
− | ##* script for single run is '' | + | ##* script for single run is ''macros/extract_Uhit_tdiff.C'' |
− | ##* '' | + | ##* ''macros/monitor.py'' can be used to run over all runs |
## Load constants to CCDB table ''/BCAL/TDC_offsets'' using ''python macros/commit_CCDB.py -d output/tdiff/TDCcorrection/runs/ --tdc -v'' | ## Load constants to CCDB table ''/BCAL/TDC_offsets'' using ''python macros/commit_CCDB.py -d output/tdiff/TDCcorrection/runs/ --tdc -v'' | ||
# '''TDC timewalk correction''' (pass 2) | # '''TDC timewalk correction''' (pass 2) | ||
Line 30: | Line 35: | ||
## Run reconstruction with ''BCAL_TDC_Timing'' plugin | ## Run reconstruction with ''BCAL_TDC_Timing'' plugin | ||
## Run analysis script over output | ## Run analysis script over output | ||
− | ## | + | ##* |
## Load constants to CCDB | ## Load constants to CCDB | ||
# '''Calibrate the point time offset from tracking''' (pass 2) | # '''Calibrate the point time offset from tracking''' (pass 2) | ||
Line 37: | Line 42: | ||
## Run reconstruction with ''BCAL_TDC_Timing'' plugin | ## Run reconstruction with ''BCAL_TDC_Timing'' plugin | ||
## Run analysis script over output | ## Run analysis script over output | ||
− | ##* | + | ### Linear fit (needs ~1M events per run) |
+ | ###* script for single run is ''macros/fit_ZvsDeltaT_p1.C'' | ||
+ | ###* ''macros/monitor.py'' can be used to run over all runs | ||
+ | ### Quadratic fit (needs 5 files per run) | ||
## Load constants to CCDB | ## Load constants to CCDB | ||
# '''Attenuation length and gain ratio''' (pass 3) | # '''Attenuation length and gain ratio''' (pass 3) |
Revision as of 09:40, 24 April 2017
Steps in Calibration
macros are located at /group/halld/Users/dalton/BCAL/monitoring/macros/
- Remove 4ns ADC hardware offset (pass 1)
- Run reconstruction with BCAL_TDC_Timing plugin to produce the BCAL_TDC_Offsets/Deltat_raw/ histogram
- Run analysis script over output
- script for single run is macros/extract_ADC_Dt_Zcorr.C
- macros/monitor.py --adc4ns can be used to run over all runs
- Load constants to CCDB table /BCAL/ADC_timing_offsets using python macros/commit_CCDB.py -d output/ADCendDt/correction/ --adc
- Remove 32ns ADC hardware offset (pass 1)
- Set CCDB table /BCAL/TDC_offsets to 0
- Run reconstruction with BCAL_online plugin to produce the /bcal/bcal_Uhit_tdiff_raw_ave histogram (pass 1)
- Run analysis script over output
- script for single run is macros/extract_Uhit_tdiff.C
- macros/monitor.py can be used to run over all runs
- Load constants to CCDB table /BCAL/TDC_offsets using python macros/commit_CCDB.py -d output/tdiff/TDCcorrection/runs/ --tdc -v
- TDC timewalk correction (pass 2)
- Prerequisites:
- Remove 4ns ADC hardware offset
- Remove 32ns ADC hardware offset
- Run reconstruction with BCAL_TDC_Timing plugin
- Run analysis script over output
- Load constants to CCDB
- Prerequisites:
- Position from end time-difference (pass 2)
- Prerequisites:
- Remove 4ns ADC hardware offset
- Run reconstruction with BCAL_TDC_Timing plugin
- Run analysis script over output
- Load constants to CCDB
- Prerequisites:
- Calibrate the point time offset from tracking (pass 2)
- Prerequisites:
- Remove 4ns ADC hardware offset
- Run reconstruction with BCAL_TDC_Timing plugin
- Run analysis script over output
- Linear fit (needs ~1M events per run)
- script for single run is macros/fit_ZvsDeltaT_p1.C
- macros/monitor.py can be used to run over all runs
- Quadratic fit (needs 5 files per run)
- Linear fit (needs ~1M events per run)
- Load constants to CCDB
- Prerequisites:
- Attenuation length and gain ratio (pass 3)
- Prerequisites:
- position calibration (pass 2)
- Run reconstruction with BCAL_attenlength_gainratio plugin
- Run analysis script over output
- Load constants to CCDB
- Prerequisites: