8#ifndef MODULES_WRITER_WRITERMODULE_H_
9#define MODULES_WRITER_WRITERMODULE_H_
11#include <ElementaryUtils/parameters/Parameters.h>
15#include "../../beans/physics/Event.h"
16#include "../EpicModuleObject.h"
19class GenerationInformation;
34 static const std::string
56 virtual void configure(
const ElemUtils::Parameters ¶meters);
83 virtual void write(
const std::vector<Event> &events) = 0;
100 virtual void initModule();
101 virtual void isModuleWellConfigured();
Testable version of PARTONS::ModuleObject.
Definition: EpicModuleObject.h:26
Single event.
Definition: Event.h:36
Definition: WriterModule.h:31
static const std::string WRITER_MODULE_CLASS_NAME
Class name used in parsing XML.
Definition: WriterModule.h:35
WriterModule(const WriterModule &other)
void setPath(const std::string &path)
virtual void write(const Event &event)=0
static const std::string PARAMETER_NAME_PATH
Definition: WriterModule.h:37
virtual void write(const std::vector< Event > &events)=0
std::string m_path
Path to output file.
Definition: WriterModule.h:103
virtual void saveGenerationInformation(const GenerationInformation &generationInformation)=0
const std::string & getPath() const
virtual bool runTest() const
WriterModule(const std::string &className)