Crossing clock counter is fixed; see figures for run 12464 below. Previously it was not latched by L0.
(05/18/03 11:35 Sukhanov) Run 12471.
I have aligned Yellow Clock channels 3 and 4 (spin bits) so that
they should be properly latch by the DAQ. They need to be moved 118 ns to lower
times. Since it was not enough room in the current setting, I have followed the
Don's suggestions:
The Yellow Clock Position has been changed from 200 to 197 RF clocks (shift of
105 ns).
Changed Yellow Clock Ch1 (which goes to DAQ) from 81 to 255 (shift 87 ns), added
20 ns of cable delay to it. This should leave Ch1 at the same position as it
was before. Yellow Clocks Ch 3 and 4 changed from 86 to 63.
It looks like now all spinbits are correct. This need to be checked in data
files.
In following pictures L0SpinB and L0SpinY represent the status of the corresponding spin bits. Value of 2 means spin is up, 1 – spin is down. L0ccPos counts crossing clocks, which are applied, to the L0 board (CCB.1), the first clock after the gap is the clock number 1.

chain.Draw("L0SpinB:L0CCPos>>SpinB_CC","(TrigL0Latch&0x200)==0"

The same but higher statistics.


The same but higher statistics.

Ch2 – Master clock from CCY6
Ch3 – SpinBlueUp, CCB3
Ch4 - SpinBlueDown, CCB4
This picture correspond to the L0SpinB:L0CCPos.

Ch1 – CC Yellow, CCY1
Ch2 – Master Clock, CCY6
Ch3 - SpinYellowUp, CCY3
Ch4 - SpinYellowDown, CCY4

chain.Draw("L0SpinB:L0CCPos>>SpinB_CC","(TrigL0Latch&0x200)==0",…

chain.Draw("L0CCPos>>L0CCPos","(TrigL0Latch&0x200)==0")
The missing events with CC=11 and 39 are not due toa hardware problem in L0 board. This shows that these bunches are not colliding.


$7[2]<2600&&(TrigL0Latch&0x200)==0&&L0CCPos==1","colz"

TH2S
hT0N_P("hT0N_P","",1200,1400,2600,1200,1400,2600)
chain.Draw("TDC17[1]:TDC17[2]>>hT0N_P","1400<TDC17[1]&&TDC17[1]<2600&&1400<TDC17[2]&&TDC17[2]<2600&&(TrigL0Latch&0x200)==0","colz")

TH1S hCCPos("hCCPos","",60,0,60)
chain.Draw("L0CCPos>>hCCPos","(TrigL0Latch&0x200)==0")

Blue SpinBit, looks all right.
TH2S
SpinB_CC("SpinB_CC","",60,0,60,3,0,3)
chain.Draw("L0SpinB:L0CCPos>>SpinB_CC","(TrigL0Latch&0x200)==0","colz")

Yellow SpinBit, looks all right.
TH2S
SpinY_CC("SpinY_CC","",60,0,60,3,0,3)
chain.Draw("L0SpinY:L0CCPos>>SpinY_CC","(TrigL0Latch&0x200)==0","colz")

chain.Draw("EMMLiveTime>>hLT")