[Halld-cal] Correct values for NSA/NSB
Mark Macrae Dalton
dalton at jlab.org
Wed Mar 30 08:48:58 EDT 2016
Hi Mike,
I think that you should just push to the master branch. It’s a relatively small change and it’s not going to break anything. I think we should bit the bullet and get this started so that all the downstream calibrations etc. can be done done.
Best,
Mark Macrae Dalton
> On Mar 29, 2016, at 1:55 PM, Michael Staib <mstaib at andrew.cmu.edu> wrote:
>
> Hi All,
>
> 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.
>
> 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.
>
> If you think I should just pull the fix into the master branch, let me know.
>
> --
> Michael Staib
> Graduate Student, Dept. of Physics
> Carnegie Mellon University
> mstaib at cmu.edu
> phone: 412-268-2983
>
>
>
>
> _______________________________________________
> Halld-cal mailing list
> Halld-cal at jlab.org
> https://mailman.jlab.org/mailman/listinfo/halld-cal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-cal/attachments/20160330/637211be/attachment.html>
More information about the Halld-cal
mailing list