<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class=""><br class="">
</div>
Igal,
<div class=""><br class="">
</div>
<div class="">Thanks for sending code!<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Apr 16, 2020, at 7:44 AM, Igal Jaegle <<a href="mailto:ijaegle@jlab.org" class="">ijaegle@jlab.org</a>> wrote:</div>
<div class="">
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<span class=""></span></div>
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
Beam Photon factory is selecting the detector with the best timing or one can request it is only using the photons.</div>
</div>
</blockquote>
<br class="">
</div>
<div>I think above you mean the EventRFBunch factory. Are you making this request to use only photons?</div>
<div><br class="">
</div>
<div>This makes sense. It seems like your algorithm may do two things then, one of which is done by the standard algorithm:</div>
<div><br class="">
</div>
<div>1) it verifies that the two photons from the pi0 come from the same bunch by looking at delta t</div>
<div>2) it verifies that both photons also come from the bunch that seems to be consistent with producing the event (...bunch as determined by looking at timing signals in all detectors)</div>
<div><br class="">
</div>
<div>I think the standard algorithm does 1 but not 2. If you had very high rates, you might imagine that there are background photons that are uncorrelated with each other but are consistent with coming from the same bunch. Therefore they satisfy criterion
1 but they may be eliminated by criterion 2 because they wouldn't have fired the trigger.</div>
<div><br class="">
</div>
<div>It will be interesting to see the significance of this subtraction once you purify the sample based on trigger bits. That would help indicate whether a similar criterion might also be added to the standard calibration to improve performance.</div>
<div><br class="">
</div>
<div>Matt</div>
<div><br class="">
</div>
</div>
</body>
</html>