BCM calibration E04-018

From Hall A Wiki
Revision as of 14:23, 9 December 2014 by Camsonne (Talk | contribs) (Scaler map)

Jump to: navigation, search

Run 3220

http://hallaweb.jlab.org/halog/html/0705_archive/070507012036.html http://hallaweb.jlab.org/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

Corresponding Halog entry

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


tv__tree->Draw("IBC0L02Current:right_bcm_d3","abs(IBC0L02Current-1.39e-4*right_bcm_d3)<1","", 856947, 0);

NO.             VALUE           ERROR
0       -3.842717e-01   4.106220e-03
1       1.387113e-04    2.889466e-08


tv__tree->Draw("IBC0L02Current:right_bcm_d10","abs(IBC0L02Current-(4.226e-5*right_bcm_d10-1.374684e-02))<1")
Parameters:
NO.             VALUE           ERROR
0       -2.081063e-01   1.502976e-02
1       4.248676e-05    5.123199e-08
tv__tree->Draw("IBC0L02Current:right_bcm_u10","abs(IBC0L02Current-(2.24151e-5*right_bcm_u10+4.45e-1))<1")

 NO.             VALUE           ERROR
 0       -1.479541e-01   5.167339e-03
 1       2.282290e-05    1.250648e-08


BCM plots with PVDIS students

Residu check :

T->Draw("IBC0L02Current:right_bcm_u1","abs(IBC0L02Current-4.236652e-4*right_bcm_u1)<1","lego", 856947, 0); T->Draw("IBC0L02Current:right_bcm_u1","abs(IBC0L02Current-4.236652e-4*right_bcm_u1)<1","", 856947, 0); T->Draw("IBC0L02Current-(right_bcm_u1*4.247220e-04-4.429227e-01):right_bcm_u1","abs(IBC0L02Current-4.236652e-4*right_bcm_u1)<1","", 856947, 0); T->Draw("IBC0L02Current:right_bcm_u1","abs(IBC0L02Current-4.236652e-4*right_bcm_u1)<1","", 856947, 0); T->Draw("IBC0L02Current-(right_bcm_u1* 0.000424722 - 0.442923):IBC0L02Current","abs(IBC0L02Current-4.236652e-4*right_bcm_u1)<1","", 856947, 0); T->Draw("(IBC0L02Current-(right_bcm_u1* 0.000424722 - 0.442923))/IBC0L02Current:IBC0L02Current","abs(IBC0L02Current-4.236652e-4*right_bcm_u1)<1","", 856947, 0); T->Draw("(IBC0L02Current-(right_bcm_u1* 0.000424722 - 0.442923))/IBC0L02Current:IBC0L02Current","abs(IBC0L02Current-4.236652e-4*right_bcm_u1)<1&&abs((IBC0L02Current-(right_bcm_u1* 0.000424722 - 0.442923))/IBC0L02Current)<0.05","", 856947, 0); T->Draw("(IBC0L02Current-(right_bcm_u1* 0.000424722 - 0.442923))/IBC0L02Current:IBC0L02Current","abs(IBC0L02Current-4.236652e-4*right_bcm_u1)<1&&abs((IBC0L02Current-(right_bcm_u1* 0.000424722 - 0.442923))/IBC0L02Current)<0.1","", 856947, 0); T->Draw("(IBC0L02Current-(right_bcm_u1* 0.000424722 - 0.442923))/IBC0L02Current","abs(IBC0L02Current-4.236652e-4*right_bcm_u1)<1&&abs((IBC0L02Current-(right_bcm_u1* 0.000424722 - 0.442923))/IBC0L02Current)<0.1","", 856947, 0);


File locations on farm

Root files in

/work/halla/e04018/disk5/rootfiles/

Scaler map

From /w/halla-scifs1a/work5618/e04018/DB/20070418

==== Crate 8 type scaler "lscaler"

  1. slot model clear header mask nchan ndata
 0	1151	0	0xabc00000	0xfff00000	16	16
 1	1151	0	0xabc00000	0xfff00000	16	16
 2	1151	0	0xabc00000	0xfff00000	16	16
 3	3801	0	0xabc00000	0xfff00000	32	32
 4	3800	0	0xabc00000	0xfff00000	32	32
 5	3801	0	0xabc00000	0xfff00000	32	32
 6	3800	0	0xabc00000	0xfff00000	32	32
 7	3800	0	0xabc00000	0xfff00000	32	32
 8	3800	0	0xabc00000	0xfff00000	32	32
 9	3800	0	0xabc00000	0xfff00000	32	32

And scaler map :

  1. desc hel crate slot start nchan long-description

s1L 0 7 0 0 6 S1 Scintillator Left PMTs on Right Arm s1R 0 7 0 8 6 S1 Scintillator Right PMTs on Right Arm s1 0 7 0 16 6 S1 Paddles (Left.and.Right PMT) on Right Arm s2 0 7 1 0 32 S2m Scintillator on Right Arm gasC 0 7 2 0 11 Gas Cerenkov PMT on Right Arm trigger-1 0 7 8 0 1 trigger 1 on Right Arm trigger-2 0 7 8 1 1 trigger 2 on Right Arm trigger-3 0 7 8 2 1 trigger 3 on Right Arm trigger-4 0 7 8 3 1 trigger 4 on Right Arm trigger-5 0 7 8 4 1 trigger 5 on Right Arm trigger-6 0 7 8 5 1 trigger 6 on Right Arm trigger-7 0 7 8 11 1 trigger on Right Arm clock 0 7 8 7 1 1024 Hz clock (T8) trigger-8 0 7 8 7 1 1024 Hz trigger 8 TS-accept 0 7 8 12 1 Trigger Supervisor accepted triggers bcm_u1 0 7 8 13 1 Beam current, upstream cavity, gain = 1 bcm_u3 0 7 8 6 1 Beam current, upstream cavity, gain = 3 bcm_u10 0 7 8 14 1 Beam current, upstream cavity, gain = 10 bcm_d1 0 7 8 15 1 Beam current, downstream cavity, gain = 1 bcm_d3 0 7 8 9 1 Beam current, downstream cavity, gain = 3 bcm_d10 0 7 8 10 1 Beam current, downstream cavity, gain = 10 T9 0 7 8 24 1 Trigger 9 (30 Hz helicity) strobe 0 7 8 19 1 Strobe for S-ray trigger

s1L 0 8 0 0 6 S1 Scintillator Left PMTs on Left Arm s1R 0 8 0 8 6 S1 Scintillator Right PMTs on Left Arm s2L 0 8 1 0 6 S2 Scintillator Left PMTs on Left Arm s2R 0 8 1 8 6 S2 Scintillator Right PMTs on Left Arm s12 0 8 2 0 6 S1,S2 (Left.and.Right PMT) on Left Arm trigger-1 0 8 4 0 1 trigger 1 measured on Left Arm empty 0 8 4 1 1 (unplugged) trigger 2 measured on Left Arm trigger-3 0 8 4 2 1 trigger 3 on Left Arm trigger-4 0 8 4 3 1 trigger 4 on Left Arm trigger-5 0 8 4 4 1 trigger 5 measured on Left Arm trigger-6 0 8 4 5 1 trigger 6 clock 0 8 4 7 1 1024 Hz clock (T8) trigger-8 0 8 4 7 1 1024 Hz trigger 8 TS-accept 0 8 4 12 1 Trigger Supervisor accepted triggers bcm_u1 0 8 4 13 1 Beam current, upstream cavity, gain = 1 bcm_u3 0 8 4 6 1 Beam current, upstream cavity, gain = 3 bcm_u10 0 8 4 8 1 Beam current, upstream cavity, gain = 10 bcm_d1 0 8 4 15 1 Beam current, downstream cavity, gain = 1 bcm_d3 0 8 4 10 1 Beam current, downstream cavity, gain = 3 bcm_d10 0 8 4 11 1 Beam current, downstream cavity, gain = 10 strobe 0 8 4 19 1 Strobe for S-ray trigger T9 0 8 4 24 1 Trigger T9 (30 Hz helicity) unser 0 8 4 14 1 Unser monitor