EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/sPHENIX/Examples/Framework/include/ActsExamples/Framework/IWriter.hpp>
Public Member Functions | |
virtual | ~IWriter ()=default |
virtual std::string | name () const =0 |
The writer name. | |
virtual ProcessCode | write (const AlgorithmContext &context)=0 |
Write data from one event. | |
virtual ProcessCode | endRun ()=0 |
End the run (e.g. aggregate statistics, write down output, close files). | |
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 27 of file IWriter.hpp.
View newest version in sPHENIX GitHub at line 27 of file IWriter.hpp
|
virtualdefault |
|
pure virtual |
End the run (e.g. aggregate statistics, write down output, close files).
Implemented in ActsExamples::RootMaterialTrackWriter, ActsExamples::CKFPerformanceWriter, ActsExamples::RootTrajectoryWriter, ActsExamples::CsvTrackingGeometryWriter, ActsExamples::ObjPropagationStepsWriter< step_t >, ActsExamples::RootPlanarClusterWriter, ActsExamples::RootPropagationStepsWriter, ActsExamples::WriterT< write_data_t >, ActsExamples::WriterT< std::vector< PropagationSteps > >, ActsExamples::WriterT< ProtoTrackContainer >, ActsExamples::WriterT< SimHitContainer >, ActsExamples::WriterT< std::vector< std::vector< step_t > > >, ActsExamples::WriterT< std::vector< Acts::RecordedMaterialTrack > >, ActsExamples::WriterT< GeometryIdMultimap< T > >, ActsExamples::WriterT< GeometryIdMultimap< Acts::PlanarModuleCluster > >, ActsExamples::WriterT< SimParticleContainer >, ActsExamples::WriterT< TrajectoryContainer >, ActsExamples::TrackFitterPerformanceWriter, ActsExamples::RootParticleWriter, ActsExamples::RootSimHitWriter, ActsExamples::RootTrackParameterWriter, and ActsExamples::TrackFinderPerformanceWriter.
|
pure virtual |
The writer name.
Implemented in ActsExamples::CsvTrackingGeometryWriter, ActsExamples::WriterT< write_data_t >, ActsExamples::WriterT< std::vector< PropagationSteps > >, ActsExamples::WriterT< ProtoTrackContainer >, ActsExamples::WriterT< SimHitContainer >, ActsExamples::WriterT< std::vector< std::vector< step_t > > >, ActsExamples::WriterT< std::vector< Acts::RecordedMaterialTrack > >, ActsExamples::WriterT< GeometryIdMultimap< T > >, ActsExamples::WriterT< GeometryIdMultimap< Acts::PlanarModuleCluster > >, ActsExamples::WriterT< SimParticleContainer >, and ActsExamples::WriterT< TrajectoryContainer >.
Referenced by eicpy.verify.PythiaHistograms::__init__(), and eicpy.verify.DjangohHistograms::__init__().
|
pure virtual |
Write data from one event.
Implemented in ActsExamples::CsvTrackingGeometryWriter, ActsExamples::WriterT< write_data_t >, ActsExamples::WriterT< std::vector< PropagationSteps > >, ActsExamples::WriterT< ProtoTrackContainer >, ActsExamples::WriterT< SimHitContainer >, ActsExamples::WriterT< std::vector< std::vector< step_t > > >, ActsExamples::WriterT< std::vector< Acts::RecordedMaterialTrack > >, ActsExamples::WriterT< GeometryIdMultimap< T > >, ActsExamples::WriterT< GeometryIdMultimap< Acts::PlanarModuleCluster > >, ActsExamples::WriterT< SimParticleContainer >, and ActsExamples::WriterT< TrajectoryContainer >.