1#ifndef PACKING_SINGLESUBSYSTEMUNPACKER_H
2#define PACKING_SINGLESUBSYSTEMUNPACKER_H
5#include "Framework/Exception/Exception.h"
6#include "Packing/Utility/Reader.h"
Base classes for all user event processing components to extend.
Implements an event buffer system for storing event data.
Class which represents the process under execution.
Base class for a module which produces a data product.
Producer(const std::string &name, Process &process)
Class constructor.
Class encapsulating parameters for configuring a processor.
This producer unpacks the data from the a single subsystem raw data file into a single buffer for a d...
std::string detector_name_
Detector file name.
utility::Reader reader_
raw data file we are reading
int num_bytes_per_event_
number of bytes in each event
std::string output_name_
destination object name
SingleSubsystemUnpacker(const std::string &name, framework::Process &p)
normal constructor
void beforeNewRun(ldmx::RunHeader &rh) override
Handle allowing producers to modify run headers before the run begins.
void produce(framework::Event &event) override
Actually do the unpacking/decoding.
virtual ~SingleSubsystemUnpacker()
empty destructor
void configure(framework::config::Parameters &ps) override
Configure the unpacker and open the raw data file for IO.
All classes in the ldmx-sw project use this namespace.