1 #ifndef _RecDataWriter_h_
2 #define _RecDataWriter_h_
4 #include <fwk/VModule.h>
5 #include <fwk/CentralConfig.h>
6 #include <utl/CoordinateSystemPtr.h>
7 #include <utl/config.h>
8 #include <sevt/Station.h>
10 #include <adst/FdRecLevel.h>
11 #include <adst/SdRecLevel.h>
12 #include <adst/TraceType.h>
13 #include <adst/RecEventFile.h>
25 class DetectorGeometry;
42 class TelescopeRecData;
66 namespace RecDataWriterNG {
bool PrepareRecEventAndRootFile()
RecEventFile::Mode fAsciiOutputFileMode
std::string fAsciiOutputFileName
fwk::VModule::ResultFlag Finish() override
Finish: invoked at end of the run (NOT end of the event)
std::string fRootOutputFileName
std::string fAsciiDataMode
Mode
Available open modes.
otoa::Offline2ADST * fADSTConverter
Class representing a document branch.
REGISTER_MODULE("RecDataWriterNG", RecDataWriter)
RecEventFile::Mode fRootOutputFileMode
RecEventFile * fRecEventFile
ADST::AsciiConverter * fAsciiConverter
ResultFlag
Flag returned by module methods to the RunController.
fwk::VModule::ResultFlag Run(evt::Event &event) override
Run: invoked once per event.
fwk::VModule::ResultFlag Init() override
Initialize: invoked at beginning of run (NOT beginning of event)
Module to write a Root Tree (or ASCII table) for FD and SD data.
bool ReadRootConfig(utl::Branch &topB)
bool ReadAsciiConfig(utl::Branch &topB)
Converts an Offline event to ADST.