<div dir="ltr"><div>This looks good. </div><div><br></div><div>New:</div><div><br></div><div><img src="cid:ii_jsttjwe40" alt="fix.png" width="474" height="322"><br></div><div><br></div><div>Old:</div><div><br></div><div><div><img src="cid:ii_jsttnqel1" alt="before.png" width="474" height="322"><br></div></div><div><br></div><div>& the new hddm file is 4x larger than the old one.<br></div><div><br></div><div>Naomi.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 3, 2019 at 8:27 AM Richard Jones <<a href="mailto:richard.t.jones@uconn.edu">richard.t.jones@uconn.edu</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 dir="ltr"><div>Hello Jon, Naomi, [posted to mailing list so it persists after git issue is resolved]</div><div><br></div><div><p style="box-sizing:border-box;margin-bottom:16px;margin-top:0px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px">What you uncovered turned out to be a nasty tracking bug in the internals of the G4 tracking library that was abandoning the tracking of neutral particles under certain special circumstances. Although those circumstances were relatively rare, only once per 10k events or so, if they happened to occur on the last track in an event, then the tracking of all subsequent events would fail because there are only neutrals coming from your particle gun. I have submitted a new pull request that fixes this bug, and I ran a single run over 1M events to verify it works. Here is the plot that I get. Prior to this, I got the same results you did after event ~340,000. Now it runs to 1M events no problem.</p><p style="box-sizing:border-box;margin-bottom:16px;margin-top:0px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px"><a rel="noopener noreferrer" href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F7832920%2F53695391-3de8ed80-3d89-11e9-9e69-2217f678fdd3.png&data=02%7C01%7CHallD-Offline%40jlab.org%7Ce6e4b6f1f69d4cc4b4f708d6a0570219%7Cb4d7ee1f4fb34f0690372b5b522042ab%7C1%7C0%7C636872692899946089&sdata=NuLwUGAfIJggl9MnAULe3dTXPHtwaQG%2BGb5Gzj1p3OI%3D&reserved=0" originalSrc="https://user-images.githubusercontent.com/7832920/53695391-3de8ed80-3d89-11e9-9e69-2217f678fdd3.png" shash="VYKkMyIgOQqOwyiHr6LfaM2DVISyKJ+NXM1lliCMtnCAgKIpnawWYU+ngwHHRQszrOM3T3LPb4R91FsMNUj5wV0dut3Ws8GBPAPmDk4qmXkMskK1M5+RRTGTOrtaxSnLCNJvUh4d5mycUBtS8KHw3o/yk/IO+/SFIjWL4UMkXCI=" style="box-sizing:border-box;background-color:transparent;color:rgb(3,102,214);text-decoration-line:none" target="_blank"><img src="https://user-images.githubusercontent.com/7832920/53695391-3de8ed80-3d89-11e9-9e69-2217f678fdd3.png" alt="image" style="box-sizing: content-box; border-style: none; max-width: 100%;"></a></p><p style="box-sizing:border-box;margin-top:0px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;margin-bottom:0px">Please execute the pending pull request and verify that it works for you before closing this issue. I will follow up with a detailed description of the diagnosis and fix, in case you are interested.<br style="box-sizing:border-box">-Richard</p></div></div>
_______________________________________________<br>
Halld-offline mailing list<br>
<a href="mailto:Halld-offline@jlab.org" target="_blank">Halld-offline@jlab.org</a><br>
<a href="https://mailman.jlab.org/mailman/listinfo/halld-offline" rel="noreferrer" target="_blank">https://mailman.jlab.org/mailman/listinfo/halld-offline</a></blockquote></div>