Mapping EPD 09/15/2022

We have mapped the East side of the EPD, though there are several issues.  First, let's see what the crate by crate mapping looks like:


Figure 1: East Side mapping to the now 4 EPD crates.

For the tests we are doing now, EQ4 is down so any mapping test should show "blue" for the EQ4 crates.  (It should also be noted that there are some tile 1s on the West that are cabled into the East, but I will not worry about these at the moment.)

Pattern 1 should look like: drupal.star.bnl.gov/STAR/system/files/userfiles/60/Pattern1.png

The first test for the first pattern resulted in:


Figure 2: Pattern1 test done immediately after cabling and mapping.  Lots of blue.


Figure 3: This was taken today.  Only EQ4 should be down, which seems to be largely true.  The NE SiPM box voltage was bumped up (there was some voltage sag due to the extensions required after shifting things around).

From Figure 3 I notice a few things, the red on the west side is a problem.  Actually the red is higher than the green in terms of value, everything on the left should be green.

Let's look at Pattern 2 as well: drupal.star.bnl.gov/STAR/system/files/userfiles/60/Pattern2.png

The result is:


Figure 4: Pattern 2 from teh same set of mapping.  The upper coordinate seems ok, but the lower half does seem to be high.  It really does seem that the levels themselves are messed up.

All mapping patterns are at: drupal.star.bnl.gov/STAR/blog/lisa/seven-pattern-files-can-resolve-all-ambiguity

There are a lot of issues here - there are tiles lighting up where they shouldn't, and tiles lighting up with the wrong values.  We always had a few borderline cases, but the tiles that are "off" are off by a lot.  So first, I wonder whether the pedestals are ok - if a tile has a high pedestal it will always show as lit up.

To look at the pedestals:
ssh -A -Y you@ssh.sdcc.bnl.gov
ssh -A -Y stargw.starp.bnl.gov
ssh -A -Y trg@startrg.starp.bnl.gov
ssh l2ana01.trg.bnl.local
cd online_l2/ped

Look at eq*.runnumber
To copy:
scp eq*.mean.run startrg.trg.bnl.local:~/
exit
scp eq*.mean.run you@onl04.starp.bnl.gov:~/

The "zero" pedestal is: Run 23257001
The "normal" pedestal is: Run 23257009

It seems there is something very odd going on in the pedestals.  I attach comparisons of the two runs here:
drupal.star.bnl.gov/STAR/system/files/EQ1_09152022.pdf
drupal.star.bnl.gov/STAR/system/files/EQ2_09152022.pdf
drupal.star.bnl.gov/STAR/system/files/EQ3_09152022.pdf
Note - the trigger code simply numbers the boards from 0 to X, regardless of what slot they are in.  Another important point is that the last 4 boards in each crate are not yet hooked up to their FEEs, so this is the natural noise of the QT boards.

One example plot:


Figure 5: EQ1 Board 0.  The points are the mu+/- sigma of the pedestal.  The black are from our "zeros" file.  The red are "nominal".  The "zeros" really should be close to zero -> This certainly indicates why things look messy in the mapping.  There is also something strange going on with the "nominal" values.

Dark current after Run 22:


Figure 6: East Side dark current difference.  Black is before Run 22, Red is after Run 22.

Tristan has created the spreadsheet that indicates our current mapping scheme.  (One saves a tab based text file from the spreadsheet to upload to the DB.)  The results can be found at: drupal.star.bnl.gov/STAR/system/files/EPD_mapping_4crate_091722.xlsx

We changed the pattern files so that they had their bias voltages set to zero in order to avoid the issues discussed above.