8#ifndef EVENTPROC_TRIGSCINTDIGIPRODUCER_H
9#define EVENTPROC_TRIGSCINTDIGIPRODUCER_H
13#include "DetDescr/TrigScintID.h"
14#include "Framework/Configure/Parameters.h"
21enum TrigScintSection {
37 typedef std::pair<double, double> zboundaries;
80 std::string sim_particles_passname_;
Base classes for all user event processing components to extend.
Class implementing an event buffer system for storing event data.
Utility used to generate noise hits_.
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.
virtual void process(Event &event) final
Processing an event for a Producer is calling produce.
Class encapsulating parameters for configuring a processor.
Class that defines the detector ID of the trigger scintillator.
Performs digitization of simulated Trigger Scintillator data.
std::string output_collection_
Name of the output collection that will be used to stored the digitized trigger scintillator hits.
int number_of_arrays_
Number of arrays.
std::mt19937 rng_
Random number generator.
std::string input_pass_name_
Name of the pass that the input collection is on (empty string means take any pass)
std::string input_collection_
Name of the input collection containing the sim hits.
std::unique_ptr< ldmx::NoiseGenerator > noise_generator_
Generate noise hits given the number of channels and mean noise.
std::string sim_particles_coll_name_
Name of sim particles collection and pass name.
int strips_per_array_
Number of strips per array.
double mev_per_mip_
Total MeV per MIP.
double mean_noise_
Mean readout noise.
virtual void onNewRun(const ldmx::RunHeader &runHeader) override
Random number generation.
void configure(framework::config::Parameters ¶meters) override
Callback for the processor to configure itself from the given set of parameters.
void produce(framework::Event &event) override
Process the event and put new data products into it.
double pe_per_mip_
Total number of photoelectrons per MIP.