VPD Start Time Calibration [run16/trigger/bbq.xml] jobType calibrate [run16/trigger/bbq.xml] baseName run16/trigger/bbq_ [run16/trigger/bbq.xml] rootOutput qa.root [run16/trigger/bbq.xml] reportOutput rQA.pdf [run16/trigger/bbq.xml] paramsOutput params.dat [run16/trigger/bbq.xml] paramsInput [run16/trigger/bbq.xml] paramsLegend [run16/trigger/bbq.xml] channelMap vpdTriggerToTofMap.dat [run16/trigger/bbq.xml] mapTriggerToTof false [run16/trigger/bbq.xml] xVariable bbq-adc [run16/trigger/bbq.xml] yVariable bbq-tdc [run16/trigger/bbq.xml] dataDir /Users/danielbrandenburg/bnl/local/work/TofPicoDstMaker/bin/out/ [run16/trigger/bbq.xml] maxFiles 250 [run16/trigger/bbq.xml] numIterations 5 [run16/trigger/bbq.xml] variableBinning false [run16/trigger/bbq.xml] binMaxError 500.5 [run16/trigger/bbq.xml] removeOffset true [run16/trigger/bbq.xml] outlierRejection true [run16/trigger/bbq.xml] numTOTBins 8 [run16/trigger/bbq.xml] minTOT 1 [run16/trigger/bbq.xml] maxTOT 4095 [run16/trigger/bbq.xml] splineType akima [run16/trigger/bbq.xml] vzOutlierCut[ 0 ] 40 [run16/trigger/bbq.xml] vzOutlierCut[ 1 ] 15 [run16/trigger/bbq.xml] vzOutlierCut[ 2 ] 10 [run16/trigger/bbq.xml] avgNBackgroundCut 10 [run16/trigger/bbq.xml] avgNTimingCut[ 0 ] 2 [run16/trigger/bbq.xml] avgNTimingCut[ 1 ] 1 [run16/trigger/bbq.xml] avgNTimingCut[ 2 ] 0.6 Beginning Calibration [chainLoader] Adding file /Users/danielbrandenburg/bnl/local/work/TofPicoDstMaker/bin/out/tof_a.pico.root to chain [chainLoader] Adding file /Users/danielbrandenburg/bnl/local/work/TofPicoDstMaker/bin/out/tof_b.pico.root to chain [chainLoader] Adding file /Users/danielbrandenburg/bnl/local/work/TofPicoDstMaker/bin/out/tof_c.pico.root to chain [chainLoader] Adding file /Users/danielbrandenburg/bnl/local/work/TofPicoDstMaker/bin/out/tof_d.pico.root to chain [chainLoader] Adding file /Users/danielbrandenburg/bnl/local/work/TofPicoDstMaker/bin/out/tof_e.pico.root to chain [chainLoader] Adding file /Users/danielbrandenburg/bnl/local/work/TofPicoDstMaker/bin/out/tof_f.pico.root to chain [chainLoader] Adding file /Users/danielbrandenburg/bnl/local/work/TofPicoDstMaker/bin/out/tof_g.pico.root to chain [chainLoader] Adding file /Users/danielbrandenburg/bnl/local/work/TofPicoDstMaker/bin/out/tof_h.pico.root to chain [chainLoader] Adding file /Users/danielbrandenburg/bnl/local/work/TofPicoDstMaker/bin/out/tof_i.pico.root to chain [chainLoader] Adding file /Users/danielbrandenburg/bnl/local/work/TofPicoDstMaker/bin/out/tof_j.pico.root to chain [chainLoader] Adding file /Users/danielbrandenburg/bnl/local/work/TofPicoDstMaker/bin/out/tof_k.pico.root to chain [chainLoader] 10 files loaded into chain [calib.calib] [calib.readTriggerToTofMap] Start [calib.readTriggerToTofMap] completed in 0.000101 seconds TAC to NS = 0.016666 Masking Channel 0 Masking Channel 4 Masking Channel 8 Masking Channel 12 Masking Channel 19 Masking Channel 23 Masking Channel 27 Masking Channel 31 [calib.binTOT] Starting [calib.binTOT] Fixed Binning TOT Range : 1 -> 4095 [calib.binTOT] Using 8 bins for TOT [calib.binTOT] Processing 55056 events [===========================================================================]100% [calib.binTOT] Channel[ 0 ] : 0 hits [calib.binTOT] VPD Channel [ 0 ] is dead! ( 0 hits) [calib.binTOT] Channel[ 1 ] : 0 hits [calib.binTOT] VPD Channel [ 1 ] is dead! ( 0 hits) [calib.binTOT] Channel[ 2 ] : 31550 hits [calib.binTOT] Channel[ 3 ] : 31288 hits [calib.binTOT] Channel[ 4 ] : 0 hits [calib.binTOT] VPD Channel [ 4 ] is dead! ( 0 hits) [calib.binTOT] Channel[ 5 ] : 31580 hits [calib.binTOT] Channel[ 6 ] : 31690 hits [calib.binTOT] Channel[ 7 ] : 31717 hits [calib.binTOT] Channel[ 8 ] : 0 hits [calib.binTOT] VPD Channel [ 8 ] is dead! ( 0 hits) [calib.binTOT] Channel[ 9 ] : 31188 hits [calib.binTOT] Channel[ 10 ] : 31214 hits [calib.binTOT] Channel[ 11 ] : 31266 hits [calib.binTOT] Channel[ 12 ] : 0 hits [calib.binTOT] VPD Channel [ 12 ] is dead! ( 0 hits) [calib.binTOT] Channel[ 13 ] : 31356 hits [calib.binTOT] Channel[ 14 ] : 31407 hits [calib.binTOT] Channel[ 15 ] : 31329 hits [calib.binTOT] Channel[ 16 ] : 0 hits [calib.binTOT] VPD Channel [ 16 ] is dead! ( 0 hits) [calib.binTOT] Channel[ 17 ] : 0 hits [calib.binTOT] VPD Channel [ 17 ] is dead! ( 0 hits) [calib.binTOT] Channel[ 18 ] : 0 hits [calib.binTOT] VPD Channel [ 18 ] is dead! ( 0 hits) [calib.binTOT] Channel[ 19 ] : 0 hits [calib.binTOT] VPD Channel [ 19 ] is dead! ( 0 hits) [calib.binTOT] Channel[ 20 ] : 33490 hits [calib.binTOT] Channel[ 21 ] : 33354 hits [calib.binTOT] Channel[ 22 ] : 33246 hits [calib.binTOT] Channel[ 23 ] : 0 hits [calib.binTOT] VPD Channel [ 23 ] is dead! ( 0 hits) [calib.binTOT] Channel[ 24 ] : 33404 hits [calib.binTOT] Channel[ 25 ] : 33476 hits [calib.binTOT] Channel[ 26 ] : 33348 hits [calib.binTOT] Channel[ 27 ] : 0 hits [calib.binTOT] VPD Channel [ 27 ] is dead! ( 0 hits) [calib.binTOT] Channel[ 28 ] : 32272 hits [calib.binTOT] Channel[ 29 ] : 32280 hits [calib.binTOT] Channel[ 30 ] : 33196 hits [calib.binTOT] Channel[ 31 ] : 0 hits [calib.binTOT] VPD Channel [ 31 ] is dead! ( 0 hits) [calib.binTOT] Channel[ 32 ] : 32658 hits [calib.binTOT] Channel[ 33 ] : 32753 hits [calib.binTOT] Channel[ 34 ] : 32685 hits [calib.binTOT] Channel[ 35 ] : 0 hits [calib.binTOT] VPD Channel [ 35 ] is dead! ( 0 hits) [calib.binTOT] Channel[ 36 ] : 0 hits [calib.binTOT] VPD Channel [ 36 ] is dead! ( 0 hits) [calib.binTOT] Channel[ 37 ] : 0 hits [calib.binTOT] VPD Channel [ 37 ] is dead! ( 0 hits) [calib.binTOT] completed in 13.566 seconds [calib.offsets] Loaded: 55056 events [calib.offsets] Made Histograms [===========================================================================]100% Channel [ 1 ] Offset = 0 ns Channel [ 2 ] Offset = 0 ns Channel [ 3 ] Offset = 0 ns Channel [ 4 ] Offset = 0 ns Channel [ 5 ] Offset = 0 ns Channel [ 6 ] Offset = 0 ns Channel [ 7 ] Offset = 0 ns Channel [ 8 ] Offset = 0 ns Channel [ 9 ] Offset = 0 ns Channel [ 10 ] Offset = 0 ns Channel [ 11 ] Offset = 0 ns Channel [ 12 ] Offset = 0 ns Channel [ 13 ] Offset = 0 ns Channel [ 14 ] Offset = 0 ns Channel [ 15 ] Offset = 0 ns Channel [ 16 ] Offset = 0 ns Channel [ 17 ] Offset = 0 ns Channel [ 18 ] Offset = 0 ns Channel [ 19 ] Offset = 0 ns Channel [ 20 ] Offset = 0 ns Channel [ 21 ] Offset = 0 ns Channel [ 22 ] Offset = 0 ns Channel [ 23 ] Offset = 0 ns Channel [ 24 ] Offset = 0 ns Channel [ 25 ] Offset = 0 ns Channel [ 26 ] Offset = 0 ns Channel [ 27 ] Offset = 0 ns Channel [ 28 ] Offset = 0 ns Channel [ 29 ] Offset = 0 ns Channel [ 30 ] Offset = 0 ns Channel [ 31 ] Offset = 0 ns Channel [ 32 ] Offset = 0 ns Channel [ 33 ] Offset = 0 ns Channel [ 34 ] Offset = 0 ns Channel [ 35 ] Offset = 0 ns Channel [ 36 ] Offset = 0 ns Channel [ 37 ] Offset = 0 ns Channel [ 38 ] Offset = 0 ns [===========================================================================]100% Channel 0 floating offset : 0 ns West - East : 0 ns West Mean = 17.5622 ns East Mean = 17.2448 ns West - East offset: 0.31737 ns [calib.offsets] completed in 33.9073 seconds [calib.step[0]] Start [calib.prepareStepHistograms[0]] Histograms Booked [calib.step[0]] Calibrating [===========================================================================]100% [calib.step[0]] completed in 56.6658 seconds [calib.makeCorrections[0]] Start [calib.makeCorrections[0]] completed in 1.2562 seconds FCN=1785.41 FROM MIGRAD STATUS=CONVERGED 86 CALLS 87 TOTAL EDM=6.68916e-10 STRATEGY= 1 ERROR MATRIX UNCERTAINTY 1.7 per cent EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Constant 3.11645e+02 3.11522e+00 6.92032e-03 -2.14207e-05 2 Mean -7.58474e+00 6.05004e-02 -3.61187e-05 2.20567e-04 3 Sigma 8.48189e+00 5.97466e-02 -8.08009e-07 -2.19699e-02 VPD - TPC = mean (fit) = -7.48802 ( -7.58474 ) Channel [ west ] += 0.505999 [calib.step[1]] Start [calib.prepareStepHistograms[1]] Histograms Booked [calib.step[1]] Calibrating [===========================================================================]100% [calib.step[1]] completed in 56.439 seconds [calib.makeCorrections[1]] Start [calib.makeCorrections[1]] completed in 0.588981 seconds FCN=1032.42 FROM MIGRAD STATUS=CONVERGED 81 CALLS 82 TOTAL EDM=5.89605e-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Constant 5.71000e+02 5.54924e+00 6.39090e-02 -9.78887e-06 2 Mean -4.23534e-01 3.32307e-02 5.12686e-04 -2.36132e-03 3 Sigma 4.58063e+00 3.02398e-02 2.15725e-05 -6.16715e-02 VPD - TPC = mean (fit) = -0.486294 ( -0.423534 ) Channel [ west ] += 0.0282552 [calib.step[2]] Start [calib.prepareStepHistograms[2]] Histograms Booked [calib.step[2]] Calibrating [===========================================================================]100% [calib.step[2]] completed in 57.8438 seconds [calib.makeCorrections[2]] Start [calib.makeCorrections[2]] completed in 0.546941 seconds FCN=885.869 FROM MIGRAD STATUS=CONVERGED 69 CALLS 70 TOTAL EDM=1.90331e-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Constant 6.77663e+02 6.67366e+00 7.06271e-02 -8.55181e-06 2 Mean 3.63091e-03 2.78883e-02 3.98193e-04 -6.95870e-03 3 Sigma 3.82071e+00 2.58006e-02 2.13493e-05 -3.43132e-02 VPD - TPC = mean (fit) = -0.0763034 ( 0.00363091 ) Channel [ west ] += -0.000242228 [calib.step[3]] Start [calib.prepareStepHistograms[3]] Histograms Booked [calib.step[3]] Calibrating [===========================================================================]100% [calib.step[3]] completed in 58.5826 seconds [calib.makeCorrections[3]] Start [calib.makeCorrections[3]] completed in 0.585184 seconds FCN=920.7 FROM MIGRAD STATUS=CONVERGED 68 CALLS 69 TOTAL EDM=1.25549e-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Constant 7.08574e+02 7.00128e+00 7.53417e-02 3.18751e-05 2 Mean 3.91760e-02 2.64425e-02 3.87893e-04 -1.02259e-02 3 Sigma 3.64787e+00 2.47840e-02 2.16968e-05 -7.09768e-01 VPD - TPC = mean (fit) = -0.0166087 ( 0.039176 ) Channel [ west ] += -0.00261354 [calib.step[4]] Start [calib.prepareStepHistograms[4]] Histograms Booked [calib.step[4]] Calibrating [===========================================================================]100% [calib.step[4]] completed in 60.391 seconds [calib.makeCorrections[4]] Start [calib.makeCorrections[4]] completed in 0.657334 seconds FCN=903.756 FROM MIGRAD STATUS=CONVERGED 70 CALLS 71 TOTAL EDM=7.82609e-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Constant 7.18894e+02 7.10021e+00 7.56899e-02 2.55889e-06 2 Mean 3.72626e-02 2.59660e-02 3.78979e-04 -3.53287e-03 3 Sigma 3.59957e+00 2.44486e-02 2.14598e-05 1.91616e-01 VPD - TPC = mean (fit) = -0.00808749 ( 0.0372626 ) Channel [ west ] += -0.00248589 Channel [ 0 ] Resolution: 0 ns Channel [ 1 ] Resolution: 0 ns Channel [ 2 ] Resolution: 0.229809 ns Channel [ 3 ] Resolution: 0.164035 ns Channel [ 4 ] Resolution: 0 ns Channel [ 5 ] Resolution: 0.16039 ns Channel [ 6 ] Resolution: 0.284592 ns Channel [ 7 ] Resolution: 0.204031 ns Channel [ 8 ] Resolution: 0 ns Channel [ 9 ] Resolution: 0.158168 ns Channel [ 10 ] Resolution: 0.162683 ns Channel [ 11 ] Resolution: 0.158293 ns Channel [ 12 ] Resolution: 0 ns Channel [ 13 ] Resolution: 0.25441 ns Channel [ 14 ] Resolution: 0.160725 ns Channel [ 15 ] Resolution: 0.197563 ns Channel [ 16 ] Resolution: 0 ns Channel [ 17 ] Resolution: 0 ns Channel [ 18 ] Resolution: 0 ns Channel [ 19 ] Resolution: 0 ns Channel [ 20 ] Resolution: 0.138391 ns Channel [ 21 ] Resolution: 0.151925 ns Channel [ 22 ] Resolution: 0.152079 ns Channel [ 23 ] Resolution: 0 ns Channel [ 24 ] Resolution: 0.143316 ns Channel [ 25 ] Resolution: 0.145852 ns Channel [ 26 ] Resolution: 0.139221 ns Channel [ 27 ] Resolution: 0 ns Channel [ 28 ] Resolution: 0.173325 ns Channel [ 29 ] Resolution: 0.230629 ns Channel [ 30 ] Resolution: 0.162276 ns Channel [ 31 ] Resolution: 0 ns Channel [ 32 ] Resolution: 0.166553 ns Channel [ 33 ] Resolution: 0.16945 ns Channel [ 34 ] Resolution: 0.177505 ns Channel [ 35 ] Resolution: 0 ns Channel [ 36 ] Resolution: 0 ns Channel [ 37 ] Resolution: 0 ns Writing out Trigger Parameters [calib.~calib]