10#ifndef EVENTPROC_ECALDIGIPRODUCER_H_
11#define EVENTPROC_ECALDIGIPRODUCER_H_
27#include "Tools/HgcrocEmulator.h"
109 std::unique_ptr<ldmx::HgcrocEmulator>
hgcroc_;
Class that defines an ECal detector ID with a cell number.
Class providing string constants for the event model.
Base classes for all user event processing components to extend.
Class that represents a digitized hit in a calorimeter cell readout by an HGCROC.
Utility used to generate noise hits.
Class which stores simulated calorimeter hit information.
Performs basic ECal digitization.
int iSOI_
Index for the Sample Of Interest in the list of digi samples.
bool noise_
Put noise into empty channels, not configurable, only helpful in development.
virtual void configure(framework::config::Parameters &)
Configure this producer from the python configuration.
std::string inputCollName_
input hit collection name
double clockCycle_
Time interval for chip clock in ns.
int nADCs_
Depth of ADC buffer.
std::unique_ptr< ldmx::NoiseGenerator > noiseGenerator_
Generates noise hits based off of number of cells that are not hit.
std::unique_ptr< TRandom3 > noiseInjector_
Generates Gaussian noise on top of real hits.
virtual void produce(framework::Event &event)
Simulates measurement of pulse and creates digi collection for input event.
virtual ~EcalDigiProducer()
Destructor Deletes digi collection if it has been created.
double ns_
Total number of channels in the ECal.
std::string digiCollName_
output hit collection name
double MeV_
Conversion from energy in MeV to voltage in mV.
std::string inputPassName_
input pass name
std::unique_ptr< ldmx::HgcrocEmulator > hgcroc_
Hgcroc Emulator to digitize analog voltage signals.
bool zero_suppression_
When emulating noise in empty channels, do we zero suppress?
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.