trial index to event