1#ifndef HCALSINGLEENDRECPRODUCER_H
2#define HCALSINGLEENDRECPRODUCER_H
Base classes for all user event processing components to extend.
Class that represents a digitized hit in a calorimeter cell readout by an HGCROC.
Implements an event buffer system for storing event data.
Class which represents the process under execution.
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.
double mip_energy_
energy per MIP [MeV]
double pe_per_mip_
number of PEs per MIP
std::string pass_name_
name of pass of digis to use
void produce(framework::Event &event) override
Process the event and put new data products into it.
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
std::tuple< double, double, int > extractMeasurements(const ldmx::HgcrocDigiCollection::HgcrocDigi &digi, double pedestal, double bx_shift)
extract toa, sum adc, and sum tot from the input raw digi
std::string coll_name_
name of digis to reconstruct
unsigned int isoi_
sample of interest index_
double clock_cycle_
length of clock cycle [ns]
std::string rec_pass_name_
name of pass of rechits to use
One DIGI signal coming from the HGC ROC.