############################################################### # # Data Base for Bigbite Trigger plane # # units: m & ns # # Author: Jin Huang July 2007 # ############################################################### ############################################################### # Example ############################################################### # comment line start with '#' or empty line # WARNING: "empty line" means completely empty, even with out # space or tab # # example section for Bigbite trigger plane dE subdetector TDC cratemap # #[ BB.tp.de.cratemap.tdc.example ] # # reference channel goes first # crate slot lo hi model refindex #5 12 119 119 1190 -1 # crate=-1 end to this subsection #-1 0 0 0 0 0 # # subsection for the left PMTs # crate slot lo hi model refindex #5 12 80 95 1190 0 #5 12 96 102 1190 0 # lines ignored here #-1 0 0 0 0 0 # # subsection for the right PMTs # crate slot lo hi model refindex #5 12 64 79 1190 0 #5 12 103 110 1190 0 # lines ignored here #-1 0 0 0 0 0 #[ BB.tp.e.left_pedestals.example ] # first and last index in array #0 30 # no comment in table # Table start here # 0 0 397 423 464 #487 496 576 522 335 #361 433 347 648 512 #609 529 451 537 540 #496 554 385 382 294 #376 403 331 335 230 #288 ############################################################### # Bigbite trigger plane detector ############################################################### # TERMINOLOGY follows conventions of Hall A Tech Notes JLAB-TN-02-012: # http://hallaweb.jlab.org/publications/Technotes/files/2002/02-012.pdf [ BB.tp.geometry ] # origin of trigger plane # relative to Transport Coordinate System # x y z -1 0 .98 # x and y axis of trigger plane # relative to Transport Coordinate System # z axis will be calculated by z=x cross y # x axis # x y z 1 0 0 # y axis # x y z 0 1 0 [ BB.tp.hit_acceptance ] # when x y z distance between 2 hits in E and dE plane is smaller # than the number below, they will be combined as hit in Triggerplane # dx dy dz .05 .20 .05 #limits of accepatble time difference between 2 hits in E and dE plane #time difference=TOF(dE)-TOF(E) # Min Max -100 100 # limits of accepatble x and y diffence between hit # and track projection on trigger plane # dx dy .5 .5 ############################################################### # Bigbite trigger plane E subdetector ############################################################### [ BB.tp.e.cratemap.tdc ] # Ref Idx:index for reference channel # crate slot Lo Hi Model Ref Idx. 5 12 119 119 1190 -1 -1 0 0 0 0 0 # left PMTs 5 12 31 31 1190 0 5 12 30 30 1190 0 5 12 29 29 1190 0 5 12 28 28 1190 0 5 12 27 27 1190 0 5 12 26 26 1190 0 5 12 25 25 1190 0 5 12 24 24 1190 0 5 12 23 23 1190 0 5 12 22 22 1190 0 5 12 21 21 1190 0 5 12 20 20 1190 0 5 12 19 19 1190 0 5 12 18 18 1190 0 5 12 17 17 1190 0 5 12 16 16 1190 0 5 12 47 47 1190 0 5 12 46 46 1190 0 5 12 45 45 1190 0 5 12 44 44 1190 0 5 12 43 43 1190 0 5 12 42 42 1190 0 5 12 41 41 1190 0 5 12 40 40 1190 0 -1 0 0 0 0 0 # right PMTs 5 12 15 15 1190 0 5 12 14 14 1190 0 5 12 13 13 1190 0 5 12 12 12 1190 0 5 12 11 11 1190 0 5 12 10 10 1190 0 5 12 9 9 1190 0 5 12 8 8 1190 0 5 12 7 7 1190 0 5 12 6 6 1190 0 5 12 5 5 1190 0 5 12 4 4 1190 0 5 12 3 3 1190 0 5 12 2 2 1190 0 5 12 1 1 1190 0 5 12 0 0 1190 0 5 12 39 39 1190 0 5 12 38 38 1190 0 5 12 37 37 1190 0 5 12 36 36 1190 0 5 12 35 35 1190 0 5 12 34 34 1190 0 5 12 33 33 1190 0 5 12 32 32 1190 0 -1 0 0 0 0 0 [ BB.tp.e.cratemap.adc ] # crate slot Lo Hi Model # left 24 PMT 5 6 0 15 792 5 7 0 7 792 -1 0 0 0 0 # right 24 PMT 5 6 16 31 792 5 7 8 15 792 -1 0 0 0 0 [ BB.tp.e.calib ] # ----------------------------------------------------------------------- # first and last index of reference channel with same time resorlution # ex. 0 1 stand for 2 reference channel with index 0 & 1 0 0 # TDC resorlution of above reference channels 0.1000 # if necessary, continue this list untill reach nRefCh-1 # ----------------------------------------------------------------------- # first and last index of bars with same specification 0 23 # middle of the bar, relative to the center of the detector it belongs to # x,y,z,of first bar and dx,dy,dz between bars .043 0.0 .025 .086 0. 0. # fix me: what'z z for E plane? # full width (from end to end) # xw,yw,zw .086 .50 .03 # effective speed of light(m/ns) and attenuation in scintillator # attenuation: Y_ADC = TMath::Log(L_ADC/R_ADC)*attenuation/2.0; 0.113554 1.e8 # n=1.58, taking reflection into consideration, I just set c=1^8 m/s temporarily # I do not know attenuation, probably it's not useful # (default value of) gain, ped, res, toff, walk, lowtdclim, uptdclim, wrapa # # gain, ped: fAmplPedCor = fRawAmpl - pmt->GetPed(); # fAmpl = fAmplPedCor * pmt->GetGain(); # res, toff: fTime = fRawTime * res - toff # walk: time-walk correction, t=t-walk*pow(adc,-0.5) # lowtdclim, uptdclim: Lower and upper boundary for an acceptable hit # wrapa: F1TDC wrap-round time (in Rawtime format) # # left PMT # gain, ped, res, toff, walk, lowtdclim, uptdclim, wrapa 1. 0 0.1000 0.0 0.0 -500 200 65253 # right PMT # gain, ped, res, toff, walk, lowtdclim, uptdclim, wrapa 1. 0 0.1000 0.0 0.0 -500 200 65253 # ----------------------------------------------------------------------- [ BB.tp.e.left_gain ] # first and last index in array 0 23 # Table start here 1.19745 1.06415 0.941569 0.964103 0.992958 1.03108 1.01439 1.01257 0.986014 1.05618 1.06215 1.11683 0.808023 0.979167 1.07429 1.03676 1.00535 1.01439 1.00714 0.99823 1.02732 1.01257 0.926108 1.08046 #0.922329 1.07722 1.03423 1.14038 #1.099000 1.18003 1.18155 1.13114 #1.085310 1.14617 1.22194 1.13337 #1.148750 1.17274 1.17958 1.21006 #1.208020 1.15657 1.10404 0.963405 #1.009500 0.90635 1.11857 1.000000 [ BB.tp.e.left_pedestals ] # first and last index in array 0 23 # Table start here 208.0 201.0 210.0 208.0 234.0 200.0 213.0 209.0 220.0 191.0 206.0 227.0 214.0 232.0 194.0 218.0 218.0 183.0 155.0 170.0 156.0 180.0 186.0 160.0 #182.677 152.780 124.161 137.427 #125.021 146.594 153.248 126.654 #152.689 124.788 201.621 200.381 #192.873 141.470 147.638 196.307 #286.174 238.374 187.152 227.130 #163.785 224.934 232.066 223.115 [ BB.tp.e.left_toff ] # toff should contain correction for # the time of light traveling through bars # # first and last index in array 0 23 # Table start here 1.39804 -0.35054 0.95613 0.75033 -1.71058 -0.33620 -1.53196 0.33393 -2.55779 -0.42459 -1.51276 -2.43692 -3.33691 -1.44639 -1.05852 -0.47992 -3.33890 -0.67694 0.76870 -0.28079 0.00525 2.71559 -0.00958 0.83594 == [ BB.tp.e.right_gain ] # first and last index in array 0 23 # Table start here 1.30797 1.52144 1.06075 1.11675 1.06486 1.0628 1.05263 0.918964 1.03093 1.13285 0.641399 1.03872 1.09671 1.01382 1.05668 0.922045 0.8 0.942588 1.01758 0.970874 0.959024 0.991885 1.06693 1.06075 #0.930701 0.950782 1.15187 1.16454 #1.140330 1.164240 1.11602 1.05386 #1.151920 1.161540 1.12452 1.14904 #1.141150 1.088000 1.09153 1.10259 #1.068090 1.101930 1.14455 1.18522 #1.276300 1.061820 0.95648 0.84219 [ BB.tp.e.right_pedestals ] # first and last index in array 0 23 # Table start here 219.0 212.0 217.0 203.0 218.0 225.0 199.0 236.0 242.0 224.0 216.0 201.0 196.0 223.0 213.0 213.0 187.0 157.0 239.0 237.0 230.0 176.0 180.0 234.0 #225.599 206.255 211.177 237.898 #229.474 219.869 201.265 131.560 #128.451 222.030 214.192 166.908 #228.053 213.533 209.356 174.490 #258.997 256.831 301.935 322.729 #342.693 321.323 304.617 301.143 [ BB.tp.e.right_toff ] # first and last index in array 0 23 # Table start here -1.89304 -0.74446 -2.65113 1.55467 -0.18442 0.24120 -1.16304 -1.62893 -0.13721 0.52959 -0.90224 0.74192 0.68191 2.01139 0.76353 2.42492 1.84390 2.38194 1.39630 2.38579 2.89975 1.98941 0.51458 0.66906 [BB.tp.e.WarningThreshold] # Threshold of ave. error reference per event that will pop up warnings 0.002 ############################################################### # Bigbite trigger plane dE subdetector ############################################################### [ BB.tp.de.cratemap.tdc ] # crate slot Lo Hi Model Ref Idx. # Reference channel 5 12 119 119 1190 -1 -1 0 0 0 0 0 # left PMTs 5 12 95 95 1190 0 5 12 94 94 1190 0 5 12 93 93 1190 0 5 12 92 92 1190 0 5 12 91 91 1190 0 5 12 90 90 1190 0 5 12 89 89 1190 0 5 12 88 88 1190 0 5 12 87 87 1190 0 5 12 86 86 1190 0 5 12 85 85 1190 0 5 12 84 84 1190 0 5 12 83 83 1190 0 5 12 82 82 1190 0 5 12 81 81 1190 0 5 12 80 80 1190 0 5 12 111 111 1190 0 5 12 110 110 1190 0 5 12 109 109 1190 0 5 12 108 108 1190 0 5 12 107 107 1190 0 5 12 106 106 1190 0 5 12 105 105 1190 0 5 12 104 104 1190 0 -1 0 0 0 0 0 # right PMTs 5 12 79 79 1190 0 5 12 78 78 1190 0 5 12 77 77 1190 0 5 12 76 76 1190 0 5 12 75 75 1190 0 5 12 74 74 1190 0 5 12 73 73 1190 0 5 12 72 72 1190 0 5 12 71 71 1190 0 5 12 70 70 1190 0 5 12 69 69 1190 0 5 12 68 68 1190 0 5 12 67 67 1190 0 5 12 66 66 1190 0 5 12 65 65 1190 0 5 12 64 64 1190 0 5 12 103 103 1190 0 5 12 102 102 1190 0 5 12 101 101 1190 0 5 12 100 100 1190 0 5 12 99 99 1190 0 5 12 98 98 1190 0 5 12 97 97 1190 0 5 12 96 96 1190 0 -1 0 0 0 0 0 [ BB.tp.de.cratemap.adc ] # left 24 PMTs 5 8 0 15 792 5 7 16 23 792 -1 0 0 0 0 # right 24 PMTs 5 8 16 31 792 5 7 24 31 792 -1 0 0 0 0 [ BB.tp.de.calib ] # ----------------------------------------------------------------------- # units: m & ns # # first and last index of reference channel with same time resorlution # ex. 0 1 stand for 2 reference channel with index 0 & 1 0 0 # TDC resorlution of above reference channels 0.1000 # if necessary, continue this list untill reach nRefCh-1 # ----------------------------------------------------------------------- # first and last index of bars with same specification 0 23 # middle of the bar, relative to the center of the detector it belongs too # x,y,z,of first bar and dx,dy,dz 0.0 0.0 0.0 .086 0. 0. # full width (from end to end) # xw,yw,zw .086 .50 .003 # I do not know zw yet # effective speed of light(m/ns) and attenuation # attenuation: Y_ADC = TMath::Log(L_ADC/R_ADC)*attenuation/2.0; 0.113554 1.e8 # n=1.58, taking reflection into consideration, I just set c=1^8 m/s temporarily # I do not know attenuation, probably it's not useful # gain, ped, res, toff, walk, lowtdclim, uptdclim, wrapa # gain, ped: fAmplPedCor = fRawAmpl - pmt->GetPed(); # fAmpl = fAmplPedCor * pmt->GetGain(); # res, toff(ns): fTime = fRawTime * res - toff # walk: time-walk correction, t=t-walk*pow(adc,-0.5) # lowtdclim, uptdclim (ns): Lower and upper boundary for an acceptable hit # wrapa (raw time): F1TDC wrap-round time (in Rawtime format) # # left PMT # gain, ped, res, toff, walk, lowtdclim, uptdclim, wrapa 1. 0 0.1000 0.0 0.0 -500 200 65253 # right PMT 1. 0 0.1000 0.0 0.0 -500 200 65253 # ----------------------------------------------------------------------- [ BB.tp.de.left_gain ] # first and last index in array 0 23 # Table start here 1.12878 1.04849 1.18951 1.64234 1.84828 1.25714 1.23952 1.12878 1.25714 1.26614 1.5028 1.37436 2.53773 1.84828 1.62723 1.70569 1.77412 2.16499 2.04014 1.41844 2.46695 1.73923 1.54211 1.29393 #1.92901 1.92774 1.84007 1.61886 #1.73685 1.86439 1.89244 1.67252 #1.78200 2.01813 1.99145 1.93095 #1.85286 1.68188 1.75891 1.54510 #1.77883 1.47314 2.21180 1.39628 #2.14524 1.82520 1.79460 1.09259 [ BB.tp.de.left_pedestals ] # first and last index in array 0 23 # Table start here 239.0 274.0 266.0 275.0 270.0 283.0 232.0 275.0 286.0 305.0 280.0 293.0 305.0 292.0 276.0 282.0 263.0 244.0 248.0 272.0 265.0 253.0 236.0 159.0 #322.792 317.969 315.259 308.330 #305.460 323.829 325.305 298.384 #254.001 327.316 314.732 321.100 #339.122 345.066 303.040 317.361 #299.418 313.009 310.572 310.759 #324.470 306.902 330.468 309.460 [ BB.tp.de.left_toff ] # toff should contain correction for # the time of light traveling through bars # # first and last index in array 0 23 # Table start here 0.293592 1.34719 1.02527 0.331194 0.0573424 0.174772 -0.167447 -0.352562 -0.0343 0.55185 0.129248 -0.806641 -0.683097 0.376361 0.884879 0.97181 0.641142 0.00644306 0.286867 0.00684749 0.0618645 -0.374966 0.082739 0.592144 [ BB.tp.de.right_gain ] # first and last index in array 0 23 # Table start here 1.49832 4.04401 1.17998 1.62497 1.81364 2.01874 1.95556 1.88193 1.67957 1.8269 1.81364 1.48057 1.9107 2.08614 1.98665 1.94037 2.75242 1.61447 1.76248 2.43113 2.00256 1.60411 1.31675 2.36219 #2.09965 2.02348 1.68591 1.73357 #1.73195 1.90295 1.58400 1.54296 #1.83115 1.93108 1.74498 1.64478 #1.66256 1.72320 1.71862 1.69573 #1.56554 1.93269 1.62762 1.93330 #1.55377 1.47929 1.80137 1.00000 [ BB.tp.de.right_pedestals ] # first and last index in array 0 23 # Table start here 270.0 283.0 282.0 280.0 295.0 279.0 303.0 281.0 278.0 302.0 256.0 268.0 151.8 290.0 285.0 298.0 256.0 258.0 251.0 198.0 262.0 251.0 246.0 210.0 #306.050 303.392 295.693 305.935 #299.229 314.015 247.181 305.914 #314.848 336.343 310.095 324.128 #335.274 322.456 303.701 307.136 #305.309 332.018 283.469 296.797 #296.621 319.811 313.977 328.881 [ BB.tp.de.right_toff ] # first and last index in array 0 23 # Table start here -0.293592 -1.34719 -1.02527 -0.331194 -0.0573424 -0.174772 0.167447 0.352562 0.0343 -0.55185 -0.129248 0.806641 0.683097 -0.376361 -0.884879 -0.97181 -0.641142 -0.00644306 -0.286867 -0.00684749 -0.0618645 0.374966 -0.082739 -0.592144 [BB.tp.de.WarningThreshold] # Threshold of ave. error reference per event that will pop up warnings 0.002