Update docstrings and if for process_events

Mostly fix spacing for around class docstrings.
A space before and after the docstring.
Add more info the the ProcessEventsWithTriggerOffset docstrings.
Use `if not x == y` instead of `if x != y`.