LDMX Software
SingleSubsystemPacker.h
1#ifndef PACKING_SINGLESUBSYSTEMPACKER_H
2#define PACKING_SINGLESUBSYSTEMPACKER_H
3
5#include "Framework/Exception/Exception.h"
6#include "Packing/Utility/Writer.h"
7
8namespace packing {
9
18 public:
20 SingleSubsystemPacker(const std::string& name, framework::Process& p)
21 : framework::Analyzer(name, p) {}
24
31
37 void analyze(const framework::Event& event) override;
38
39 private:
41 std::string input_name_;
43 std::string input_pass_;
44
45 private:
48}; // SingleSubsystemPacker
49
50} // namespace packing
51
52#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:41
Class which represents the process under execution.
Definition Process.h:36
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:27
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:19
All classes in the ldmx-sw project use this namespace.
Definition PerfDict.cxx:45