Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::IWriter Class Referenceabstract

#include <acts/blob/sPHENIX/Examples/Framework/include/ActsExamples/Framework/IWriter.hpp>

+ Inheritance diagram for ActsExamples::IWriter:
+ Collaboration diagram for ActsExamples::IWriter:

Public Member Functions

virtual ProcessCode write (const AlgorithmContext &context)=0
 Write data from one event.
 
ProcessCode internalExecute (const AlgorithmContext &context) final
 
ProcessCode initialize () override
 Fulfil the algorithm interface.
 
- Public Member Functions inherited from ActsExamples::SequenceElement
virtual ~SequenceElement ()=default
 
virtual std::string name () const =0
 The algorithm name.
 
virtual ProcessCode finalize ()=0
 Finalize the algorithm.
 
const std::vector< const
DataHandleBase * > & 
writeHandles () const
 
const std::vector< const
DataHandleBase * > & 
readHandles () const
 

Detailed Description

Event data writer interface.

Get data from the event store and write it to disk. The writer can have internal state and implementations are responsible to handle concurrent calls.

Definition at line 28 of file IWriter.hpp.

View newest version in sPHENIX GitHub at line 28 of file IWriter.hpp

Member Function Documentation

ProcessCode ActsExamples::IWriter::initialize ( )
inlineoverridevirtual

Fulfil the algorithm interface.

Implements ActsExamples::SequenceElement.

Definition at line 40 of file IWriter.hpp.

View newest version in sPHENIX GitHub at line 40 of file IWriter.hpp

References SUCCESS.

ProcessCode ActsExamples::IWriter::internalExecute ( const AlgorithmContext context)
inlinefinalvirtual

Internal execute method forwards to the write method as mutable

Parameters
contextThe algorithm context

Implements ActsExamples::SequenceElement.

Definition at line 35 of file IWriter.hpp.

View newest version in sPHENIX GitHub at line 35 of file IWriter.hpp

References write().

+ Here is the call graph for this function:


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