Enabled to treat veto pulses. Refs #8222.

1. Enabled to unmask event indexes with veto flag.
(unmaskVetoEventIndex)

2. Clean the codes

3. Fixed a bug to set the ordering flag of event lists.
Merge branch 'feature/8222_preNexus_veto' into develop