<div dir="ltr">Sure, I can check how much we need to scale the BCAL gains to stay consistent after this change..<div><br></div><div>Will</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 29, 2016 at 1:55 PM, Michael Staib <span dir="ltr"><<a href="mailto:mstaib@andrew.cmu.edu" target="_blank">mstaib@andrew.cmu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
I have pushed a branch to Github, called f250_NSA_NSB, that grabs the correct values for NSA and NSB from the flash registers when the BOR record is available. My thoughts are to leave the code on a branch for now until calibration constants are ready for the fixed values.<br>
<br>
In case you are unaware from previous meetings, it was found that NSB = 0 is an invalid setting on the current version of the f250. For the BCAL, the configuration file had NSB = 0 and NSA=26, FCAL, NSB = 0 and NSA=15, so we were subtracting off 26 and 15 samples of pedestal, respectively. In reality, on the flash NSB was being forced to 1. The new code will correctly subtract 27 and 16 samples from the BCAL/FCAL by grabbing these values from the registers. This will obviously cause some small shift in the energy calibrations.<br>
<br>
If you think I should just pull the fix into the master branch, let me know.<br>
<br>
--<br>
Michael Staib<br>
Graduate Student, Dept. of Physics<br>
Carnegie Mellon University<br>
<a href="mailto:mstaib@cmu.edu">mstaib@cmu.edu</a><br>
phone: <a href="tel:412-268-2983" value="+14122682983">412-268-2983</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Halld-cal mailing list<br>
<a href="mailto:Halld-cal@jlab.org">Halld-cal@jlab.org</a><br>
<a href="https://mailman.jlab.org/mailman/listinfo/halld-cal" rel="noreferrer" target="_blank">https://mailman.jlab.org/mailman/listinfo/halld-cal</a><br>
</blockquote></div><br></div>