LDMX Software
HcalClusterProducer.h
Go to the documentation of this file.
1
7#ifndef HCAL_HCALCLUSTERPRODUCER_H_
8#define HCAL_HCALCLUSTERPRODUCER_H_
9
10// LDMX
11#include "Framework/Configure/Parameters.h"
13
14namespace hcal {
15
21 public:
22 HcalClusterProducer(const std::string& name, framework::Process& process);
23
24 virtual ~HcalClusterProducer() { ; }
25
31 void configure(framework::config::Parameters& parameters) override;
32
33 void produce(framework::Event& event) override;
34
35 private:
36 // double EminSeed_{0.};
37 double enoise_cut_{0.};
38 double delta_time_{0};
39 double delta_r_{0};
40 double emin_cluster_{0.};
41 double cut_off_{0.};
42 std::string cluster_coll_name_;
43 std::string hcal_hits_pass_name_;
44};
45
46} // namespace hcal
47
48#endif
Base classes for all user event processing components to extend.
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
Make clusters from hits in the HCAL.
void produce(framework::Event &event) override
Process the event and put new data products into it.
void configure(framework::config::Parameters &parameters) override
Configure the processor using the given user specified parameters.