VPD Start Time Calibration [run16/trigger/mxq.xml] jobType calibrate [run16/trigger/mxq.xml] baseName run16/trigger/mxq_ [run16/trigger/mxq.xml] rootOutput qa.root [run16/trigger/mxq.xml] reportOutput rQA.pdf [run16/trigger/mxq.xml] paramsOutput params.dat [run16/trigger/mxq.xml] paramsInput [run16/trigger/mxq.xml] paramsLegend [run16/trigger/mxq.xml] channelMap vpdTriggerToTofMap.dat [run16/trigger/mxq.xml] mapTriggerToTof false [run16/trigger/mxq.xml] xVariable mxq-adc [run16/trigger/mxq.xml] yVariable mxq-tdc [run16/trigger/mxq.xml] dataDir /Users/danielbrandenburg/bnl/local/work/TofPicoDstMaker/bin/out/ [run16/trigger/mxq.xml] maxFiles 10 [run16/trigger/mxq.xml] numIterations 6 [run16/trigger/mxq.xml] variableBinning false [run16/trigger/mxq.xml] binMaxError 500.5 [run16/trigger/mxq.xml] removeOffset true [run16/trigger/mxq.xml] outlierRejection true [run16/trigger/mxq.xml] numTOTBins 8 [run16/trigger/mxq.xml] minTOT 1 [run16/trigger/mxq.xml] maxTOT 4095 [run16/trigger/mxq.xml] splineType akima [run16/trigger/mxq.xml] vzOutlierCut[ 0 ] 40 [run16/trigger/mxq.xml] vzOutlierCut[ 1 ] 15 [run16/trigger/mxq.xml] vzOutlierCut[ 2 ] 10 [run16/trigger/mxq.xml] avgNBackgroundCut 10 [run16/trigger/mxq.xml] avgNTimingCut[ 0 ] 2 [run16/trigger/mxq.xml] avgNTimingCut[ 1 ] 1 [run16/trigger/mxq.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 9.4e-05 seconds TAC to NS = 0.016666 Masking Channel 0 Masking Channel 1 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 ] : 31187 hits [calib.binTOT] Channel[ 4 ] : 0 hits [calib.binTOT] VPD Channel [ 4 ] is dead! ( 0 hits) [calib.binTOT] Channel[ 5 ] : 31557 hits [calib.binTOT] Channel[ 6 ] : 31763 hits [calib.binTOT] Channel[ 7 ] : 31947 hits [calib.binTOT] Channel[ 8 ] : 0 hits [calib.binTOT] VPD Channel [ 8 ] is dead! ( 0 hits) [calib.binTOT] Channel[ 9 ] : 31121 hits [calib.binTOT] Channel[ 10 ] : 31188 hits [calib.binTOT] Channel[ 11 ] : 31303 hits [calib.binTOT] Channel[ 12 ] : 0 hits [calib.binTOT] VPD Channel [ 12 ] is dead! ( 0 hits) [calib.binTOT] Channel[ 13 ] : 31359 hits [calib.binTOT] Channel[ 14 ] : 31083 hits [calib.binTOT] Channel[ 15 ] : 31315 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 ] : 33346 hits [calib.binTOT] Channel[ 21 ] : 33236 hits [calib.binTOT] Channel[ 22 ] : 33369 hits [calib.binTOT] Channel[ 23 ] : 0 hits [calib.binTOT] VPD Channel [ 23 ] is dead! ( 0 hits) [calib.binTOT] Channel[ 24 ] : 33008 hits [calib.binTOT] Channel[ 25 ] : 33319 hits [calib.binTOT] Channel[ 26 ] : 33477 hits [calib.binTOT] Channel[ 27 ] : 0 hits [calib.binTOT] VPD Channel [ 27 ] is dead! ( 0 hits) [calib.binTOT] Channel[ 28 ] : 32296 hits [calib.binTOT] Channel[ 29 ] : 32514 hits [calib.binTOT] Channel[ 30 ] : 32950 hits [calib.binTOT] Channel[ 31 ] : 0 hits [calib.binTOT] VPD Channel [ 31 ] is dead! ( 0 hits) [calib.binTOT] Channel[ 32 ] : 32624 hits [calib.binTOT] Channel[ 33 ] : 32622 hits [calib.binTOT] Channel[ 34 ] : 32602 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.6555 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 = 13.6339 ns East Mean = 13.4315 ns West - East offset: 0.202402 ns [calib.offsets] completed in 31.2455 seconds [calib.step[0]] Start [calib.prepareStepHistograms[0]] Histograms Booked [calib.step[0]] Calibrating [===========================================================================]100% [calib.step[0]] completed in 54.0721 seconds [calib.makeCorrections[0]] Start [calib.makeCorrections[0]] completed in 1.20284 seconds FCN=1729.52 FROM MIGRAD STATUS=CONVERGED 88 CALLS 89 TOTAL EDM=3.54486e-10 STRATEGY= 1 ERROR MATRIX UNCERTAINTY 1.7 per cent EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Constant 3.07036e+02 3.04363e+00 -2.59397e-03 -2.97242e-06 2 Mean -5.40665e+00 6.13198e-02 -5.19552e-06 1.86028e-05 3 Sigma 8.63602e+00 5.98979e-02 1.70567e-06 1.67803e-02 VPD - TPC = mean (fit) = -5.32216 ( -5.40665 ) Channel [ west ] += 0.360693 [calib.step[1]] Start [calib.prepareStepHistograms[1]] Histograms Booked [calib.step[1]] Calibrating [===========================================================================]100% [calib.step[1]] completed in 54.4521 seconds [calib.makeCorrections[1]] Start [calib.makeCorrections[1]] completed in 0.574339 seconds FCN=997.142 FROM MIGRAD STATUS=CONVERGED 81 CALLS 82 TOTAL EDM=1.87142e-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Constant 6.04561e+02 5.83416e+00 6.64278e-02 -1.76775e-05 2 Mean -5.47480e-01 3.10786e-02 4.76415e-04 -1.91390e-04 3 Sigma 4.33587e+00 2.82242e-02 2.09587e-05 -1.34273e-01 VPD - TPC = mean (fit) = -0.540278 ( -0.54748 ) Channel [ west ] += 0.036524 [calib.step[2]] Start [calib.prepareStepHistograms[2]] Histograms Booked [calib.step[2]] Calibrating [===========================================================================]100% [calib.step[2]] completed in 55.9472 seconds [calib.makeCorrections[2]] Start [calib.makeCorrections[2]] completed in 0.527357 seconds FCN=917.731 FROM MIGRAD STATUS=CONVERGED 68 CALLS 69 TOTAL EDM=5.42973e-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Constant 7.52962e+02 7.41555e+00 7.98576e-02 -1.76227e-05 2 Mean -5.04855e-02 2.48150e-02 3.64749e-04 1.17325e-02 3 Sigma 3.43918e+00 2.32282e-02 2.13771e-05 -9.13007e-02 VPD - TPC = mean (fit) = -0.0988894 ( -0.0504855 ) Channel [ west ] += 0.00336803 [calib.step[3]] Start [calib.prepareStepHistograms[3]] Histograms Booked [calib.step[3]] Calibrating [===========================================================================]100% [calib.step[3]] completed in 60.9973 seconds [calib.makeCorrections[3]] Start [calib.makeCorrections[3]] completed in 0.543877 seconds FCN=958.617 FROM MIGRAD STATUS=CONVERGED 82 CALLS 83 TOTAL EDM=7.55967e-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Constant 7.91167e+02 7.84308e+00 8.58322e-02 6.52716e-07 2 Mean 2.67409e-03 2.34837e-02 3.54474e-04 -4.62838e-05 3 Sigma 3.26741e+00 2.23539e-02 2.17760e-05 1.97631e-03 VPD - TPC = mean (fit) = -0.0200528 ( 0.00267409 ) Channel [ west ] += -0.000178396 [calib.step[4]] Start [calib.prepareStepHistograms[4]] Histograms Booked [calib.step[4]] Calibrating [===========================================================================]100% [calib.step[4]] completed in 58.3697 seconds [calib.makeCorrections[4]] Start [calib.makeCorrections[4]] completed in 0.581501 seconds FCN=949.739 FROM MIGRAD STATUS=CONVERGED 78 CALLS 79 TOTAL EDM=9.28462e-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Constant 8.01534e+02 7.92402e+00 8.65323e-02 6.65319e-07 2 Mean 3.27665e-02 2.31418e-02 3.48358e-04 -8.46651e-05 3 Sigma 3.22679e+00 2.19546e-02 2.15846e-05 1.98363e-03 VPD - TPC = mean (fit) = 0.0355413 ( 0.0327665 ) Channel [ west ] += -0.00218595 [calib.step[5]] Start [calib.prepareStepHistograms[5]] Histograms Booked [calib.step[5]] Calibrating [===========================================================================]100% [calib.step[5]] completed in 59.153 seconds [calib.makeCorrections[5]] Start [calib.makeCorrections[5]] completed in 0.622159 seconds FCN=928.302 FROM MIGRAD STATUS=CONVERGED 78 CALLS 79 TOTAL EDM=7.23586e-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Constant 8.03257e+02 7.93084e+00 8.56858e-02 5.38908e-07 2 Mean 2.27721e-02 2.31018e-02 3.43867e-04 -8.63064e-05 3 Sigma 3.22358e+00 2.18873e-02 2.13286e-05 1.96880e-03 VPD - TPC = mean (fit) = 0.0378934 ( 0.0227721 ) Channel [ west ] += -0.00151919 Channel [ 0 ] Resolution: 0 ns Channel [ 1 ] Resolution: 0 ns Channel [ 2 ] Resolution: 0.180216 ns Channel [ 3 ] Resolution: 0.176407 ns Channel [ 4 ] Resolution: 0 ns Channel [ 5 ] Resolution: 0.143522 ns Channel [ 6 ] Resolution: 0.143098 ns Channel [ 7 ] Resolution: 0.136528 ns Channel [ 8 ] Resolution: 0 ns Channel [ 9 ] Resolution: 0.136208 ns Channel [ 10 ] Resolution: 0.146283 ns Channel [ 11 ] Resolution: 0.147076 ns Channel [ 12 ] Resolution: 0 ns Channel [ 13 ] Resolution: 0.133416 ns Channel [ 14 ] Resolution: 0.139824 ns Channel [ 15 ] Resolution: 0.132173 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.137187 ns Channel [ 21 ] Resolution: 0.157011 ns Channel [ 22 ] Resolution: 0.153282 ns Channel [ 23 ] Resolution: 0 ns Channel [ 24 ] Resolution: 0.148495 ns Channel [ 25 ] Resolution: 0.17485 ns Channel [ 26 ] Resolution: 0.137895 ns Channel [ 27 ] Resolution: 0 ns Channel [ 28 ] Resolution: 0.206099 ns Channel [ 29 ] Resolution: 0.179547 ns Channel [ 30 ] Resolution: 0.170409 ns Channel [ 31 ] Resolution: 0 ns Channel [ 32 ] Resolution: 0.143099 ns Channel [ 33 ] Resolution: 0.156953 ns Channel [ 34 ] Resolution: 0.153905 ns Channel [ 35 ] Resolution: 0 ns Channel [ 36 ] Resolution: 0 ns Channel [ 37 ] Resolution: 0 ns Writing out Trigger Parameters [calib.~calib]