Bulkcorr 10/31/2018, analysis code, "Merge" two subevents in one event

This is the details how we merge the two subevents in the same event to calculate the R observable

See the function SinObsCal(), the loop is between Line391 and Line443