LDMX Software
MyProcessor.h
1
2#ifndef RECON_EXAMPLES_MY_PROCESSOR_H_
3#define RECON_EXAMPLES_MY_PROCESSOR_H_
4
5/***************/
6/* ldmx-sw */
7/***************/
8#include "Ecal/Event/EcalHit.h"
9#include "Framework/Configure/Parameters.h"
11
12namespace recon {
13
21 public:
29 MyProcessor(const std::string &name, framework::Process &process);
30
32 virtual ~MyProcessor() = default;
33
43 void configure(framework::config::Parameters &parameters) override;
44
50 void produce(framework::Event &event) override;
51
52}; // MyProcessor
53
54} // namespace recon
55
56#endif // RECON_EXAMPLES_MY_PROCESSOR_H_
Base classes for all user event processing components to extend.
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.
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:27
Minimal example of a processor.
Definition MyProcessor.h:20
virtual ~MyProcessor()=default
Destructor.
void produce(framework::Event &event) override
Process the event and put new data products into it.
void configure(framework::config::Parameters &parameters) override
Configure the processor using the given user specified parameters.