At the end of an event, grab sensitive detector hits then run processor loop

def EndOfEventAction(self, event):
        """At the end of an event, grab sensitive detector hits then run processor loop"""
        self.log.debug('Processesing simulated event %d', event.GetEventID())

        docs = self.sd.getDocs()
        self.sd.clearDocs()

        for processor in self.processors:
            docs = processor.process(docs)
            if not docs:
                self.log.warning('%s did not return documents in process()!',
                    processor.__class__.__name__)