BCM calibration E04-018
Run 3220
http://www.jlab.org/~adaq/halog/html/0705_archive/070507012036.html http://www.jlab.org/~adaq/halog/html/0705_archive/070507012036.html
Full replayed already
Plot
right_bcm_u1:IBC0L02Current
right_bcm_u3:IBC0L02Current
right_bcm_u10:IBC0L02Current
Second current calibration
keyword=BCM calibration
BCM Current calibration
keyword=BCM calibration
BCM Current calibration
Unser calibration @100 uA file /usr/opdata/bcm_hallA/Bcmlog_129 coda file 3893 /adaql10/work1/e04018/onlroot/onlana_full_3893.root
Linearity test 100, 50, 20, 10, 5, 2, 1, 0.5 uA file /usr/opdata/bcm_hallA/Bcmlog_130 coda file 3894 /adaql10/work1/e04018/onlroot/onlana_full_3894.root
Epics variables for the BCMs
hac_bcm_dvm1_read hac_bcm_dvm2_read hac_bcm_dvm1_current hac_bcm_dvm2_current hac_unser_current HC+ibcm1 IBC0L02Current IBCxxxxCRCUR1 IBCxxxxCRCUR2 IPM2C24A.IENG IBCxxxxCRCUR4 IBC0R07CRCUR1 IBC1H04CRCUR2 FCupsCORRECTED.VAL
u1 :
T->Draw("right_bcm_u1:IBC0L02Current","(right_bcm_u1-(3032.1+1600.17*IBC0L02Current))>0&&(right_bcm_u1-(8000.1+2300.17*IBC0L02Current))<0")
Result of fit : NO. VALUE ERROR 0 1.318651e+03 6.741386e-03 1 2.345621e+03 1.064884e-04
u3 : NO. VALUE ERROR 0 4.712707e+03 4.406449e-03 1 7.163094e+03 7.764398e-05
u10: T->Draw("right_bcm_u10:IBC0R07CRCUR1","IBC0R07CRCUR1<20&&(right_bcm_u10-(41753+42000.364*IBC0R07CRCUR1)<1000)&&IBC0R07CRCUR1<20&&(right_bcm_u10-(42000.47*IBC0R07CRCUR1)>0) ") NO. VALUE ERROR 0 2.396886e+03 3.547887e-03 1 4.437411e+04 1.130569e-03
d1:
T->Draw("right_bcm_d1:IBC0R07CRCUR1","(right_bcm_d1-(10000+26000*IBC0R07CRCUR1))<0&&(right_bcm_d1-(-20000+2254*IBC0R07CRCUR1))>0")
NO. VALUE ERROR 0 2.664377e+02 2.949925e-03 1 2.428236e+03 6.837115e-05
d3: T->Draw("right_bcm_d3:IBC0R07CRCUR1","(right_bcm_d3-(10000+26000*IBC0R07CRCUR1))<0&&(right_bcm_d3-(-20000+7102*IBC0R07CRCUR1))>0&&IBC0R07CRCUR1<80") NO. VALUE ERROR 0 3.587967e+02 3.120319e-03 1 7.535554e+03 2.102184e-04
d10: T->Draw("right_bcm_d10:IBC0R07CRCUR1","IBC0R07CRCUR1<40&&(right_bcm_d10-(10000+26000*IBC0R07CRCUR1))<0&&(right_bcm_d10-(-20000+23000*IBC0R07CRCUR1))>0")
NO. VALUE ERROR 0 1.477319e+02 3.341393e-03 1 2.399886e+04 5.086879e-04
Small script to compute charge from a root file :
/adaqfs/home/adaq/e04018/onlana/GetCharge.C
( this script has a bug it did not take into account the scaler offset ) I will put the updated values.
Additionnal data for BCM calibration : run 3893 and 3894 http://www.jlab.org/~adaq/halog/html/0705_archive/070530190919.html
Files are located on : /work/halla/e04018/disk2/bcm/
Scalers offsets from run 3893
T->Draw("left_bcmu3cnt:left_clkcount/1024","abs(IBCxxxxCRCUR1)<1&&left_clkcount>250e3&&left_clkcount<400e3");
and same for u1 ... d10
u1 4.059349e+02 counts/sec u3 4.975633e+02 counts/sec u10 9.047369e+02 counts/sec d1 1.623194e+02 counts/sec d3 1.236421e+02 counts/sec d10 2.696600e+02 counts/sec
Unser calibration
T->Draw("left_bcm_u1:hac_unser_current+3.83","abs(hac_unser_current+3.83)<1000","", 126863, 0);
Main calibration coefficient using run 3894
T->Draw("IBC0L02Current:right_bcm_u1","abs(IBC0L02Current-4.236652e-4*right_bcm_u1)<1","", 856947, 0); Parameters: NO. VALUE ERROR 0 -4.429227e-01 3.914518e-03 1 4.247220e-04 3.614421e-08
tv__tree->Draw("IBC0L02Current:right_bcm_u3","abs(IBC0L02Current-1.4e-4*right_bcm_u3)<1","", 856947, 0); NO. VALUE ERROR 0 -3.988106e-01 3.943734e-03 1 1.399751e-04 1.329628e-08
T->Draw("IBC0L02Current:right_bcm_d1","abs(IBC0L02Current-4.236652e-4*right_bcm_d1)<1","", 856947, 0);
NO. VALUE ERROR 0 -3.898756e-01 4.021585e-03 1 4.216982e-04 7.087386e-08