<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
I am forwarding these email exchanges primarily from Naomi regarding the BCAL z calibration for CPP/NPP.<br id="lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>Begin forwarded message:</div>
<br class="Apple-interchange-newline">
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);"><b>From:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;">Naomi Jarvis <nsj@cmu.edu><br>
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);"><b>Subject:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;"><b>Re: [EXTERNAL] BCAL z calibration for CPP/NPP</b><br>
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);"><b>Date:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;">February 23, 2024 at 11:17:37 AM EST<br>
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);"><b>To:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;">Elton Smith <elton@jlab.org><br>
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);"><b>Cc:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;">Rory Miskimen <miskimen@physics.umass.edu>, David Lawrence <davidl@jlab.org>, Benedikt Zihlmann <zihlmann@jlab.org>, Ilya Larin <ilarin@jlab.org>, Sean Dobbs <sdobbs@jlab.org>,
Mark Macrae Dalton <dalton@jlab.org><br>
</span></div>
<br>
<div>
<div dir="ltr">
<div dir="ltr">Hi,
<div><br>
</div>
<div>the monitoring data version browser is at <a href="https://halldweb.jlab.org/cgi-bin/data_monitoring/monitoring/dataVersions.py">https://halldweb.jlab.org/cgi-bin/data_monitoring/monitoring/dataVersions.py</a></div>
<div><br>
</div>
<div>Best regards,</div>
<div>Naomi.</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Feb 22, 2024 at 7:36 PM Elton Smith <<a href="mailto:elton@jlab.org">elton@jlab.org</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>Hi Naomi,
<div><br>
</div>
<div>Thanks for passing on the sets of plots that illustrate the “BCAL issue” mentioned in the talks yesterday. I took a look at the dates of the monitoring launches and updates to the effective velocity, which I believe is one of the parameters that Mark determines
during his calibration. See. screen shots below. The relevant calibration for runs 100000-10999 (CPP/NPP) was on Aug 14, 2023.</div>
<div><br>
</div>
<div>Rough Sequence:</div>
<div><br>
</div>
<div>Calibration Mar 23, 2020 [prior GllueX calibration, still valid]</div>
<div><br>
</div>
<div>CPP Monitoring period 2022-05 Ver19- July 17, 2023</div>
<div><br>
</div>
<div>Calibration Jul 20, 2023 (var=bcal_cpp, which I assume was not used for any monitoring launches)</div>
<div><br>
</div>
<div>Calibration Aug 14, 2023</div>
<div><br>
</div>
<div>GlueX Monitoring period 2023-01 Ver07- Jan 23, 2024</div>
<div><br>
</div>
<div>CPP Monitoring 2022-05 Ver25- Jan 30, 2024</div>
<div><br>
</div>
<div>The following is my take, but I might be missing something :</div>
<div><br>
</div>
<div>It appears that the calibration on Aug 14, 2023 is the one causing the systematic differences between determinations of positions from the BCAL and from tracking. It seems that the [GlueX] calibration from Mar 23, 2020 is still valid for the GlueX period
2023-01 from Ver07 taken in January 2024. From this we can conclude that the BCAL did not change during CPP, as expected since the hardware has been untouched. The changes during CPP directly touched the target position, average track momentum (due to lower
beam energy) and CDC (1/4 off). Therefore, as Mark and Naomi have speculated, it is likely Mark’s calibration procedure that relies on tracking that has affected the calibration constants in Aug 14, 2023. </div>
<div><br>
</div>
<div>I concur with Naomi with restoring calibrations to the Mar 23, 2020 set [or the precise calibrations used for Monitoring Ver19] and checking that they are ok after updating the CDC gains. I will note that Ilya has already said that he would like to revisit
the BCAL calibrations in detail, but this should not delay the REST file production. This could be done together with investigating the BCAL position parameters.</div>
<div><br>
</div>
<div>BTW, where can we find the detailed description of each Monitoring Launch? (I’m loosing track of where everything is). </div>
<div><br>
</div>
<div>Thanks, Elton.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><img alt="Version_dates.png" width="250" src="cid:ii_18dd6c0d20e4f6300791"></div>
<div><br>
</div>
<div><br>
</div>
<div><img alt="effective_velocities.png" width="320" src="cid:ii_18dd6c0d20f3ba2318e2"></div>
<div><br id="m_7804264374580614684lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On Feb 22, 2024, at 11:43 AM, Naomi Jarvis <<a href="mailto:nsj@cmu.edu" target="_blank">nsj@cmu.edu</a>> wrote:</div>
<br>
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>As you heard yesterday, Mark has been having trouble with the BCAL position calibrations, he adapted his script to cope with the different target position and missing CDC/4, and must have inadvertently introduced a bug, as the results are worse. There
is a set of calibrations from October that looks okay to me, the non-expert. I wondered if these would be good enough for your REST production. I will paste a selection of relevant plot links below so that you can see the problem. Mark is more than welcome
to add better-informed comments. <br>
<br>
Example plot from GlueX 2023, not affected by the bug<br>
<a href="https://halldweb.jlab.org/work/halld2/data_monitoring/RunPeriod-2023-01/mon_ver07/Run120400/HistMacro_Matching_BCAL.png" target="_blank">https://halldweb.jlab.org/work/halld2/data_monitoring/RunPeriod-2023-01/mon_ver07/Run120400/HistMacro_Matching_BCAL.png<br>
</a><br>
Plot from CPP/NPP launch 19, the last 'good' one before the problem arose<br>
<a href="https://halldweb.jlab.org/work/halld2/data_monitoring/RunPeriod-2022-05/mon_ver19/Run101000/HistMacro_Matching_BCAL.png" target="_blank">https://halldweb.jlab.org/work/halld2/data_monitoring/RunPeriod-2022-05/mon_ver19/Run101000/HistMacro_Matching_BCAL.png<br>
</a></div>
<div><br>
</div>
<div>Plot from CPP/NPP launch 25, the most recent<br>
<a href="https://halldweb.jlab.org/work/halld2/data_monitoring/RunPeriod-2022-05/mon_ver25/Run101000/HistMacro_Matching_BCAL.png" target="_blank">https://halldweb.jlab.org/work/halld2/data_monitoring/RunPeriod-2022-05/mon_ver25/Run101000/HistMacro_Matching_BCAL.png<br>
</a><br>
My time-saving proposal is to retrieve & reinsert the CCDB constants used for ver 19, run another monitoring launch, and use that to update the CDC gains, which were disturbed by BCAL's recalibrations.
<br>
<br>
Of course it would be nicer to find and fix the bug, and then see if the intended improvements really do help. I am asking if you need this.
<br>
<br>
Best regards,<br>
Naomi. </div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</body>
</html>