LDMX Software
EcalRawDecoder.h
1#ifndef ECAL_ECALRAWDECODER_H_
2#define ECAL_ECALRAWDECODER_H_
3
4//----------//
5// LDMX //
6//----------//
8
9namespace ecal {
10
15 public:
19 EcalRawDecoder(const std::string& n, framework::Process& p)
20 : framework::Producer(n, p) {}
21
25 virtual ~EcalRawDecoder() = default;
26
30
33 virtual void produce(framework::Event& event);
34
35 private:
37 std::string input_name_;
39 std::string input_pass_;
41 std::string output_name_;
46};
47} // namespace ecal
48
49#endif
Base classes for all user event processing components to extend.
std::string input_pass_
input pass of creating encoded data
int roc_version_
version of HGC ROC we are decoding
bool translate_eid_
should we translate electronic IDs to detector IDs
EcalRawDecoder(const std::string &n, framework::Process &p)
Constructor.
virtual ~EcalRawDecoder()=default
Destructor.
virtual void produce(framework::Event &event)
Process the event and put new data products into it.
std::string input_name_
input object of encoded data
std::string output_name_
output object to put onto event bus
virtual void configure(framework::config::Parameters &)
Callback for the EventProcessor to configure itself from the given set of parameters.
Implements an event buffer system for storing event data.
Definition Event.h:41
Class which represents the process under execution.
Definition Process.h:36
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.
Definition Parameters.h:27
All classes in the ldmx-sw project use this namespace.
Definition PerfDict.cxx:45