<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Matt,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
That is a good point in fact depending on the function used for the background the mean can change by 1-2 MeV which is quite a lot. Note, I am not using this fit to calculate the gain. Also, the jumps you were mentioning in the first email is also there with
 one single gain table and when the background coming from the inner ring is removed.  The monitoring plot are not using the inner rings from where the background at 75 MeV is "originating". Let me point out also that for the middle rings, the invariant mass
 distribution is similar for all runs so even if the fit as a bias, the bias cannot explain the measured change of gain by 2-3% which is in larger than the possible bias.  After some thoughts, I am not entirely sure that my pi0 skims are buggy but I will, in
 any case, produce a new one for a few runs with the beam-photons.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
All, any ideas why the background in FCAL is different with the CDC and/or FDC turn on and off? Increases in the accidental coincidence due to the rate increase?
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
tks ig.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Shepherd, Matthew <mashephe@indiana.edu><br>
<b>Sent:</b> Tuesday, April 14, 2020 4:43 AM<br>
<b>To:</b> Igal Jaegle <ijaegle@jlab.org><br>
<b>Cc:</b> Drew Smith <andrew.p.smith@duke.edu>; primexd@jlab.org <primexd@jlab.org><br>
<b>Subject:</b> [EXTERNAL] Re: [Primexd] FCAL gain/energy calibration</font>
<div> </div>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space"><br class="">
<div>Hi Igal,</div>
<div><br class="">
</div>
<div>
<blockquote type="cite" class="">
<div class="">On Apr 13, 2020, at 9:57 PM, Igal Jaegle <<a href="mailto:ijaegle@jlab.org" class="">ijaegle@jlab.org</a>> wrote:</div>
<div class=""></div>
</blockquote>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
 Also, I still do not understand why this should change the gain and prevent from improving the resolution.<span class="x_Apple-converted-space"> </span></div>
</div>
</blockquote>
<br class="">
</div>
<div>It doesn't in principle, however it complicates the background.  If you don't model this background very well then your fit parameters (which you are using to tell you information about gain and the resolution) develop systematic biases and no longer reflect
 the true gain and resolution.  I think you can start to see this if you look very closely at the plot you sent (re-pasted below).  The peak of the red curve appears shifted just a little bit high in this plot:  the top of the red curve is at the rightmost
 of a few bins that appear to have the same contents, and just above the peak the curve systematically overestimates the bin contents (before systematically underestimating the bin contents beyond that).  A plot of the residuals would confirm this, but I don't
 see these features in the other plot you sent.</div>
<div><br class="">
</div>
<div>The problem is that the precision of your extraction of the mean (and hence the gain) is being limited by systematic errors rather than statistical errors on the fit parameters.  If the systematic errors are fully correlated across all runs then this is
 no problem for extracting relative gains:  you make the same systematic mistake every time and your results still reflect relative changes.  However, it appears this is not the case, the background changes as the runs evolve (due to changing physical conditions
 or how your algorithm deals with the presence of tracking hits) and hence these systematic biases change and lead to apparent significant variations of the gain.</div>
<div><br class="">
</div>
<div>The eta fits seem much cleaner and less susceptible to these background problems, with one exception:  if part of the shape distortion in the pi0 is due to variation of the true event vertex with respect to the assumed event vertex (center of target) then
 that distortion would be present in the eta also.  </div>
<div><br class="">
</div>
<div>Matt</div>
<div><br class="">
</div>
<div><br class="">
</div>
<div><br class="">
</div>
<div><img id="x_1C64B17E-9163-42A9-9530-66B557B290D2" class="" data-outlook-trace="F:1|T:1" src="cid:18862133-E7BA-481A-87F4-98EAA3FD2930@hsd1.in.comcast.net"></div>
</div>
</body>
</html>