getEventsToSlidingWindowsMapping function

getEventsToSlidingWindowsMapping