LDMX Software
PileupFinder.h
Go to the documentation of this file.
1
7#ifndef PARTICLEFLOW_H
8#define PARTICLEFLOW_H
9
10// LDMX Framework
12#include "Framework/Configure/Parameters.h" // Needed to import parameters from configuration file
13#include "Framework/Event.h"
14#include "Framework/EventProcessor.h" //Needed to declare processor
18#include "SimCore/Event/SimParticle.h"
20#include "TGraph.h"
21
22namespace recon {
23
29 public:
30 PileupFinder(const std::string& name, framework::Process& process)
32
34
35 virtual void produce(framework::Event& event);
36
37 virtual void onProcessEnd();
38
39 private:
40 // name of collections for PF input object to be passed
41 std::string rec_hit_coll_name_;
42 std::string rec_hit_pass_name_;
43 std::string pf_cand_coll_name_;
44 std::string pf_cand_pass_name_;
45 std::string cluster_coll_name_;
46 std::string cluster_pass_name_;
47 // name of collection for pileup-free output hit coll
48 std::string output_rec_hit_coll_name_;
49 // configuration
50
51 double min_mom_{0.}; // MeV
52};
53} // namespace recon
54
55#endif /* PILEUPFINDER_H */
Class that stores calorimeter cluster information.
Class that stores cluster information from the ECal.
Base classes for all user event processing components to extend.
Class implementing an event buffer system for storing event data.
Class that stores cluster information from the ECal.
Class that represents a reconstructed particle candidate.
Class which encapsulates information from a hit in a simulated tracking detector.
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
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.