Use info of previous preferred external event to help pick new one; fixes #518
This MR adds additional conditions to whether the preferred external event (the one being quoted in the alert) should be updated to another external event, which includes:
-
Update if old preferred external event was likely not real (has 'NOT_GRB'
label) while the real one is real (lack of 'NOT_GRB' label), superseding the normal joint FAR check. Also prevent the reverse case from updating the coinc FAR. -
Don't update if the old preferred external event was from SNEWS
and the new one is not
Edited by Brandon Piotrzkowski