CDC finding signal duration
From GlueXWiki
Try this: search backwards from end sample, looking for change in ADC value going below -2sigma (or -1sigma if -2sigma not found, or min value if -1sigma not found), then search forwards until change in ADC value goes +ve.
That gives the following for the above events: (run 31810) 260, 258, 295, 293, 264 and (run 31809) 242, 230, 281, 301, 268