<div dir="ltr">Hello Alex,<div><br></div><div>My online tools for generating coherent bremsstrahlung spectra (ratetool.cgi) and fitting harp data (harptool.cgi, harptool_2d.cgi) have now been pushed out to a github repo. Please share this with anyone who might want to install it on a jlab web server. I would warn that some of the dependencies are legacy, including paw from cernlib-2005. You may run into push-back from your website admins. Meanwhile, I fully plan to continue my support of the existing instances of these services on the UConn zeus server. The purpose of publishing the code here is for the ability to set up redundant servers at the lab in case connectivity to UConn is interrupted.</div><div><br></div><div><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_rjones30_cobrems-2Donline&d=DwMFaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=Te_hCR4EUlJ6iCDYLJ8Viv2aDOR7D9ZZMoBAvf2H0M4&m=YQdRkfcw_eE66Jmq0ah24pMDOFIhFEM1zUHhiIEtQSFBv0CbkWwLvNkoGaHhWkFy&s=o40Lme1JWqZrCH9bwXLg9HIO3ljv1t8eP5cOCDH0P7c&e=">https://github.com/rjones30/cobrems-online</a></div><div><br></div><div>-Richard Jones</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Feb 17, 2026 at 11:44 AM Alexander Austregesilo <<a href="mailto:aaustreg@jlab.org">aaustreg@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"><u></u>

<div>
<p></p>
<div style="background-color:rgb(255,235,156);width:100%;border-style:none;border-color:rgb(250,235,204);border-width:1pt;padding:10pt;font-size:11pt;line-height:12pt;font-family:Calibri;color:rgb(0,0,0);text-align:left">
<span style="color:rgb(156,101,0)"></span>*External sender: This message was not sent through the UConn email system. It might be safe, but use caution before interacting with links, attachments, or requests.*</div>
<br>
<p></p>
<div>
<p>Yes, please.</p>
<div>On 2/9/26 17:02, Richard T. Jones wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Alex no but  i can create one. rtj</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Feb 9, 2026 at 4:37 PM Alexander Austregesilo <<a href="mailto:aaustreg@jlab.org" target="_blank">aaustreg@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>
<div style="background-color:rgb(255,235,156);width:100%;border-style:none;border-color:rgb(250,235,204);border-width:1pt;padding:10pt;font-size:11pt;line-height:12pt;font-family:Calibri;color:rgb(0,0,0);text-align:left">
<span style="color:rgb(156,101,0)"></span>*External sender: This message was not sent through the UConn email system. It might be safe, but use caution before interacting with links, attachments, or requests.*</div>
<br>
<div>
<p>Ok, please let me know if I can help.</p>
<p>Do you keep the harp scan fitting tool in a repository? I will see if I can host it on one of our new webservers.</p>
<p><br>
</p>
<div>On 2/9/26 14:29, Richard T. Jones wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Alex, yes the ROOT file format on disk changed somewhere around ROOT version 6.28, believe it or not. I will have to convert it to the new ROOT tree file format.
<div>-Richard</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Feb 9, 2026 at 1:47 PM Alexander Austregesilo <<a href="mailto:aaustreg@jlab.org" target="_blank">aaustreg@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">
*External sender: This message was not sent through the UConn email system. It might be safe, but use caution before interacting with links, attachments, or requests.*<br>
<br>
<br>
Hi Richard,<br>
<br>
It compiles and seems to do the right thing. I just noticed that the<br>
file I got from this url is not actually a root file:<br>
<br>
wget<br>
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__nam10.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Fnam10.safelinks.protection.outlook.com-5F-2D3Furl-2D3Dhttps-2D253A-2D252F-2D252Furldefense.proofpoint.com-2D252Fv2-2D252Furl-2D253Fu-2D253Dhttps-2D2D3A-2D5F-2D5Fnam10.safelinks.protection.outlook.com-2D5F-2D2D3Furl-2D2D3Dhttp-2D2D253A-2D2D252F-2D2D252Fnod65.phys.uconn.edu-2D2D253A2880-2D2D252FGluex-2D2D252Fresilient-2D2D252Fresources-2D2D252FHallD-2D2D5Fbeam-2D2D5Fcurrent-2D2D5Frecord-2D2D2D11-2D2D2D15-2D2D2D2024.root-2D2D26data-2D2D3D05-2D2D257C02-2D2D257Crichard.t.jones-2D2D2540uconn.edu-2D2D257C4f10928848774215d45308de680ba38b-2D2D257C17f1a87e2a254eaab9df9d439034b080-2D2D257C0-2D2D257C0-2D2D257C639062596404101222-2D2D257CUnknown-2D2D257CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ-2D2D253D-2D2D253D-2D2D257C0-2D2D257C-2D2D257C-2D2D257C-2D2D26sdata-2D2D3Dv4DKtt08haxQWLthO7-2D2D252BFZ6Ef3rVLdWH-2D2D252BDGfjbmMUp8E-2D2D253D-2D2D26reserved-2D2D3D0-2D2526d-2D253DDwMFaQ-2D2526c-2D253DCJqEzB1piLOyyvZjb8YUQw-2D2526r-2D253D9LGv0gfS3B8uAbsk8r-2D5FcEX-2D5F4GVRxd2wkj-2D2DRJy5MLidg-2D2526m-2D253DM4GtLEVLHzr2Vitzz5oNIPdZOa2hjnuXVb0xIIbtCx-2D2D-2D5FN9WdN42GWFM9oF9SFH38-2D2526s-2D253DNUgheS9kfVsnNYn-2D5FH-2D2Dj5tKeCTfvNJJ-2D5FKg3H7mNi2rs8-2D2526e-2D253D-2D26data-2D3D05-2D257C02-2D257Crichard.t.jones-2D2540uconn.edu-2D257Caccdbddd9b2643bb498a08de68237689-2D257C17f1a87e2a254eaab9df9d439034b080-2D257C0-2D257C0-2D257C639062698689692732-2D257CUnknown-2D257CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ-2D253D-2D253D-2D257C0-2D257C-2D257C-2D257C-2D26sdata-2D3DeJ6eIWAhMuZ5x44LvdyI9OZ2bZr-2D252FGP1hxuAZwNyqGjk-2D253D-2D26reserved-2D3D0-2526d-253DDwMFaQ-2526c-253DCJqEzB1piLOyyvZjb8YUQw-2526r-253D9LGv0gfS3B8uAbsk8r-5FcEX-5F4GVRxd2wkj-2DRJy5MLidg-2526m-253D0Zt0cD2w6oqq1V2ZZkm9AnT2DH6jpXfr8rNlCuyNkqp4DJttl5ewIvYeS3gE40g3-2526s-253Dda5Qc9ONJW2IQCzTk0nmqNodxdegGp-5FIomlyWFZduh8-2526e-253D-26data-3D05-257C02-257Crichard.t.jones-2540uconn.edu-257C33bd18c08a60445584e408de6e43d166-257C17f1a87e2a254eaab9df9d439034b080-257C0-257C0-257C639069434715436388-257CUnknown-257CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ-253D-253D-257C0-257C-257C-257C-26sdata-3DE2o40N3UT0alhz0le16x0XHgRDH3obaxwx2xJYhymoY-253D-26reserved-3D0&d=DwMFaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=Te_hCR4EUlJ6iCDYLJ8Viv2aDOR7D9ZZMoBAvf2H0M4&m=YQdRkfcw_eE66Jmq0ah24pMDOFIhFEM1zUHhiIEtQSFBv0CbkWwLvNkoGaHhWkFy&s=osqWxbuMhFAk_Pm5IUPo8nCILvIyo_xUcV_XbOhFLfY&e=" rel="noreferrer" target="_blank">https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fnod65.phys.uconn.edu%3A2880%2FGluex%2Fresilient%2Fresources%2FHallD_beam_current_record-11-15-2024.root&data=05%7C02%7Crichard.t.jones%40uconn.edu%7C4f10928848774215d45308de680ba38b%7C17f1a87e2a254eaab9df9d439034b080%7C0%7C0%7C639062596404101222%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=v4DKtt08haxQWLthO7%2BFZ6Ef3rVLdWH%2BDGfjbmMUp8E%3D&reserved=0</a><br>
<br>
The plugin spits out this error message, but continues running:<br>
<br>
JEventProcessor_PStagstudy::brun error - failed to open EPICS beam<br>
current record at url HallD_beam_current_record-11-15-2024.root<br>
...continuing on without beam current information from EPICS<br>
<br>
<br>
The output file seems to have entries in histograms and trees. If you<br>
want you can check it here:<br>
<br>
/work/halld2/home/aaustreg/Analysis/sw/my_halld_test/jana-plugins/PStagstudy/hd_root.root<br>
<br>
If you want, we can copy the beam current record to<br>
/group/halld/www/halldweb/html/resources/ and hard-code the path in the<br>
halld_recon master.<br>
<br>
<br>
With Jana2, some of the command line arguments have changed:<br>
<br>
-Pjana:nevents=$nevents<br>
<br>
-Pjana:global_loglevel=FATAL (for batch mode)<br>
<br>
Best regards,<br>
<br>
Alex<br>
<br>
<br>
<br>
On 2/7/26 11:47, Richard T. Jones wrote:<br>
> Hello Alex,<br>
><br>
> Please check out the latest main branch of my jana-plugins to get a<br>
> fixed version of the PStagstudy plugin. The bug was that Process() was<br>
> calling the RootUnLock without having first done the RootWriteLock. I<br>
> am not sure why that was working before under JANA v1. Here are some<br>
> other commandline options that I use when I test it, not sure if these<br>
> are relevant for you when you run your monitoring runs.<br>
><br>
> hd_root \<br>
>   -PPRINT_PLUGIN_PATHS=1 \<br>
>   -PJANA:BATCH_MODE=$batch \<br>
>   -PPLUGINS=PStagstudy \<br>
>   -PTAGMHit:CUT_FACTOR=0 \<br>
>   -PEVIO:PARSE_SSP=0 \<br>
>   -PEVENTS_TO_KEEP=$nevents \<br>
>   -PTHREAD_TIMEOUT_FIRST_EVENT=300 \<br>
>   -PAUTOACTIVATE=DTAGMHit:Calib \<br>
>   -PTHREAD_TIMEOUT=300 \<br>
>   -PNTHREADS=$nthreads \<br>
>   --nthreads=$nthreads \<br>
>   $(basename $inputURL/$infile) || clean_exit $? "hd_root crashed<br>
> during data processing"<br>
><br>
> -Richard Jones<br>
<br>
--<br>
Alexander Austregesilo<br>
<br>
Staff Scientist - Experimental Nuclear Physics<br>
Thomas Jefferson National Accelerator Facility<br>
Newport News, VA<br>
<a href="mailto:aaustreg@jlab.org" target="_blank">aaustreg@jlab.org</a><br>
(757) 269-6982<br>
<br>
</blockquote>
</div>
</blockquote>
<pre cols="72">-- 
Alexander Austregesilo

Staff Scientist - Experimental Nuclear Physics
Thomas Jefferson National Accelerator Facility
Newport News, VA
<a href="mailto:aaustreg@jlab.org" target="_blank">aaustreg@jlab.org</a>
(757) 269-6982
</pre>
</div>
</div>
</blockquote>
</div>
</blockquote>
<pre cols="72">-- 
Alexander Austregesilo

Staff Scientist - Experimental Nuclear Physics
Thomas Jefferson National Accelerator Facility
Newport News, VA
<a href="mailto:aaustreg@jlab.org" target="_blank">aaustreg@jlab.org</a>
(757) 269-6982
</pre>
</div>
</div>

</blockquote></div>