LDMX Software
PileupFinder.h
Go to the documentation of this file.
1
7#ifndef PARTICLEFLOW_H
8#define PARTICLEFLOW_H
9
10// LDMX Framework
11#include "Framework/Configure/Parameters.h" // Needed to import parameters from configuration file
12#include "Framework/Event.h"
13#include "Framework/EventProcessor.h" //Needed to declare processor
14
15namespace recon {
16
22 public:
23 PileupFinder(const std::string& name, framework::Process& process)
25
27
28 virtual void produce(framework::Event& event);
29
30 virtual void onProcessEnd();
31
32 private:
33 // name of collections for PF input object to be passed
34 std::string rec_hit_coll_name_;
35 std::string rec_hit_pass_name_;
36 std::string pf_cand_coll_name_;
37 std::string pf_cand_pass_name_;
38 std::string cluster_coll_name_;
39 std::string cluster_pass_name_;
40 // name of collection for pileup-free output hit coll
41 std::string output_rec_hit_coll_name_;
42 // configuration
43
44 double min_mom_{0.}; // MeV
45};
46} // namespace recon
47
48#endif /* PILEUPFINDER_H */
Base classes for all user event processing components to extend.
Class implementing an event buffer system for storing event data.
Implements an event buffer system for storing event data.
Definition Event.h:40
Class which represents the process under execution.
Definition Process.h:34
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:26
virtual void onProcessEnd()
Callback for the EventProcessor to take any necessary action when the processing of events finishes,...
virtual void configure(framework::config::Parameters &ps)
Callback for the EventProcessor to configure itself from the given set of parameters.
virtual void produce(framework::Event &event)
Process the event and put new data products into it.