LDMX Software
EcalRecProducer.h
Go to the documentation of this file.
1
9#ifndef ECAL_ECALRECPRODUCER_H_
10#define ECAL_ECALRECPRODUCER_H_
11
12//----------//
13// LDMX //
14//----------//
16
17namespace ecal {
18
27 public:
31 EcalRecProducer(const std::string& name, framework::Process& process);
32
36 virtual ~EcalRecProducer() = default;
37
42
51 virtual void produce(framework::Event& event);
52
53 private:
55 std::string digi_coll_name_;
56
58 std::string digi_pass_name_;
59
61 std::string sim_hit_coll_name_;
62
64 std::string sim_hit_pass_name_;
65
67 std::string rec_hit_coll_name_;
68
71
74
77
86 std::vector<double> layer_weights_;
87
97};
98} // namespace ecal
99
100#endif
Base classes for all user event processing components to extend.
Performs basic ECal reconstruction.
double mip_si_energy_
Energy [MeV] deposited by a MIP in Si 0.5mm thick.
std::string sim_hit_coll_name_
simhit collection name
std::vector< double > layer_weights_
Layer Weights to use for this reconstruction.
double second_order_energy_correction_
Second Order Energy Correction to use for this reconstruction.
double charge_per_mip_
Number of electrons generated by average MIP in Si 0.5mm thick.
virtual ~EcalRecProducer()=default
Destructor.
std::string rec_hit_coll_name_
output hit collection name
EcalRecProducer(const std::string &name, framework::Process &process)
Constructor.
virtual void produce(framework::Event &event)
Produce EcalHits and put them into the event bus using the EcalDigis as input.
std::string digi_pass_name_
Digi Pass Name to use as input.
virtual void configure(framework::config::Parameters &)
Grabs configure parameters from the python config file.
double clock_cycle_
Length of clock cycle [ns].
std::string sim_hit_pass_name_
simhit pass name
std::string digi_coll_name_
Digi Collection Name to use as input.
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