<div dir="ltr"><div dir="ltr">Hi all,<div><br></div><div>hcana uses the golden track's info to set InsideDipoleExit to true or false. See the lines around 655 in the link below</div><div><br></div><div><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_johnmatter_hcana_blob_59652700d08f10949e0d9b399ff4f70ddc9debf5_src_THcDC.cxx-23L655&d=DwMFaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=XtVl8BY42jbbWh0Vu1ygqgFBYEJMENirtKAh3P_9ayw&m=kF3mY6QmwY_-Rg5eY5m6mmZxjdJEPeVOPJS_SEMYkf4&s=9v81oaJV1KKk1V6RphcE43IB39Bf34QS_UAhcXzlQb0&e=">https://github.com/johnmatter/hcana/blob/59652700d08f10949e0d9b399ff4f70ddc9debf5/src/THcDC.cxx#L655</a><br></div><div><br></div><div>InsideDipoleExit is initialized to true on line 512. So using "inside==true" in the "should" cut fortunately won't exclude ntrack==0 events from the "should" count.</div><div><br></div><div>However, it will exclude some events (ntrack>0 events with golden tracks outside the dipole exit) from both the "should" and "did" counts. Is this what we want?</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr">- John</div></div></div></div></div></div>