LDMX Software
PedestalSubtractor.h
1#ifndef TRACKING_RECO_PEDESTALSUBTRACTOR_H_
2#define TRACKING_RECO_PEDESTALSUBTRACTOR_H_
3
4#include <set>
5#include <string>
6
8
9namespace tracking::reco {
10
23 public:
24 PedestalSubtractor(const std::string& name, framework::Process& process)
26
28 void produce(framework::Event& event) override;
29
30 private:
31 std::string input_collection_{"RawSiStripHits"};
32 std::string input_pass_name_{""};
33 std::string output_collection_{"TrackerHits"};
34
35 std::set<std::string> warned_channels_;
36};
37
38} // namespace tracking::reco
39
40#endif // TRACKING_RECO_PEDESTALSUBTRACTOR_H_
Base classes for all user event processing components to extend.
Implements an event buffer system for storing event data.
Definition Event.h:42
Class which represents the process under execution.
Definition Process.h:37
Base class for a module which produces a data product.
virtual void process(Event &event) final
Processing an event for a Producer is calling produce.
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:29
Subtract per-channel, per-sample pedestals from a RawSiStripHit collection.
void produce(framework::Event &event) override
Process the event and put new data products into it.
void configure(framework::config::Parameters &ps) override
Callback for the EventProcessor to configure itself from the given set of parameters.