LDMX Software
EcalClusterProducer.h
Go to the documentation of this file.
1
7#ifndef ECAL_ECALCLUSTERPRODUCER_H_
8#define ECAL_ECALCLUSTERPRODUCER_H_
9
10//----------//
11// ROOT //
12//----------//
13#include "TCanvas.h"
14#include "TFile.h"
15#include "TH1F.h"
16#include "TH2F.h"
17
18//----------//
19// LDMX //
20//----------//
21#include "DetDescr/DetectorID.h"
23#include "DetDescr/EcalID.h"
26#include "Ecal/Event/EcalHit.h"
27#include "Ecal/MyClusterWeight.h"
28#include "Ecal/TemplatedClusterFinder.h"
29#include "Ecal/WorkingCluster.h"
30#include "Framework/Configure/Parameters.h"
32
33//----------//
34// STL //
35//----------//
36#include <memory>
37#include <tuple>
38
39namespace ecal {
40
46 public:
47 EcalClusterProducer(const std::string& name, framework::Process& process);
48
49 virtual ~EcalClusterProducer();
50
56 void configure(framework::config::Parameters& parameters) override;
57
58 virtual void produce(framework::Event& event) override;
59
60 private:
61 double seedThreshold_{0};
62 double cutoff_{0};
63 std::string digisPassName_;
64 std::string algoCollName_;
65 std::string clusterCollName_;
66
68 TString algoName_;
69};
70} // namespace ecal
71
72#endif
Class that holds details about the clustering algorithm as a whole.
Class that stores cluster information from the ECal.
Class that translates raw positions of ECal module hits into cells in a hexagonal readout.
Class that defines an ECal detector ID with a cell number.
Base classes for all user event processing components to extend.
Simple algorithm that does clustering in the ECal.
TString algoName_
The name of the cluster algorithm used.
void configure(framework::config::Parameters &parameters) override
Configure the processor using the given user specified parameters.
virtual void produce(framework::Event &event) override
Process the event and put new data products into it.
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