8#ifndef EVENTPROC_TRIGSCINTDIGIPRODUCER_H
9#define EVENTPROC_TRIGSCINTDIGIPRODUCER_H
14#include "DetDescr/TrigScintID.h"
15#include "Framework/Configure/Parameters.h"
18#include "Framework/Exception/Exception.h"
23#include "TrigScint/Event/TrigScintHit.h"
27enum TrigScintSection {
43 typedef std::pair<double, double> zboundaries;
84 std::string sim_particles_passname_;
Class providing string constants for the event model.
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_.
Conditions object for random number seeds.
Class which stores simulated calorimeter hit information.
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.
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.