<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">We may want to discuss tomorrow<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">Nathan Baltzell <baltzell@jlab.org><br>
<b>Date: </b>Wednesday, August 14, 2024 at 3:08 PM<br>
<b>To: </b>Darren Upton <dwupton@jlab.org><br>
<b>Cc: </b>Torri Jeske <roark@jlab.org><br>
<b>Subject: </b>Re: New Student - Hydra<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal">Hello Darren,<br>
<br>
Sure, let's meet some time. Except for Tuesday/Thursday, I can be available any afternoon. I'm CC'ing Torri in case she's interested.<br>
<br>
The general approach I discussed with Torri is: CLAS12 uses a database (CCDB) to store various calibration parameters, and we'll "hijack" it and reprocess some data to generate images that emulate some of the main types of issues where Hydra needs education.
<br>
<br>
More specifically ...<br>
<br>
All detectors have a translation table in CCDB containing their mapping from DAQ to detector numbering schemes. Each row is (normally) unique and represents one "channel", and the columns are (crate slot channel sector layer component order). The first 3
are defined by DAQ hardware, and the rest are defined in a geometry document (and used explicitly in COATJAVA software).<br>
<br>
What we do is write some python to (1) read the normal tables directly from CCDB for a given detector, (2) modify values in the table in particular systematic ways, (3) update CCDB with the new tables. Then we (4) rerun "mon12" on raw data to generate the
new images and give them to Hydra.<br>
<br>
If the number of specific issues to emulate is large enough, and I'm assuming it will be, writing some bookkeeping/organization into the code to automatically deal with all the different instances will be necessary.
<br>
<br>
But I'd probably start by picking one specific issue case and implementing steps 1-4 "manually". For that, I'd take the ECAL detector and change all the rows corresponding to a particular slot in one crate. Here's the CCDB webserver's display of that table:
<a href="https://clasweb.jlab.org/cgi-bin/ccdb/show_request?request=/daq/tt/ec:5673:default:2018-11-28_14-16-50">
https://clasweb.jlab.org/cgi-bin/ccdb/show_request?request=/daq/tt/ec:5673:default:2018-11-28_14-16-50</a><br>
<br>
More generally, one thing you'll need is familiarity with python CCDB access. Probably you want to use the standard clas12 environment on ifarm machines at JLab for that. See the clas12 software wiki for info:
<a href="https://clasweb.jlab.org/wiki/index.php/CLAS12_Software_Center">https://clasweb.jlab.org/wiki/index.php/CLAS12_Software_Center</a> And, FWIW, here's one of my python CCDB usages:
<a href="https://github.com/JeffersonLab/clas12-utilities/blob/main/bin/ccdb-diff.py">
https://github.com/JeffersonLab/clas12-utilities/blob/main/bin/ccdb-diff.py</a><br>
<br>
Ok, let me know if you have any questions about the concepts, or the details, or we can wait to discuss in person.<br>
<br>
Regards,<br>
Nathan<br>
<br>
<br>
________________________________________<br>
From: Darren Upton <dwupton@jlab.org><br>
Sent: Wednesday, August 14, 2024 1:39 PM<br>
To: Nathan Baltzell<br>
Subject: New Student - Hydra<br>
<br>
Hello,<br>
<br>
I am the student looking to help with the Hydra implementation for CLAS. We met a few weeks ago and I wanted to touch bases to see what ideas/suggestions you have for us. If you would be available to meet sometime in the next week or so, that would be excellent!<br>
<br>
Best,<br>
Darren Upton<br>
<br>
-------------------------------<br>
Darren Upton (he/they)<br>
Graduate Student<br>
Department of Physics<br>
Old Dominion University, Norfolk, VA<br>
<br>
Email: dwupton@jlab.org<br>
Mobile: 757-817-0758<o:p></o:p></p>
</div>
</div>
</body>
</html>