Difference between revisions of "BCAL Calibration"

From GlueXWiki
Jump to: navigation, search
(Created page with " =Steps in Calibration= # '''Remove 4ns ADC hardware offset''' ## Set CCDB table ''/BCAL/TDC_offsets'' to 0 ## Run reconstruction with ''BCAL_online'' plugin to produce the...")
 
(Steps in Calibration)
Line 1: Line 1:
 +
  
  
 
=Steps in Calibration=
 
=Steps in Calibration=
  
# '''Remove 4ns ADC hardware offset'''
+
# '''Remove 4ns ADC hardware offset''' (pass 1)
## Set CCDB table ''/BCAL/TDC_offsets'' to 0
+
## Run reconstruction with ''BCAL_TDC_Timing'' plugin to produce the ''BCAL_TDC_Offsets/Deltat_raw/'' histogram
## Run reconstruction with ''BCAL_online'' plugin to produce the ''/bcal/bcal_Uhit_tdiff_raw_ave'' histogram
+
 
## Run analysis script over output  
 
## Run analysis script over output  
### script ifor single run is ''/home/dalton/gluex/BCAL/monitoring/macros/extract_Uhit_tdiff.C''
+
##* script for single run is ''/home/dalton/gluex/BCAL/monitoring/macros/extract_ADC_Dt_Zcorr.C''
### ''/home/dalton/gluex/BCAL/monitoring/macros/monitor.py'' can be used to run over all runs
+
##* ''/home/dalton/gluex/BCAL/monitoring/macros/monitor.py --adc4ns'' can be used to run over all runs
## Load constants to CCDB table ''/BCAL/ADC_timing_offsets''
+
## 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'''
+
# '''Remove 32ns ADC hardware offset''' (pass 1)
 
## Set CCDB table ''/BCAL/TDC_offsets'' to 0
 
## Set CCDB table ''/BCAL/TDC_offsets'' to 0
## Run reconstruction with ''BCAL_online'' plugin to produce the ''/bcal/bcal_Uhit_tdiff_raw_ave'' histogram
+
## 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 ifor single run is ''/home/dalton/gluex/BCAL/monitoring/macros/extract_Uhit_tdiff.C''
+
##* script for single run is ''/home/dalton/gluex/BCAL/monitoring/macros/extract_Uhit_tdiff.C''
### ''/home/dalton/gluex/BCAL/monitoring/macros/monitor.py'' can be used to run over all runs
+
##* ''/home/dalton/gluex/BCAL/monitoring/macros/monitor.py'' can be used to run over all runs
## Load constants to CCDB table ''/BCAL/TDC_offsets''
+
## Load constants to CCDB table ''/BCAL/TDC_offsets'' using ''python macros/commit_CCDB.py -d output/tdiff/TDCcorrection/runs/ --tdc -v''
# '''TDC timewalk correction'''
+
# '''TDC timewalk correction''' (pass 2)
 
## Prerequisites:  
 
## Prerequisites:  
 
### Remove 4ns ADC hardware offset
 
### Remove 4ns ADC hardware offset
Line 23: Line 23:
 
## 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  
# '''Position from end time-difference'''
+
# '''Position from end time-difference''' (pass 2)
 
## Prerequisites:  
 
## Prerequisites:  
 
### Remove 4ns ADC hardware offset
 
### Remove 4ns ADC hardware offset
## 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'''
+
# '''Calibrate the point time offset from tracking''' (pass 2)
# '''Attenuation length and gain ratio'''
+
 
## Prerequisites:  
 
## Prerequisites:  
### position calibration
+
### Remove 4ns ADC hardware offset
 +
## Run reconstruction with ''BCAL_TDC_Timing'' plugin
 +
## Run analysis script over output
 +
##*
 +
## Load constants to CCDB
 +
# '''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

Revision as of 14:26, 21 April 2017


Steps in Calibration

  1. Remove 4ns ADC hardware offset (pass 1)
    1. Run reconstruction with BCAL_TDC_Timing plugin to produce the BCAL_TDC_Offsets/Deltat_raw/ histogram
    2. Run analysis script over output
      • script for single run is /home/dalton/gluex/BCAL/monitoring/macros/extract_ADC_Dt_Zcorr.C
      • /home/dalton/gluex/BCAL/monitoring/macros/monitor.py --adc4ns can be used to run over all runs
    3. Load constants to CCDB table /BCAL/ADC_timing_offsets using python macros/commit_CCDB.py -d output/ADCendDt/correction/ --adc
  2. Remove 32ns ADC hardware offset (pass 1)
    1. Set CCDB table /BCAL/TDC_offsets to 0
    2. Run reconstruction with BCAL_online plugin to produce the /bcal/bcal_Uhit_tdiff_raw_ave histogram (pass 1)
    3. Run analysis script over output
      • script for single run is /home/dalton/gluex/BCAL/monitoring/macros/extract_Uhit_tdiff.C
      • /home/dalton/gluex/BCAL/monitoring/macros/monitor.py can be used to run over all runs
    4. Load constants to CCDB table /BCAL/TDC_offsets using python macros/commit_CCDB.py -d output/tdiff/TDCcorrection/runs/ --tdc -v
  3. TDC timewalk correction (pass 2)
    1. Prerequisites:
      1. Remove 4ns ADC hardware offset
      2. Remove 32ns ADC hardware offset
    2. Run reconstruction with BCAL_TDC_Timing plugin
    3. Run analysis script over output
    4. Load constants to CCDB
  4. Position from end time-difference (pass 2)
    1. Prerequisites:
      1. Remove 4ns ADC hardware offset
    2. Run reconstruction with BCAL_TDC_Timing plugin
    3. Run analysis script over output
    4. Load constants to CCDB
  5. Calibrate the point time offset from tracking (pass 2)
    1. Prerequisites:
      1. Remove 4ns ADC hardware offset
    2. Run reconstruction with BCAL_TDC_Timing plugin
    3. Run analysis script over output
    4. Load constants to CCDB
  6. Attenuation length and gain ratio (pass 3)
    1. Prerequisites:
      1. position calibration (pass 2)
    2. Run reconstruction with BCAL_attenlength_gainratio plugin
    3. Run analysis script over output
    4. Load constants to CCDB