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 "Ecal/MyClusterWeight.h"
15#include "Ecal/TemplatedClusterFinder.h"
16#include "Ecal/WorkingCluster.h"
17#include "Framework/Configure/Parameters.h" // Needed to import parameters from configuration file
18#include "Framework/Event.h"
19#include "Framework/EventProcessor.h" //Needed to declare processor
20#include "TFitResult.h"
21#include "TGraph.h"
22
23namespace recon {
24
30 public:
31 PFEcalClusterProducer(const std::string& name, framework::Process& process)
32 : framework::Producer(name, process) {}
33
35
36 virtual void produce(framework::Event& event);
37
38 private:
39 bool singleCluster_{true};
40 bool logEnergyWeight_{true};
41
42 float minHitEnergy_{0};
43 float clusterHitDist_{100.};
44 float clusterZBias_{1.}; // private parameter for z bias
45 int minClusterHitMult_{2};
46
47 // name of collection for hits to be passed as input
48 std::string hitCollName_;
49 // name of collection for pfCluster to be output
50 std::string clusterCollName_;
51 std::string suffix_;
52};
53} // namespace recon
54
55#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: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.