<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<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);">
My point is that the energy is used for determining the position which is true. So, what you are saying is that the matching is done using DFCALCluster and not DFCALShower/DFCALShower_factory Position line 274/275 (I see that DFCALShower is used and not DFCALCluster
 in TRACKING dir but I am misreading maybe) and that in any case, the energy is playing a negligible role even if completely miscalibrated which is the case for energy deposited below 1 GeV.<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>
<div><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0);">
<br>
<hr tabindex="-1" style="display:inline-block; width:98%;">
<b>From:</b> Shepherd, Matthew<br>
<b>Sent:</b> Tuesday, November 30, 2021 1:26 PM<br>
<b>To:</b> Igal Jaegle<br>
<b>Cc:</b> Mark Ito; halld-offline@jlab.org<br>
<b>Subject:</b> [EXTERNAL] Re: [Halld-offline] HDGeant4 Meeting Minutes, November 29, 2021
<div><br>
</div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText"><br>
<br>
> On Nov 30, 2021, at 1:12 PM, Igal Jaegle <ijaegle@jlab.org> wrote:<br>
> <br>
> As far as I understand the code: the position is determined by looking at the block position with the largest energy deposited among all blocks making a cluster.
<br>
<br>
This is not the case.  DFCluster positions are at fixed z but with x,y determined by all hits in the cluster.  (Lines 190 and 191 of DFCALCluster.cc)  Then at the shower stage the energy is used to get the depth (z).   An energy miscalibraiton will cause the
 depth to be incorrect which will result in an incorrect angle for photon four-vector.  This leads to shift in x,y on the front face of the FCAL, which is presumably the plane where track-matching is done.  But this shift is so tiny around the beam hole, I
 don't see how it can practically make a difference.<br>
<br>
Matt</div>
</span></font></div>
</div>
</body>
</html>