<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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);" class="elementToProof">
Thank you, Sean, I will let you know if it is improving things.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
tks ig.<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> Sean Dobbs <sdobbs@jlab.org><br>
<b>Sent:</b> Thursday, June 15, 2023 12:06 PM<br>
<b>To:</b> Igal Jaegle <ijaegle@jlab.org><br>
<b>Cc:</b> soy062 <soy062@uregina.ca>; halld-cal@jlab.org <halld-cal@jlab.org>; Rory Miskimen <miskimen@physics.umass.edu>; Karthik Suresh <ksv656@uregina.ca>; Benedikt Zihlmann <zihlmann@jlab.org><br>
<b>Subject:</b> Re: [Halld-cal] [EXTERNAL] Re: CPP/NPP BCAL calibration status</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Igal,<br>
<br>
As a follow-up, currently there is ~10% of the CPP run skimmed out<br>
including the trigger data in:<br>
/cache/halld/RunPeriod-2022-05/calib/ver02/BCAL_pi0<br>
<br>
So you should be able to look and see if you are getting a better pi0<br>
peak by selecting e.g. the BCAL-FCAL trigger, and how that affects the<br>
total statistics of the measurement.<br>
<br>
Cheers,<br>
Sean<br>
<br>
On Wed, Jun 14, 2023 at 10:31 AM Sean Dobbs <sdobbs@jlab.org> wrote:<br>
><br>
> Igal,<br>
><br>
> For what it's worth, I started skimming the data to include the<br>
> trigger information.  The whole data set will probably take a couple<br>
> of weeks, but I'll let you know when there's enough data to get some<br>
> feeling for how the signal/background might improve - this will<br>
> probably be a couple of days.<br>
><br>
> Cheers,<br>
> Sean<br>
><br>
> On Wed, Jun 14, 2023 at 3:08 AM Igal Jaegle via Halld-cal<br>
> <halld-cal@jlab.org> wrote:<br>
> ><br>
> > All,<br>
> ><br>
> > I made a test for period 3, <a href="https://halldweb.jlab.org/primexd/bcal-cal/2022-05/3/pi0gainmatrix_11.pdf">
https://halldweb.jlab.org/primexd/bcal-cal/2022-05/3/pi0gainmatrix_11.pdf</a><br>
> ><br>
> > I started with period 1 table. As you can see between iteration 0 and 4, there is no changes. Then, I put the ADC gain for all L3 cells to the default value (3.5e-05 - after each iteration). And between iteration 5 to 11, the behavior starts to converge
 but not as well as when a pi0 signal is seen in L3. I will try to use for all L3 cells, the average gain instead of the default value for iteration 12 and above.  Let me know if you have a better idea.<br>
> ><br>
> > tks ig.<br>
> > ________________________________<br>
> > From: soy062 <soy062@uregina.ca><br>
> > Sent: Monday, June 12, 2023 1:38 PM<br>
> > To: Igal Jaegle <ijaegle@jlab.org><br>
> > Cc: Karthik Suresh <ksv656@uregina.ca>; Mark Macrae Dalton <dalton@jlab.org>; Rory Miskimen <miskimen@physics.umass.edu>; Zisis Papandreou <zisis@uregina.ca><br>
> > Subject: Re: [EXTERNAL] Re: CPP/NPP BCAL calibration status<br>
> ><br>
> > Hello Igal,<br>
> ><br>
> > I looked at the layer 3 plots, and indeed, they don't seem to be<br>
> > converging. Even the fits in the 2y reconstructed mass look very weird<br>
> > and don't seem to improve per iteration. This is probably very closely<br>
> > related to the aforementioned issues with Layer 3. Usually I've never<br>
> > seen this behaviour for the background and total fits, as things looked<br>
> > rather clean for other experiments (see attached Be target from PrimEx).<br>
> ><br>
> > Also, looking at the coefficient of variation vs. iteration plot, there<br>
> > is a big drop in the last iteration, which doesn't really reflect in the<br>
> > other plots (it's essentially zero), so I'm not sure why that happened.<br>
> > Currently, I'm not sure what advice to give for layer 3, since it seems<br>
> > to be a complexity related to the CPP/NPP experiment conditions. Maybe<br>
> > someone can give additional comments on this.<br>
> ><br>
> > Best regards,<br>
> > Stjepan<br>
> ><br>
> > On 2023-06-10 10:47, Igal Jaegle wrote:<br>
> > > Thank you, Karthik, for your input. Ok, the 12th iteration finished<br>
> > > this morning, layer 1 and 2 did converge although their bands seems<br>
> > > larger than what you are usually showing. The 3rd layer is all over<br>
> > > the place because no pi0 resonance is seen, look at<br>
> > > l3_gain_checking_1.py. What is your advice in this case?<br>
> > ><br>
> > >  tks ig.<br>
> > ><br>
> > > -------------------------<br>
> > ><br>
> > > From: Karthik Suresh <ksv656@uregina.ca><br>
> > > Sent: Friday, June 9, 2023 11:45 PM<br>
> > > To: Igal Jaegle <ijaegle@jlab.org><br>
> > > Cc: soy062 <soy062@uregina.ca>; Mark Macrae Dalton <dalton@jlab.org>;<br>
> > > Rory Miskimen <miskimen@physics.umass.edu>; Zisis Papandreou<br>
> > > <zisis@uregina.ca><br>
> > > Subject: Re: [EXTERNAL] Re: CPP/NPP BCAL calibration status<br>
> > ><br>
> > > Good evening Igal,<br>
> > ><br>
> > > The current procedure is such that the convergence could be slow (due<br>
> > > the the iterative nature). Also, I doubt if  the third layer can be<br>
> > > calibrated within 1% precision with this method. But I think we could<br>
> > > conclude that after a few more iterations.<br>
> > ><br>
> > > Thank you<br>
> > > Karthik Suresh<br>
> > ><br>
> > > On 2023-06-09 21:26, Igal Jaegle wrote:<br>
> > >> Thank you, Stjepan, for your answer and help. It seems very slowly<br>
> > >> converging, see the latest report 8. The first values were not so<br>
> > > bad,<br>
> > >> then I did a mistake in the new gain calculation, correct it, then<br>
> > > it<br>
> > >> seems to slowly recover but very slowly.  Could it be due to the 3rd<br>
> > >> layer seeing no pi0s? What should be done to the 3rd layer, put<br>
> > >> default values or the values of the run period precede it or succeed<br>
> > >> it? What is your suggestion for the 3rd layer?<br>
> > >><br>
> > >>  tks ig.<br>
> > >><br>
> > >> -------------------------<br>
> > >><br>
> > >> From: soy062 <soy062@uregina.ca><br>
> > >> Sent: Friday, June 9, 2023 10:56 PM<br>
> > >> To: Igal Jaegle <ijaegle@jlab.org><br>
> > >> Cc: Mark Macrae Dalton <dalton@jlab.org>; Rory Miskimen<br>
> > >> <miskimen@physics.umass.edu>; Zisis Papandreou <zisis@uregina.ca>;<br>
> > >> Karthik Suresh <ksv656@uregina.ca><br>
> > >> Subject: [EXTERNAL] Re: CPP/NPP BCAL calibration status<br>
> > >><br>
> > >> Hi Igal,<br>
> > >><br>
> > >> Sorry for the delayed response. The histograms in the "fit" ROOT<br>
> > > file<br>
> > >> are arranged in a cyclical way. For example, starting from 1 to 4<br>
> > >> (channel number) would be layer 1, 5 to 8 would be layer 2, 9 to 12<br>
> > >> would be layer 3, 13 to 16 would be layer 4 and then for 17 to 20 we<br>
> > >> go<br>
> > >> back to layer 1. The final one is 763.<br>
> > >><br>
> > >> Looking at the plots (pi0gainmatrix.pdf), there seems to be<br>
> > > something<br>
> > >> missing in the pipeline. Basically for each iteration the pi0 mass<br>
> > > is<br>
> > >> not converging, which means that somewhere along the way the local<br>
> > >> ccdb<br>
> > >> gain constants are not getting updated after each iteration or the<br>
> > >> local<br>
> > >> ccdb is not getting copied to the right location. This can be seen<br>
> > > for<br>
> > >><br>
> > >> example in the sigma/mean vs iteration plot, it is constant, which<br>
> > > it<br>
> > >> should not be.<br>
> > >><br>
> > >> Best regards,<br>
> > >> Stjepan<br>
> > >><br>
> > >> On 2023-06-09 16:45, Igal Jaegle wrote:<br>
> > >>> Bump!<br>
> > >>><br>
> > >>> -------------------------<br>
> > >>><br>
> > >>> From: Igal Jaegle<br>
> > >>> Sent: Thursday, June 8, 2023 9:20 PM<br>
> > >>> To: Mark Macrae Dalton <dalton@jlab.org>; Rory Miskimen<br>
> > >>> <miskimen@physics.umass.edu>; Zisis Papandreou <zisis@uregina.ca>;<br>
> > >>> Karthik Suresh <ksv656@uregina.ca>; Stjepan Orešić<br>
> > >>> <soy062@uregina.ca><br>
> > >>> Subject: CPP/NPP BCAL calibration status<br>
> > >>><br>
> > >>>  All,<br>
> > >>><br>
> > >>>  I am testing the upgrades of the BCAL gain calibration procedure.<br>
> > >> The<br>
> > >>> upgrades free the calibrator of all interventions between each<br>
> > >>> iteration making the calibration fully automized. I made a wiki<br>
> > >> which<br>
> > >>> can be accessed from<br>
> > >>> <a href="https://halldweb.jlab.org/wiki/index.php/Main_Page">https://halldweb.jlab.org/wiki/index.php/Main_Page</a> [1] go to,<br>
> > > Barrel<br>
> > >>> Carolimter, pi0 gain calibration, and CPP/NPP (2022-05) BCAL pi0<br>
> > >>> calibration [2]<br>
> > >>><br>
> > >>>  The report and individual fit can be found here:<br>
> > >>> <a href="https://halldweb.jlab.org/primexd/bcal-cal/2022-05/1/">https://halldweb.jlab.org/primexd/bcal-cal/2022-05/1/</a> [3]<br>
> > >>><br>
> > >>>  Stjepan/Karthik, how the layer ordering is working? 1 to 512 first<br>
> > >>> layer, 513 to 1024 2nd layer, and 1025 to 1534 3rd layer? The 3rd<br>
> > >> sees<br>
> > >>> nothing is that an issue? How to solve it? Or leave with it?<br>
> > >>><br>
> > >>>  tks ig<br>
> > >>><br>
> > >>><br>
> > >>><br>
> > >>> Links:<br>
> > >>> ------<br>
> > >>> [1] <a href="https://halldweb.jlab.org/wiki/index.php/Main_Page">https://halldweb.jlab.org/wiki/index.php/Main_Page</a><br>
> > >>> [2]<br>
> > >>><br>
> > >><br>
> > > <a href="https://halldweb.jlab.org/wiki/index.php/CPP/NPP_(2022-05)_BCAL_pi0_calibration">
https://halldweb.jlab.org/wiki/index.php/CPP/NPP_(2022-05)_BCAL_pi0_calibration</a><br>
> > > [1]<br>
> > >> [1]<br>
> > >>> [3] <a href="https://halldweb.jlab.org/primexd/bcal-cal/2022-05/1/">https://halldweb.jlab.org/primexd/bcal-cal/2022-05/1/</a><br>
> > >><br>
> > >><br>
> > >> Links:<br>
> > >> ------<br>
> > >> [1]<br>
> > >><br>
> > > <a href="https://halldweb.jlab.org/wiki/index.php/CPP/NPP_(2022-05)_BCAL_pi0_calibration">
https://halldweb.jlab.org/wiki/index.php/CPP/NPP_(2022-05)_BCAL_pi0_calibration</a><br>
> > > [1]<br>
> > ><br>
> > > --<br>
> > > Karthik Suresh<br>
> > ><br>
> > ><br>
> > > Links:<br>
> > > ------<br>
> > > [1]<br>
> > > <a href="https://halldweb.jlab.org/wiki/index.php/CPP/NPP_(2022-05)_BCAL_pi0_calibration">
https://halldweb.jlab.org/wiki/index.php/CPP/NPP_(2022-05)_BCAL_pi0_calibration</a><br>
> > _______________________________________________<br>
> > Halld-cal mailing list<br>
> > Halld-cal@jlab.org<br>
> > <a href="https://urldefense.com/v3/__https://mailman.jlab.org/mailman/listinfo/halld-cal__;!!PhOWcWs!wYZI7-yOAXDQlAlPpt0G3TedPB6zwn2MIOjbMWzG5i0OGwZK1kL-sMDmTYC8wJn7lESuYRotVEIyIlK4$">
https://urldefense.com/v3/__https://mailman.jlab.org/mailman/listinfo/halld-cal__;!!PhOWcWs!wYZI7-yOAXDQlAlPpt0G3TedPB6zwn2MIOjbMWzG5i0OGwZK1kL-sMDmTYC8wJn7lESuYRotVEIyIlK4$</a><br>
</div>
</span></font></div>
</body>
</html>