Added pass by reference for pre event trigger data.