LDMX Software
PFEcalClusterProducer.h
Go to the documentation of this file.
1
7#ifndef PFECALCLUSTERPRODUCER_H
8#define PFECALCLUSTERPRODUCER_H
9
10// LDMX Framework
13#include "Ecal/Event/EcalHit.h"
14#include "Framework/Configure/Parameters.h" // Needed to import parameters from configuration file
15#include "Framework/Event.h"
16#include "Framework/EventProcessor.h" //Needed to declare processor
17#include "TFitResult.h"
18#include "TGraph.h"
19
20namespace recon {
21
27 public:
28 PFEcalClusterProducer(const std::string& name, framework::Process& process)
30
32
33 virtual void produce(framework::Event& event);
34
35 private:
36 bool single_cluster_{true};
37 bool log_energy_weight_{true};
38
39 float min_hit_energy_{0};
40 float cluster_hit_dist_{100.};
41 float cluster_z_bias_{1.}; // private parameter for z_ bias
42 int min_cluster_hit_mult_{2};
43
44 // name of collection for hits to be passed as input
45 std::string hit_coll_name_;
46 // pass name of hit collection to be passed as input
47 std::string hit_pass_name_;
48 // name of collection for pfCluster to be output
49 std::string cluster_coll_name_;
50 std::string suffix_;
51};
52} // namespace recon
53
54#endif /* PFECALCLUSTERPRODUCER_H */
Class that stores cluster information from the ECal.
Class that translates raw positions of ECal module hits into cells in a hexagonal readout.
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.