LDMX Software
SingleSubsystemPacker.h
1#ifndef PACKING_SINGLESUBSYSTEMPACKER_H
2#define PACKING_SINGLESUBSYSTEMPACKER_H
3
5#include "Packing/Utility/Writer.h"
6
7namespace packing {
8
17 public:
19 SingleSubsystemPacker(const std::string& name, framework::Process& p)
20 : framework::Analyzer(name, p) {}
23
30
36 void analyze(const framework::Event& event) override;
37
38 private:
40 std::string input_name_;
42 std::string input_pass_;
43
44 private:
47}; // SingleSubsystemPacker
48
49} // namespace packing
50
51#endif // PACKING_SINGLESUBSYSTEMPACKER_H
Base classes for all user event processing components to extend.
Base class for a module which does not produce a data product.
Analyzer(const std::string &name, Process &process)
Class constructor.
Implements an event buffer system for storing event data.
Definition Event.h:40
Class which represents the process under execution.
Definition Process.h:34
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:26
This producer unpacks the data from the a single subsystem raw data file into a single buffer for a d...
std::string input_pass_
buffer object pass on event bus
utility::Writer writer_
raw data file we are reading
void configure(framework::config::Parameters &ps) override
Configure the unpacker and open the raw data file for IO.
virtual ~SingleSubsystemPacker()
empty destructor
std::string input_name_
buffer object name on event bus
void analyze(const framework::Event &event) override
Actually do the unpacking/decoding.
SingleSubsystemPacker(const std::string &name, framework::Process &p)
normal constructor
Writing a raw data file.
Definition Writer.h:20
All classes in the ldmx-sw project use this namespace.