LDMX Software
HcalDoubleEndRecProducer.h
1#ifndef HCALDOUBLEENDRECPRODUCER_H
2#define HCALDOUBLEENDRECPRODUCER_H
3
5#include "Framework/Logger.h"
6
7namespace hcal {
8
10 public:
11 HcalDoubleEndRecProducer(const std::string& n, framework::Process& p)
12 : Producer(n, p) {}
13
14 virtual ~HcalDoubleEndRecProducer() = default;
16 void produce(framework::Event& event) override;
17
18 private:
20 std::string pass_name_{""};
22 std::string coll_name_{"HcalRecHits"};
24 std::string rec_pass_name_{""};
26 std::string rec_coll_name_{"HcalRecHitsDoubleEnd"};
27
34
35}; // HcalDoubleEndRecProducer
36} // namespace hcal
37
38#endif /* HCALDOUBLEENDRECPRODUCER_H */
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.
Producer(const std::string &name, Process &process)
Class constructor.
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:26
std::string pass_name_
name of pass of rechits to use
void configure(framework::config::Parameters &p) override
Callback for the EventProcessor to configure itself from the given set of parameters.
std::string rec_coll_name_
name of rechits to reconstruct
void produce(framework::Event &event) override
Process the event and put new data products into it.
std::string rec_pass_name_
name of pass of rechits to reconstruct
double mip_energy_
energy per MIP [MeV]
double pe_per_mip_
number of PEs per MIP
std::string coll_name_
name of rechits to use as input
double clock_cycle_
length of clock cycle [ns]