10#ifndef HCAL_HCALRECPRODUCER_H_
11#define HCAL_HCALRECPRODUCER_H_
21#include "DetDescr/DetectorID.h"
22#include "DetDescr/HcalDigiID.h"
64 double pedestal,
unsigned int iSOI)
const;
Base classes for all user event processing components to extend.
Class that translates HCal ID into positions of strip hits.
Class that defines an HCal sensitive detector.
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.
Class encapsulating parameters for configuring a processor.
Performs basic HCal reconstruction.
TGraph correctionTOA_
Correction to the measured TOA relative to the peak.
double minAmplFraction_
Minimum amplitude fraction to apply amplitude correction.
double clock_cycle_
Length of clock cycle [ns].
double voltage_per_mip_
Voltage by average MIP.
void configure(framework::config::Parameters &) override
Grabs configure parameters from the python config file.
TGraph correctionAmpl_
Correction to the pulse's measured amplitude at the peak.
double timeUpSlope_
Time of Up Slope relative to Pulse Shape Fit [ns].
virtual ~HcalRecProducer()=default
Destructor.
std::string recHitCollName_
output hit collection name
std::string digiPassName_
Digi Pass Name to use as input.
double timeDnSlope_
Time of Down Slope relative to Pulse Shape Fit [ns].
double rateUpSlope_
Rate of Up Slope in Pulse Shape [1/ns].
std::string simHitCollName_
simhit collection name
int nADCs_
Depth of ADC buffer.
double minAmpl_
Minimum amplitude to apply TOA correction.
double timePeak_
Time of Peak relative to pulse shape fit [ns].
double mip_energy_
Energy [MeV] deposited by a MIP.
double attlength_
Strip attenuation length [m].
void produce(framework::Event &event) override
Produce HcalHits and put them into the event bus using the HcalDigis as input.
std::string simHitPassName_
simhit pass name
TF1 pulseFunc_
Pulse function.
double pe_per_mip_
PEs per MIP.
double rateDnSlope_
Rate of Down Slope in Pulse Shape [1/ns].
std::string digiCollName_
Digi Collection Name to use as input.
double getTOA(const ldmx::HgcrocDigiCollection::HgcrocDigi digi, double pedestal, unsigned int iSOI) const
Gets Time of Arrival with respect to the SOI.
One DIGI signal coming from the HGC ROC.