[E16-e1f] CC phi matching cut

Nathan Harrison harrison at phys.uconn.edu
Tue Nov 10 10:42:48 EST 2015


Dear all,

Here is the algorithm I use for the CC phi matching cut. It requires the
variable "cc_segm" (this is its name in nt22 format). First calculate the
quantity

int ccpmt = cc_segm[i]/1000 - 1;

the value will be -1 for a left side PMT, +1 for a right side PMT, or 0 for
both sides. Next, simply compare this to the track's phi angle relative to
the sector (I call this "relphi"):

if(relphi > 0 && ccpmt > 0) return 1;
if(relphi > 0 && ccpmt < 0) return 2;
if(relphi < 0 && ccpmt < 0) return -1;
if(relphi < 0 && ccpmt > 0) return -2;
if(ccpmt == 0 || relphi == 0) return 0;

Good electrons will return -1, 0, or +1, i.e. I cut tracks with -2 and +2
from my electron sample.

Please let me know if you have any questions.

Best regards,
Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/e16-e1f/attachments/20151110/fade64f4/attachment.html>


More information about the E16-e1f mailing list