LDMX Software
PFTruthProducer.h
Go to the documentation of this file.
1
7#ifndef PFTRACKPRODUCER_H
8#define PFTRACKPRODUCER_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 PFTruthProducer(const std::string& name, framework::Process& process)
25
27 // void configure(framework::config::Parameters& parameters) override;
28
29 virtual void produce(framework::Event& event);
30
31 private:
32 // name of collection for target, ecal, hcal truth to be output
33 std::string primary_coll_name_;
34 std::string target_coll_name_;
35 std::string ecal_coll_name_;
36 std::string hcal_coll_name_;
37 std::string target_sp_passname_;
38 std::string ecal_sp_passname_;
39 std::string sim_particles_passname_;
40 std::string target_sp_hits_event_passname_;
41 std::string ecal_sp_hits_event_passname_;
42 std::string sim_particles_event_passname_;
43};
44} // namespace recon
45
46#endif /* PFTRACKPRODUCER_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:42
Class which represents the process under execution.
Definition Process.h:36
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 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.