<!-- Title: 19:25:07  Wed Sep  5 2001 -->
<!-- Crewchief: Ming -->
<!-- Op1: &nbsp; -->
<!-- Op2: &nbsp; -->
<!-- Op3: &nbsp; -->
<!-- Op4: &nbsp; -->
<!-- Op5: &nbsp; -->
<!-- Op6: &nbsp; -->
<!-- Notes: -->
<pre>create new file</pre>


<!-- Date: Wed Sep 5 20:17:15 2001 -->
<pre>Variation in the Hit Rates measured in each CLC west layers 
----------------------------------------------------------- 
 
For a couple of months we have noticed that the hit rates 
for the west layers (W0, W1, W2) measured by the Coincidence 
Unit are affected whenever the CDF DAQ is alive. The east 
side also shows some effect, but little. For the west side, 
the effect is largest for the middle layer (W1), followed by 
inner layer (W0), and then outer layer (W2). 
 
Sometimes the rates would decrease, but other times the rate 
increases when CDF DAQ is alive. When the rate decrease, it 
decreases by about ~10% for W0 and W1. But when the rate 
increases, W1 sometimes would show an increase in rate by more 
than 100%. 
 
We did a test to see if this increase in rate comes from the 
input into the C.U. 
 
From ACNET : 
B0C06 : W0 rate 
B0C05 : W1 rate 
B0C04 : W2 rate 
 
On Sept 04th, we swapped the W0 and W2 inputs signals into 
C.U. . Before swapping, B0C06 rate was higer than B0C04, 
and B0C06 showed a more significant drop in rate when CDF 
DAQ was alive. After swapping, we did not notice any switch in 
the hit rate between B0C04 and B0C06 ! And when CDF DAQ was 
alive, B0C06 still showed a more significant drop in rate 
than B0C04.  
 
The rate plots will be shown in the following entries.</pre>
<!-- Author: Ming/Sasha/Jaco -->


<!-- Date: Wed Sep 5 20:21:44 2001 -->
<table><tr><td><a href=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-34&button=yes target='xxx' onclick='jswindow()'; align=top><img src=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-34  width='300' align='top'></td><td>Rates from June 30th store. The bottom 3 lines blue, yellow, red) are from CLC WEST, and the top 3 lines are from CLC EAST. One can clearly see B0C05 increased whenever CDF was taking data. </a></td></tr></table>
<!-- Author: Ming -->


<!-- Date: Wed Sep 5 20:26:24 2001 -->
<table><tr><td><a href=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-35&button=yes target='xxx' onclick='jswindow()'; align=top><img src=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-35  width='300' align='top'></td><td>Rate plot from Sep 4th store. The top blue band is the GLIVE instantaneous lumi. Top yellow and red lines are the rates from B0C06 (W0) and B0C05 (W1) respectively. Both rates dropped when CDF DAQ was alived.</a></td></tr></table>
<!-- Author: Ming -->


<!-- Date: Wed Sep 5 20:32:07 2001 -->
<table><tr><td><a href=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-36&button=yes target='xxx' onclick='jswindow()'; align=top><img src=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-36  width='300' align='top'></td><td>Rates from Sept 5th store. Green line is the GLIVE instantaneous lumi. Blue and Yellow lines are the hit rates from W1 (B0C05) and W2 (B0C04). Noticed that the W1 rate increased by more than 100% when CDF DAQ was alive. One thing to note is that the two humps in the green line correspond to two runs that were taken for L2 trigger test.</a></td></tr></table>
<!-- Author: Ming -->


<!-- Date: Wed Sep 5 20:35:55 2001 -->
<table><tr><td><a href=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-37&button=yes target='xxx' onclick='jswindow()'; align=top><img src=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-37  width='300' align='top'></td><td>Rate plots for Sept 4th store when we were taking CAFE scan runs. At 18:43 we swapped the W0 and W2 input signals into C.U.  At 19:00 we swapped back the W0 and W2 input signals into C.U.</a></td></tr></table>
<!-- Author: Ming -->


<!-- Date: Wed Sep 5 23:49:47 2001 -->
<table><tr><td><a href=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-38&button=yes target='xxx' onclick='jswindow()'; align=top><img src=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-38  width='300' align='top'></td><td>diff between the two C.U.'s we changed the boards at 9 PM approx</a></td></tr></table>
<!-- Author: jaco -->


<!-- Date: Wed Sep 5 23:51:06 2001 -->
<table><tr><td><a href=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-39&button=yes target='xxx' onclick='jswindow()'; align=top><img src=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-39  width='300' align='top'></td><td>next pic</a></td></tr></table>
<!-- Author: jaco -->


<!-- Date: Wed Sep 5 23:51:52 2001 -->
<table><tr><td><a href=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-40&button=yes target='xxx' onclick='jswindow()'; align=top><img src=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-40  width='300' align='top'></td><td>next</a></td></tr></table>
<!-- Author: jaco -->


<!-- Date: Wed Sep 5 23:52:28 2001 -->
<table><tr><td><a href=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-41&button=yes target='xxx' onclick='jswindow()'; align=top><img src=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-41  width='300' align='top'></td><td>next</a></td></tr></table>
<!-- Author: jaco -->


<!-- Date: Wed Sep 5 23:53:00 2001 -->
<table><tr><td><a href=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-42&button=yes target='xxx' onclick='jswindow()'; align=top><img src=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-42  width='300' align='top'></td><td>next</a></td></tr></table>
<!-- Author: jaco -->


<!-- Date: Wed Sep 5 23:53:27 2001 -->
<table><tr><td><a href=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-43&button=yes target='xxx' onclick='jswindow()'; align=top><img src=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-43  width='300' align='top'></td><td>next</a></td></tr></table>
<!-- Author: jaco -->


<!-- Date: Thu Sep 6 23:04:57 2001 -->
<table><tr><td><a href=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-44&button=yes target='xxx' onclick='jswindow()'; align=top><img src=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-44  width='300' align='top'></td><td>Lum drops when solenoid is off in order to do the Watt can pumping. We pumped between 18:38 and 21:39 .... is this the problem with the gains???</a></td></tr></table>
<!-- Author: Jaco -->


<!-- Date: Mon Sep 10 19:31:19 2001 -->
<br> 
To monitor gain variations during the current access into collision hall, I have setup BNC generator to flash LED at low frequency and low amplitude from its internal clock. 
<br><p> 
The exact BNC settings are the following: 
<br> 
Int. trigger rate: 50kHz/1000, pulse width: 30ns, pulse amplitude: 1500 mv. 
<br><p> 
Average rates/per layer are the following: 
<br> 
West Layer 0/1/2  East Layer 0/1/2 (Hz): 
12/15/17  25/20/17 
<br><p>Since these rates depend on amplitude of the signals coming from PMTs (and thus on the PMT gain) this give a mean to monitor gain variations.
<!-- Author: Sasha -->


<!-- Date: Tue Sep 11 13:05:11 2001 -->
<br>Have swaped Transition Boards in slot 3 & 7. TB#7 (slot #3) was swaped with TB#5. Reason was that channel #14 has no amplitude measurements. TB#3 (slot #7) was swaped with TB#8 because of too high noise in channel #15 which failed QIE calibration. 
<br><p>QIE calibration (QIEtest) after TB swap shows that almost all channels in ADMEM #3 fail calibration and FRAM for these channels cannot be downloaded. So we need to swap TB in slot 3 again.
<!-- Author: Sasha/Sasha -->
<!-- Comment: Tue Sep 11 15;01;31 comment by...Sasha Sukhanov -->
<p> Just forgot that we have turned off CLC HV since ~11:10am today.<br>


<!-- Date: Wed Sep 12 18:38:14 2001 -->
<pre>We changed the trip current and over-current trip time on the CLC High Voltage supply. We are now more 
sensitive to losses but we wanted to avoid killing channels on the transition board. If trip happens please page the CLC expert 
because the HV is under expert control only. We did not set it too low so we expect it to be ok. 
 
 Old values= trip=1000 (100 sec) and I=13 mA 
 
 New values= trip=100 (10 sec) and I=8 mA</pre>
<!-- Author: Jaco/Valentin -->
<!-- Comment: Wed Mar  6 08;22;22 comment by...Ming -->
<table border=0><td><tr><td bgcolor=#e0e030><pre>!!!### NEW SIGMA/NHIT for SEND ###!!!

changed from: sigma/Nhit=36.5/13.8 to 37.78/16.0
to correct for the over-estimation of lumi by 20%
</pre></td></tr></td></table>
<!-- Date: Fri Sep 14 15:46:30 2001 -->
<pre>Hi, 
 
Valentin and I re-programmed the spare Coincidence Unit board 
last Monday with the modified FPGA program such that the CU 
can send loose Min. Bias trigger signal to the Level-1 PreFred 
trigger board. We did some test with LED which showed that the 
CU board was working fine. This morning Tevatron started a 
store after three-day access, and CDF is now collecting data. 
&gt;From ACNET I saw that the hit rates from all the East and West 
individual layers remained stable with and without CDF DAQ 
being Alive. Lets monitor this for a while. If this CU board 
continue to work in the "proper" way, then we can send the 
broken board back to UF next week. 
 
Ming 
 
</pre>
<!-- Author: ming/valentin -->


<!-- Date: Mon Sep 17 18:00:03 2001 -->
<p>In attempts to solve the puzzle of PMT gain drops it have been decided to bring gain for two channels (one on West and one on East side) back to ~4*10**5. 
 
<p>I have picked up channels #7 and #58 (counting form 0). Both of these channels are from inner layers, thus changes in their gain should not affect online luminosity measurement. 
 
<p>Table below shows power coefficient (alpha) of the "gain 
VS High Voltage" dependence, current gain (g0) and high voltage (HV0), new (desired) gain (g) and high voltage settings calculated for this new gain (HV). The last column contains the gain (gmeas) as measured with new HV settings. 
<p> 
<table border cellspacing=0 cellpadding=5> 
<tr> 
<th> Channel </th> 
<th> alpha </th> 
<th> g0, 10**5 </th> 
<th> HV0, V </th> 
<th> g, 10**5 </th> 
<th> HV, V </th> 
<th> gmeas, 10**5 </th> 
</tr> 
<tr> 
<td> 7 </td> <td> 7.0613 </td> <td> 1.369 </td> 
<td> 1257 </td> <td> 4 </td> <td> 1463 </td> <td> 4.33 </td> 
</tr> 
<tr> 
<td> 58 </td> <td> 7.1311 </td> <td> 3.453 </td> <td> 1112 </td> 
<td> 4 </td> <td> 1135 </td> <td> 3.92 </td> 
</tr> 
</table> 
<p>Valies of new HV settings were calculated according to the following equation: 
<p>HV = HV0 * exp( log(g/g0) / alpha ) 
<p>I have set new HV manually using CAEN front panel keyboard. I did not change configuration file on PC on the 3d floor. So we need to keep in mind that if sombody restart program on PC we have to reset HV in channels 7 and 58 to the new values.
<!-- Author: Sasha -->


<!-- Date: Wed Sep 26 09:52:19 2001 -->
<pre>HV was changed in channel 57(2.09) to 1268.0 V, and in channel 
58(2.10) to 1112.0 V 
</pre>
<!-- Author: Sasha Pronko -->


<!-- Date: Thu Sep 27 09:21:17 2001 -->
<pre>Last time there was a water leak in the 1st floor counting room. 
I was paged to be informed that they were going to switch off all 
power to the crates and HVs. Koji was called in to switch off 
BSC/CLC HV. The HVs were later turned back on this morning. The 
powers to both CLC DAQ crates are on turned on. 
   
I also have informed the gas tech. to bring CLC west back up to 
8 psi to be ready for collision this morning. 
</pre>
<!-- Author: Ming -->


<!-- Date: Sat Oct 6 12:34:46 2001 -->
<p>To estimate systematic effects of gain change to luminosity calculation we have done HV scan. The basic idea was to change PMT HV settings by +-50, +-100 V and monitor how the online luminosity will varies. Below is a table with results of the scan:  
<p> 
<table border cellspacing=0 cellpadding=5> 
<tr> 
<th>HV change, V </th> 
<th>Gain change factor  </th> 
<th>Run number </th> 
<th>Number of events </th>                                        <th>Inst.Luminosity, 10**30 </th> 
</tr> 
<tr> 
<th> Nominal </th> <td> 1 </td> <td> 128451 </td> <td> ~100k </td> <td> 3.78 </td> 
</tr> 
<tr> 
<td> -100 </td> <td> ~0.5 </td> <td> 128453 </td> <td> ~100k </td> <td> 1.49 </td> 
</tr> 
<tr> 
<td> -50 </td> <td> ~0.7 </td> <td> 128454 </td> <td> ~100k </td> 
<td> 2.54 </td> 
</tr> 
<tr> 
<td> +50 </td> <td> ~1.5 </td> <td> 128455 </td> <td> ~70k </td> 
<td> 4.60 </td> 
</tr> 
<tr> 
<td> +100 </td> <td> ~2 </td> <td> 128457 </td> <td> ~100 </td> 
<td> 5.63 </td> 
</tr> 
<tr> 
<th> Back to nominal </th> <td> 1 </td> <th> ---- </th> 
<th> ---- </th> <td> 3.40 </td> 
</tr> 
</table> 
<p>
<!-- Author: Sasha -->


<!-- Date: Sat Oct 6 12:37:55 2001 -->
<table><tr><td><a href=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-45&button=yes target='xxx' onclick='jswindow()'; align=top><img src=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-45  width='300' align='top'></td><td>This plot shows variations in inst. lumninosity calculated by hit counting and epmty crossing counting as well as loose and tight min. bias trigger rates with HV changes</a></td></tr></table>
<!-- Author: Sasha -->


<!-- Date: Wed Oct 17 18:10:27 2001 -->
<pre>EAST CLC Rotation 
================== 
 
 We uncabled the EAST CLC today, also the gas lines have been 
taken out and sealed. Tomorrow we plan on rotating it. 
We measured the current position with calipers (in Ming's 
notebook). 
 
 In general all signal cable connectors were ok and tight.  
Some of the nuts right on the G10 panel get loose when 
 trying to unscrew the cable. We tightened them all. It 
should be ok. 
 
 Yesterday, we measured the HV after the resistors, i.e. closest 
to the PMTs in 24 channels in the EAST module, We need to check 
and see if there is a drop larger than expect 
The capacitors measure from 27 to 29 nano-F 
</pre>
<!-- Author: Jaco/Ming -->


<!-- Date: Wed Oct 17 18:21:16 2001 -->
<pre> 
 ************************** 
 CLC in Nitrogen 
 *************************** 
  
Ming,  the CLC east and west chambers are inerted with nitrogen gas. They 
are currently at a pressure of 3 psig.  Before you remove the end plates 
we will need to completely depressurize the chambers.  Please let us know 
when we will need to do this. 
  
During this shutdown we plan to replace the pressure transducers which 
read in psig (gauge) with new ones which read psia (absolute).  We will 
modify the i-Fix pages to reflect this. 
  
- Del 
  
  
  
from Wednesday of last week....... 
  
The CLC Panel pressure transmitters are switched out to the new Barton 
transducers which are absolute pressure readout devices.  The i-Fix 
readouts and historical plot are setup to read these devices directly and 
have units in PSIA (pounds per square inch absolute).  The transducers 
have their own vacuum cell to which the chamber pressures are referenced. 
  
- Del Allspach 
  
  
</pre>
<!-- Author: Jaco/Del -->
<!-- Comment: Wed Oct 17 18;22;55 comment by...JACO -->
<pre>This was done on OCTOBER 8TH (just when the big access started)</pre>


<!-- Date: Thu Oct 18 15:50:14 2001 -->
<pre>Ming, Mayling and I rotated the East CLC module today. 
It went well, using the "V" shapped supports. Needed 
to be very careful in sliding it back into the pre-shield 
slots, upside-down. Did it very slowly, resting the CLC 
in its support every few inches or so and assesing the 
clearances between the patch panel posts and the pre-shield 
slots. 
 
We couldn;t go in all the way because of the gas fittings, 
they are too long so we are shortening them. 
In the process KC managed to loosen the fittingon the  
input line, so he epoxyed it. 
We are filling back with nitrogen, flowing for a couple of hrs 
first, then to 8 PSIG and leaving it overnight. 
 
We need to align the CLC tomorrow.</pre>
<!-- Author: Jaco/Ming -->


<!-- Date: Fri Oct 19 18:32:43 2001 -->
<pre>Mayling, Ming and I aligned the East CLC today. We pushed it in 
all the way, we think that it is maybe about 1/2 cm more pushed  
in than before we rotated. We shortened the gas fitting that 
apparently was not allowing it to go further. We should 
check with single proton beam if the Delta_time between 
East and West is now consistently smaller. We'll try to 
push in the WEST as well. 
 
We centered the front of the CLC with shims and adjusted 
the supports accordingly. Took about 2 hrs...</pre>
<!-- Author: Jaco/Ming -->


<!-- Date: Mon Oct 22 11:21:29 2001 -->
<pre>CLC East pressure has been stable since about noon oct 19th, 2001 
at 22.74 PSIA. After having had to re-fit the input gas lines 
fittings (K.C.)</pre>
<!-- Author: Jaco -->


<!-- Date: Fri Oct 26 08:38:56 2001 -->
<pre>SWAP two PMTs in the West CLC (10/25/01) 
---------------------------------------- 
To identify whether the drop in gains are due problem 
in PMTs or bases. Swapped PMTs from ch 45 (Z-9193) and 
47 (Z-8838)  (one with higher gain, and the other lower) 
and took gain measurement with LED. Found that the measured 
gain went along with the PMT and not the base. So conclude 
that the gain problem is due to the PMT.</pre>
<!-- Author: Jaco, Sasha, Ming -->


<!-- Date: Fri Oct 26 08:43:09 2001 -->
<pre>Replaced 4 bad (low gains) PMTs with spare ones (10/25/01) 
---------------------------------------------------------- 
The PMTs for ch45 and 47 were swapped back to their 
original bases. 
 
Replaced PMTs 
------------- 
1) ch 47: Took out Z-8838, replaced with Z-8932 
2) ch 26: Took out Z-8927, replaced with Z-8877 
3) ch  0: Took out Z-8894, replaced with Z-8874 
4) ch  1: Took out Z-8902, replaced with Z-8817 
 </pre>
<!-- Author: Jaco, Sasha -->


<!-- Date: Sun Nov 4 09:38:05 2001 -->
<pre>CLC gas leak monitor after rotation 
----------------------------------- 
We have been monitoring the CLC gas pressure since the gas lines 
had been re-connected back to CLC west. These are the values 
recoreded. The temperature has been quite constant (varying 
between 75-76 F) 
 
Time           CLC West (psia)       CLC East (psia) 
---------------------------------------------------- 
15:30            19.32                 22.64 
(11/02/01) 
 
17:30            19.32                 22.63 
 
21:00            19.30                 22.64 
 
03:00            19.29                 22.64 
(11/03/01) 
 
06:00            19.28                 22.64 
 
09:00            19.28                 22.64 
 
10:40            19.28                 22.64 
 
CLC west gas pressure dropped about 0.04 psi in 20 hrs. 
 
(Now we brought CLC west to about 8 psig) 
 
11:40            22.60                 22.64 
(11/03/01) 
 
13:30            22.59                 22.65 
 
16:20            22.58                 22.64 
 
09:00            22.56                 22.64 
(11/04/01) 
 
CLC west gas pressure dropped about 0.04 psi in 21 hrs. 
This is almost the same leak rate that we had before 
the rotation (~0.06 psi/day). 
 
It seems that increasing from ~4.8 psig to 8 psig does not 
increase the leakage rate in CLC west. I used the flammable 
gas detector to check if there is any leak in the CLC west 
gas panel at the 730 platform, but did not find any. 
I could not access to CLC west detector because of the 
walding work for west mini plug. 
</pre>
<!-- Author: Ming -->


<!-- Date: Tue Nov 13 19:44:27 2001 -->
<pre>Tested new Xilinx hit counting program that Terri made 
for us:  
 
      clc_Thresh250_13NOV01.exo 
 
We only tested the threshold but not the counting part i.e. 
did not look at all trigger output simultaneously. We need to 
do this. The threshold mode works ok.  
 
The test was done on the ADMEM  on slot 7. We redownloaded the 
500 ADC threshold program for now</pre>
<!-- Author: Jaco/Ming/Sasha -->


<!-- Date: Thu Nov 15 12:34:13 2001 -->
<pre>Tested, with Lee Scott, the new version of the Xilinx code with 
250 ADC counts threshold. clc_Thresh250_13NOV01.exo 
 
 We looked simultaneously at all 4 bits from ADMEM's L1 
output and turned on the HV (while flashing LED) on 1,2,3,4 
PMTs sequentially and confirmed that the right bits were set. 
We used 1.2 Volts on the LED, sufficient to give more than 
250 ADC (we got 600:1300 while looking at QIETEST). 
 
One thing to notice is that due to small afterpulse frequency 
some of the bits that shouldn' get set, do get set rarely 
and one should trigger the scope on the main bit that should be set.</pre>
<!-- Author: Sasha/Jaco -->


<!-- Date: Fri Nov 23 10:19:34 2001 -->
<pre>Check/Adjust CLC TB Threshold 
------------------------------ 
 
TB #       Old Value (V)        New Value (V) 
--------------------------------------------- 
 0            ~1.3                 0.597 
 1            0.609                0.609 
 2            0.608                0.608 
 3            0.602                0.602 
 4            0.609                0.609 
 5            0.621                0.598 
</pre>
<!-- Author: Ming -->


<!-- Date: Sun Nov 25 20:48:36 2001 -->
<pre>Small Problem with new "Send" program 
------------------------------------- 
This afternoon we reset the b0clc01 crate because it seemed that 
ACNET was not showing any updates from the "send" program. 
But by reseting the crate, the old "send" program 
(ver. oct 31st 2001) was downloaded into b0clc01. So I copied 
the latest version (Nov 16th) from Valentin's area into the 
cdf_clc directory, and move the links to this new version. 
However after I rebooted the CLC01 crate, I noticed that the 
"send" program was in "SUSPEND" mode and not running. 
 
I then tried a test. I moved the links back to the old version 
and reboot the crate. The old version started up and ran with no 
problem. I stopped the program manually (using "clcStop"), 
unloaded the old version and loaded the new version. I then 
started the new version (sp clcsend) which was able to run 
successfully. So it seems that there is some problem in the 
initialization part of the new program. I also found that I 
couldn't stop the new version with "clcStop". 
 
 
Right now CLC01 is running with the old version of "send". 
 
Cheers, 
Ming 
</pre>
<!-- Author: Ming -->


<!-- Date: Mon Nov 26 17:07:25 2001 -->
<pre>Threshold levels for replaced TB in west CLC 
-------------------------------------------- 
Some dead channels were discovered on the west CLC 
which could be due to bad beam condition yesterday. 
We replaced all 3 TB for the west side and adjusted 
these TBs to the right threshold level 
 
Slot #           TB ID         Threshold (V) 
-------------------------------------------- 
3                  4              0.596 
4                  5              0.604 
6                  3              0.602 
</pre>
<!-- Author: Sasha and Ming -->


<!-- Date: Thu Nov 29 12:52:51 2001 -->
<pre>Due to Low gain on the west side, we set the TB threshold 
for the West channels to be around 500 mV. The east side 
is 600mv. These settings were done around 7pm on Nov 28th 
2001.</pre>
<!-- Author: Ming -->
<!-- Comment: Thu Feb 28 08;55;05 comment by...ming -->
<pre>Download new Xilinx code into FPGA for the west
ADMEM (with threshold at 250 ADC). This is because
we observed that almost half of the west channels'
gains dropped by ~30% due to the beam loss that occur
on 11/25/01 . The east side threshold stays at 500 ADC.</pre>
<!-- Date: Wed Dec 12 19:39:03 2001 -->
<p>We have tested ADMEM Xilinx code with downloadable threshold. The 
following 
<a 
href="http://www-cdf.fnal.gov/internal/people/links/JacoboKonigsberg/xilinx_code_verification.html">procedure</a> 
for xilinx code verification was used. 
 
<ol> 
 
<li> We tried to setup these measurements in the test stand.<p> 
We have done the following:<p> 
 
<ul> 
<li> Have installed spare CLC ADMEM board in slot 13 of test stand VME 
crate (PEITEST2) 
<li> Downloaded xilinx in this ADMEM with the code, in which threshold 
is fixed at 500 ADC counts (file <span 
style='color:red'>/cdf/cdf/people1/konigsb/clc_6_23_00.exo</span>, 
see <a 
href="http://www-cdf.fnal.gov/internal/people/links/JacoboKonigsberg/Xilinx_xprt.html"> 
here</a> instruction on how to download xilinx code into ADMEM) 
<li> Calibrated ADMEM with qietest and downloaded new calibration 
constants into FRAM. Found, that channel #4 in this ADMEM failed the 
calibration because of slope=0.0 in the 4th range 
<li> Setup the following qietest parameters in test menu: coupling to 
DC, lookup mode, DAC range 250-250 (which corresponds to the amplitude 
of ~800 ADC counts) 
<li> Then we have started data taking and saw some 
strange behavior of the hit counting signals: 
<ul> 
<li>bits 1 & 2 were always set but they have different polarity (bit 1 
was negative, while bit 2 was positive) 
<li>bit 0 was never set 
</ul> 
<li> At this point we thought that something was wrong with our spare ADMEM and 
have decided to run xilinx test in CLC crate. 
</ul> 
 
<p> 
<li> In CLC crate (b0clc00) 
<p> 
<ul> 
<li> We have selected ADMEM in slot #7; it was calibrated and new 
calibration constants were downloaded into FRAM 
<li> Xilinx code with the threshold fixed at 500 was downloaded into 
ADMEM. 
<li> When we ran qietest in DC (or DC+Input) coupling mode (this is 
the mode of ADMEM operation, when charge is injected into CAFE cards 
from on-board DAC) we observed the following: 
<ul> 
<li>Bit 2, when it was set, had the polarity opposite to that of bits 
0-1 
<li>Below threshold ( ~400-450 ADC ) no bits were set at all 
<li>Just above threshold (~550-600 ADC) only bit 2 was set. That 
exactly corresponds to 4 hits found 
<li>At ~800 ADC bits 0 and 1 were set in addition to bit 2 
<li>At ~1100 ADC again only bit 2 was set 
</ul> 
<li>Then we downloaded xilinx code with adjustable threshold (file 
<span 
style='color:red'>/cdf/people1/konigsb/clc_ThreshProg_15NOV01.exo</span>) 
and set  
threshold value to ~500 ADC. We saw the same behavior of bit 0-2 as 
described above for code with fixed threshold 
<li>As a complimentary test, we used LED to flash PMTs and thus inject 
some charge into ADMEM. We selected from 1 to 4 channels to be flashed 
simultaneously by switching on/off HV on corresponding PMTs. In this 
case we found 
<ul> 
<li>Observed threshold value approximately corresponds to downloaded 
threshold (we have checked two thresholds: 512 and 1024 ADC) 
<li>Number of hits is counted correctly, in agreement with the 
number of flashed channels 
</ul> 
</ul> 
 
<p> 
<li> In summary:<p> 
<ul> 
<li>We have tested xilinx code with downloadable threshold and found 
that it works perfectly 
<li>To run such tests, we need some external source of signals for  
ADMEM, for example, PMTs flashed with LEDs. 
<li>Something goes wrong when we trying to use on-board ADMEM DAC for 
these tests. 
</ul> 
 
</ol>  
<!-- Author: Jaco/Sasha -->


<!-- Date: Fri Dec 21 15:55:30 2001 -->
<pre>TEST NEW HV TABLE (EQUALIZE WEST/EAST GAIN) 
------------------------------------------- 
Sasha & Sasha produced a test version of HV table yesterday. 
The PMTs' gains are more uniform with this HV table (within 
10%). The west pmts are adjusted to gains about 1*10**5, and 
the east pmts' gains are about 2*10**5. 
 
We tested this new HV table to see its effect on the online 
lumi values. This test was done starting at about 14:15 . 
We first loaded in the new HV table, and running with 
the default online lumi program. This caused the online lumi 
to drop by about 17%. Then we ran a modified online lumi 
program which has the effective cross section and average 
hit per interaction adjusted for this new HV setting, the 
online lumi became very closed to the "nominal" value 
(~ -3%). The empty-crossing Lumi was also slightly lower 
by about 3% compared to the "nominal value". 
 
We took about 100k min-bias events for this test (run 135474). 
 
The CLC system was then put back to the nominal mode after this 
test. 
</pre>
<!-- Author: Sasha and Ming -->


<!-- Date: Fri Dec 21 15:56:57 2001 -->
<table><tr><td><a href=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-46&button=yes target='xxx' onclick='jswindow()'; align=top><img src=/cgi/elog/det-system-elog.pl?nb=clc&action=view&page=-46  width='300' align='top'></td><td>Test new HV table.</a></td></tr></table>
<!-- Author: ming -->