8#ifndef EVENTPROC_TRIGSCINTDIGIPRODUCER_H
9#define EVENTPROC_TRIGSCINTDIGIPRODUCER_H
14#include "DetDescr/TrigScintID.h"
15#include "Framework/Configure/Parameters.h"
17#include "Framework/Exception/Exception.h"
22#include "TrigScint/Event/TrigScintHit.h"
26enum TrigScintSection {
41 typedef std::pair<double, double> zboundaries;
Class providing string constants for the event model.
Base classes for all user event processing components to extend.
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.
Class encapsulating parameters for configuring a processor.
Class that defines the detector ID of the trigger scintillator.
Performs digitization of simulated Trigger Scintillator data.
double mevPerMip_
Total MeV per MIP.
std::mt19937 rng_
Random number generator.
std::string inputPassName_
Name of the pass that the input collection is on (empty string means take any pass)
std::string inputCollection_
Name of the input collection containing the sim hits.
double meanNoise_
Mean readout noise.
std::string outputCollection_
Name of the output collection that will be used to stored the digitized trigger scintillator hits.
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.
double pePerMip_
Total number of photoelectrons per MIP.
bool verbose_
Class to set the verbosity level.
int numberOfArrays_
Number of arrays.
void produce(framework::Event &event) override
Process the event and put new data products into it.
int stripsPerArray_
Number of strips per array.
std::unique_ptr< ldmx::NoiseGenerator > noiseGenerator_
Generate noise hits given the number of channels and mean noise.