10 #ifndef _DataWriter_h_
11 #define _DataWriter_h_
13 #include <fwk/VModule.h>
14 #include <sevt/Station.h>
std::ofstream * fTextFile
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
REGISTER_MODULE("DataWriter", DataWriter)
std::ofstream * fPulsesFile
Interface class to access to the SD part of an event.
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
fwk::VModule::ResultFlag Run(evt::Event &theEvent)
Run: invoked once per event.
Example Module to write a Root Tree and histos from the SEvent only.
void WriteInfo(sevt::SEvent &theSEvent)
ResultFlag
Flag returned by module methods to the RunController.