Pedestals PR05



Comparing with run 14774 (FBPED PR04)


Run 14774. FBPED

PR05


Run 15776s0

Missing and bad channels

The lis of missing channels was obtained using:

root [2] TFile *tf15792s0 = new TFile("dtcheck_15792s0.root")
root [3] TH2S *ha15792s0 = (TH2S*)tf15792s0->Get("Amplitude");
TH1D *hfbhits15792=ha15792s0->ProjectionX("fbhits15792")







Missing channels:

Run 15792, 500 ns

648:651, 656:663

732:735, 740:743, 748:755

1832:1835 (missing 50%), 1848:1851, 1861:1863

1900:1920 (missing 5-10%), 1940:1943, 1948:1951

2048:2051


In run 15782

1832:1835 missed 80% events

1848:1851 (90%)

1861:1863 (80%)


In Pr04 (run 14774)

the only missing channels are:

752:755


Debugging printout for run 15792

[0]read_crate: (8)slot=19 fprd_dma: 0, wc=200003d, bus=92fc13c, next=92fc230
?1:[0]read_crate: (2)Error. Slot 19, (wc=0200003d)&0xfff != 41
[0]read_crate: (8)slot=20 fprd_dma: 0, wc=200003d, bus=92fc230, next=92fc324
?1:[0]read_crate: (2)Error. Slot 20, (wc=0200003d)&0xfff != 41
[0]read_crate: (8)slot=21 fprd_dma: 0, wc=2000041, bus=92fc324, next=92fc428
[0]read_crate: (8)slot=22 fprd_dma: 0, wc=2000041, bus=92fc428, next=92fc52c
[0]read_crate: (8)slot=23 fprd_dma: 0, wc=2000041, bus=92fc52c, next=92fc630
[0]read_crate: (8)slot=24 fprd_dma: 0, wc=2000041, bus=92fc630, next=92fc734
[0]read_crate: (8)slot=25 fprd_dma: 0, wc=2000041, bus=92fc734, next=92fc838
[0]read_crate: (8)slot=18 fprd_dma: 0, wc=2000041, bus=92fc838, next=92fc93c
[0]read_crate: (8)slot=6 fprd_dma: 0, wc=2000039, bus=92fc93c, next=92fca20
?1:[0]read_crate: (2)Error. Slot 6, (wc=02000039)&0xfff != 41
[0]read_crate: (8)slot=7 fprd_dma: 0, wc=2000039, bus=92fca20, next=92fcb04
?1:[0]read_crate: (2)Error. Slot 7, (wc=02000039)&0xfff != 41
[0]read_crate: (8)slot=4 fprd_dma: 1c040, wc=40, bus=92fcb04, next=92fcb04
[0]read_crate: (100)Error in TDC slot 4, code 0x1c040
0x13b9ed0 (fbroc_isr): (8000)<mEMSD_int_unblock() 1980
[0]read_crate: (8)slot=5 fprd_dma: 1c040, wc=40, bus=92fcb04, next=92fcb04
[0]read_crate: (100)Error in TDC slot 5, code 0x1c040
interrupt: (8000)<mEMSD_int_enable(0)
[0]read_crate: (8)slot=8 fprd_dma: 0, wc=2000040, bus=92fcb04, next=92fcc04
[0]read_crate: (8)slot=9 fprd_dma: 0, wc=2000040, bus=92fcb18, next=92fcc18
[0]read_crate: (8)slot=10 fprd_dma: 0, wc=2000040, bus=92fcb18, next=92fcc18
[0]read_crate: (8)slot=11 fprd_dma: 1c040, wc=40, bus=92fcb18, next=92fcc18
[0]read_crate: (100)Error in TDC slot 11, code 0x1c040
interrupt: (C000)>mEMSD_interrupt b180 CIO=00b8 DP=0000 Tok=5777 Done=a01a
interrupt: [0]read_crate: (8)slot=12 fprd_dma: 0, wc=2000040, bus=92fcb18, next=92fcc18
[0]read_crate: (8)slot=13 fprd_dma: 0, wc=2000040, bus=92fcb18, next=92fcc18
[0]read_crate: (8)slot=14 fprd_dma: 0, wc=2000040, bus=92fcb18, next=92fcc18
[0]read_crate: (8)slot=15 fprd_dma: 0, wc=2000040, bus=92fcb18, next=92fcc18
[0]read_crate: (8)slot=16 fprd_dma: 0, wc=2000040, bus=92fcb18, next=92fcc18
[0]read_event info: 21bf @0x12fcb1c->@0x12fcb3c
...
07a0:953a01ce 953c01e9 913e018f 9540007f 9542006c 9144005e 95460068 914801a5 
07c0:914a019e 954c01cc 914e0182 95500162 9152015d 91540154 9156016a 9558019f 
07e0:955a01c4 915c0196 955e01c9 95600000 91620000 91640000 95660000 916801d6 
0800:956a01df 956c01cd 916e01f2 9170005a 95720063 9174004a 9576004c 95780000 
0820:917a0000 917c0000 957e0000 30009eb9 350001c8 310201a4 3104018f 3506018f 
0840:310801d5 350a01d3 310c0242 310e0215 35100195 311201be 35140186 3516018e 
0860:351801fb 351a021b 311c01cd 351e01da 352001a3 312201b8 352401ba 352601c0 
0880:31280212 312a0245 312c026b 352e0258 313001f6 31320186 3134018c 313601bb 
08a0:35380272 353a0223 353c0249 353e0239 354001a0 3142015a 3544015e 35460160 
08c0:314801fc 354a01f3 314c0261 314e0260 315001ca 315201c7 355401b8 3156019c 
08e0:31580213 355a01ec 315c01db 355e021e 356801c6 316a0244 356c01fd 316e0204 
0900:31700000 35720000 35740000 31760000 38001eb9 39000157 3902019a 3d040192 
0920:3906018a 390801c0 390a01cd 390c01dc 390e01d7 39100182 39120192 39140198 
0940:39160187 391801d3 391a01d2 3d1c018f 3d1e01db 3920016f 3d220166 39240168 
0960:3d26015d 3d2801af 392a0205 392c01ee 392e01fd 3930017a 3d32014f 39340117 
0980:3d36011b 393801ed 3d3a01f0 3d3c020f 3d3e01d0 394801e3 394a019c 394c01c9 
09a0:3d4e01de 39500000 3d520000 3d540000 39560000 3d5801f8 395a01cb 3d5c01c0 
09c0:395e01be 39600000 3d620000 3d640000 39660000 3d700011 3972001b 3974001e 
09e0:3d760000 3d7801ed 3d7a020b 397c01f9 397e01e6 4000002f 40810803 40a6041e 
0a00:40a70dbd 40af0778 da0000bb ef000020 00000000 b1808b0e 00bf0000 5e7e7e00 
0a20:ffffa720 a720a720 a720a720 00000000 00000000 

Actually we have following dead channels:

ADC6: 0x41-0x39 = 8 channels

ADC7: 0x41-0x39 = 8 channels

ADC19: 0x41-0x3d = 4 channels

ADC20: 0x41-0x3d = 4 channels

ADC6 ch 0


TH1D *h04_600 = hampl04->ProjectionY("h04_600",601,601)




TH1D *h05_600 = hampl->ProjectionY("h05_600",601,601)

ADC18 ch 0


TH1D *h04_1816 = hampl04->ProjectionY("h04_1816",1817,1817)




TH1D *h05_1816 = hampl->ProjectionY("h05_1816",1817,1817)


TH1D *h04_1800 = hampl04->ProjectionY("h04_1800",1801,1801)




TH1D *h05_1800 = hampl->ProjectionY("h05_1800",1801,1801)

Disconnected cable. Good.

Let's check if it does not move on seq 12.


TH1D *h05s12_1800 = hampl05s12->ProjectionY("h05s12_1800",1801,1801)

It did not move between s0 and s12.


All TOF ADCs


File 15776s000



File 15776s012

No noticeable pedestal shifts in TOF ADCs!


Let's compare with PR04


hampl04->Draw("colz")

Some channels changed but in general it is acceptable.

Let's have a look on ADC7


TH1D *h05_0716 = hampl->ProjectionY("h05_0716",717,717)


TH1D *h05s12_0716 = hampl05s12->ProjectionY("h05s12_0716",717,717)




TH1D *h04_0716 = hampl04->ProjectionY("h04_0716",717,717)

In PR04 the pedestals on disconnected channels were only 2 ch wide!

Other observation.

The ADC7.16 have significant walk during 1 minutes.

It is the same with disconnected Fast Clear. It does not depend on trigger rate.

After the overhaul of the L0 logic




Run 15782s0. The gate is on the backplane the same as fir TOF ADC.

The pictrure is effectively the same as for run 15776s0



Run 15782s0.

Very similar to 15776s0


Run 15787. Gate changed from 100 ns to 200, ADC6,7 are last in the readout chain





Strange. No difference with run 15782s0 where gate was twice smaller.

Channel 1800: run 15787 = 337.4 +2.34


tt15787->Draw("ADC18[0]>>h1")



tt15782->Draw("ADC18[0]>>h2")



tt15787->Draw("ADC22[0]>>h1")


tt15782->Draw("ADC22[0]>>h2")

Strange. Pedestals did not change on disconnected channels and dropped 10 counts on connected channels




tt15787->Draw("ADC18[1]:ADC18[0]","","colz")


tt15782->Draw("ADC18[1]:ADC18[0]","","colz")


tt15782->Draw("ADC18[16]:ADC18[0]","","colz")

Not connected channel does not correlate to connected channels.


tt15782->Draw("ADC18[27]:ADC18[24]>>h2","","colz")




tt15787->Draw("ADC18[27]:ADC18[24]>>h2","","colz")



12/07/04. Run 15792. Gate=500ns


tt15792s0->Draw("ADC18[1]:ADC18[0]>>h3","","colz") 500 ns


tt15782->Draw("ADC18[1]:ADC18[0]>>h4","","colz") 100 ns


tt15792s0->Draw("ADC18[27]:ADC18[24]>>h4","","colz")



Comparison with Run 14720. End of PR04


tt14720->Draw("ADC18[27]:ADC18[24]>>h3","","colz")


tt14720->Draw("ADC22[0]:ADC22[58]>>h9","ADC22[58]<600","colz")


tt14774->Draw("ADC22[0]:ADC22[58]>>h2","","colz")

Recent run. 100 ns gate.


100 ns. tt15782s0->Draw("ADC22[0]:ADC22[58]>>h2","","colz")

Recent run. 200 ns gate.


200 ns gate. tt15787s0->Draw("ADC22[0]:ADC22[58]>>h2","","colz")

Recent run. 500 ns gate.


500 ns gate. tt15792s0->Draw("ADC22[0]:ADC22[58]>>h10","ADC22[58]<600","colz")

After replacing ADC6 and ADC7


TH2S *ha15796s1 = (TH2S*)tf15796s1->Get("Amplitudes");

Looks promising. 616:631 are drifting. Let's swap ADC6 and 7.

12/07/04 08:54:13 pm. Run 15799. ADC6 and 7 swapped.

Mistery happened!

Now they looks perfect.


TH2S *ha15799 = (TH2S*)tf15799->Get("Amplitudes");


ha15799->Draw("colz")

It is similar to run 15782s0.

Run 15801. Gating of ADC6 and 7 returned to normal

12/07/04 10:45:07 pm.

And this is the result:


tt15801->Draw("ADC06[00]>>h1")




ha15801->Draw("colz")


TH1D *hfbh15801=ha15801->ProjectionX("fbh15801")








tt15801->Draw("ADC18[0]:ADC22[58]>>h2","","colz")


tt15801->Draw("ADC18[0]:ADC22[1]>>h2","","colz")

Let's compare with run 15802 taken an hour later


tt15802->Draw("ADC06[00]>>h1")

And 7 hour later:


tt15802s10->Draw("ADC06[00]>>h1")

Rock solid. I am happy!