Pottu
Public Member Functions | List of all members
pottu::StageDetectorEventFinal Class Referenceabstract

Abstract baseclass for all stages which consumes (drains) the detector events. More...

#include <StageDetectorEventFinal.hpp>

Inheritance diagram for pottu::StageDetectorEventFinal:
Inheritance graph
[legend]
Collaboration diagram for pottu::StageDetectorEventFinal:
Collaboration graph
[legend]

Public Member Functions

virtual ~StageDetectorEventFinal ()
 Virtual destructor.
 
virtual void process (std::vector< DetectorEvent > &data) noexcept=0
 Consumes the detector events. More...
 

Detailed Description

Abstract baseclass for all stages which consumes (drains) the detector events.

An implementation of this kind of stage might move away the detector events from the data vector. I.e. the data vector should not be used after this stage. See Pipeline object to further information.

Member Function Documentation

◆ process()

virtual void pottu::StageDetectorEventFinal::process ( std::vector< DetectorEvent > &  data)
pure virtualnoexcept

Consumes the detector events.

Parameters
dataVector of detector events to be consumed. The items of the data might be invalidated after the call and should not be used afterwards.

The documentation for this class was generated from the following file: