LDMX Software
PFHcalClusterProducer.h
Go to the documentation of this file.
1
7#ifndef PFHCALCLUSTERPRODUCER_H
8#define PFHCALCLUSTERPRODUCER_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 PFHcalClusterProducer(const std::string& name, framework::Process& process)
24 : framework::Producer(name, process) {}
25
27
28 virtual void produce(framework::Event& event);
29
30 private:
31 bool singleCluster_{true};
32 bool logEnergyWeight_{true};
33
34 float minHitEnergy_{0};
35 float clusterHitDist_{100.};
36 float clusterZBias_{1.}; // private parameter for z bias
37 int minClusterHitMult_{2};
38
39 // name of collection for hits to be passed as input
40 std::string hitCollName_;
41 // name of collection for pfCluster to be output
42 std::string clusterCollName_;
43 std::string suffix_;
44};
45} // namespace recon
46
47#endif /* PFHCALCLUSTERPRODUCER_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:41
Class which represents the process under execution.
Definition Process.h:36
Base class for a module which produces a data product.
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:27
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.