LDMX Software
HcalClusterProducer.h
Go to the documentation of this file.
1
7#ifndef HCAL_HCALCLUSTERPRODUCER_H_
8#define HCAL_HCALCLUSTERPRODUCER_H_
9
10// ROOT
11#include "TRandom3.h"
12#include "TString.h"
13
14// LDMX
15#include "DetDescr/DetectorID.h"
16#include "DetDescr/HcalID.h"
17#include "Framework/Configure/Parameters.h"
20
21// Hcal
24#include "Hcal/Event/HcalHit.h"
25#include "Hcal/MyClusterWeight.h"
26#include "Hcal/TemplatedClusterFinder.h"
27#include "Hcal/WorkingCluster.h"
28namespace hcal {
29
35 public:
36 HcalClusterProducer(const std::string& name, framework::Process& process);
37
38 virtual ~HcalClusterProducer() { ; }
39
45 void configure(framework::config::Parameters& parameters) override;
46
47 void produce(framework::Event& event) override;
48
49 private:
50 // double EminSeed_{0.};
51 double enoise_cut_{0.};
52 double delta_time_{0};
53 double delta_r_{0};
54 double emin_cluster_{0.};
55 double cut_off_{0.};
56 std::string cluster_coll_name_;
57 std::string hcal_hits_pass_name_;
58};
59
60} // namespace hcal
61
62#endif
Base classes for all user event processing components to extend.
Class that stores cluster information from the ECal.
Class that translates HCal ID into positions of strip hits.
Class that stores Stores reconstructed hit information from the HCAL.
Class that defines an HCal sensitive detector.
Utility used to generate noise hits_.
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
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.