code: def EndOfEventAction(self, event):
          
          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__)
docs: At the end of an event, grab sensitive detector hits then run processor loop