2#include "Packing/RawIO.h"
7 raw_file_ = std::make_unique<rawdatafile::File>(
#define DECLARE_PRODUCER_NS(NS, CLASS)
Macro which allows the framework to construct a producer given its name during configuration.
void abortEvent()
Abort the event immediately.
Implements an event buffer system for storing event data.
Class encapsulating parameters for configuring a processor.
T getParameter(const std::string &name) const
Retrieve the parameter of the given name.
std::unique_ptr< rawdatafile::File > raw_file_
raw data file we are reading
void onProcessEnd() override
Close up ROOT file with raw data in it.
void produce(framework::Event &event) override
Actually do the unpacking/decoding.
void configure(framework::config::Parameters &ps) override
Configure the unpacker and open the raw data file for IO.
void beforeNewRun(ldmx::RunHeader &header) override
We are given a non-const reference to a new RunHeader so we can add parameters unpacked from the raw ...