<div dir="ltr">Dear colleagues,<div><br></div><div>Normally the git pull request would be sufficient notification of the issues that I am fixing with this mod, but I thought I would accompany the request with a bit of explanation because of the potential impact it may have on anyone doing detector studies using hdgeant. I have been studying the way tracks propagate through the geometry in hdgeant4, and comparing them to the same tracks in hdgeant. These studies have revealed a large number of minor issues, and also a couple of major ones that you should be aware of.</div><div><br></div><div><span id="docs-internal-guid-66070d5a-c175-04f5-432e-a1bcd7f943ba"><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">I</span></span>t turns out that there were a number of geometry violations related to the above overlaps, a few of which were serious. The most serious of these were related to volumes CAP2, CDPU, and CDPD. All three of these volumes were visible in the drawings generated by hdgeant, but they were improperly nested in the geometry hierarchy, resulting in the tracking not being able to see them. CAP2 is a thin poly disk at the downstream end of the start counter. This is potentially important, even though it is quite thin, because it interacts with the full beam. CDPU and CDPD are the upstream and downstream endplates of the CDC. Most of the rohacell ring in the downstream gas plenum was also being clipped and replaced with gas.</div><div><br></div><div>The fact that none of the tracks going through the CDC were interacting in the downstream endplate is almost certainly causing the simulation (over the past couple of years, since this mistake was introduced) to underestimate the amount of multiple scattering of tracks in the central region, and to a lesser extent, the probability of gamma conversions. A fix for all of the above problems has now been submitted to git.<br></div><div><br></div><div>-Richard Jones</div></div>