7#ifndef EVENTPROC_TRIGSCINTDIGIPRODUCER_H
8#define EVENTPROC_TRIGSCINTDIGIPRODUCER_H
16#include "DetDescr/TrigScintID.h"
20#include "TrigScint/Event/TrigScintHit.h"
25#include "Framework/Configure/Parameters.h"
30enum TrigScintSection {
45 typedef std::pair<double, double> zboundaries;
65 std::unique_ptr<TRandom3>
random_{
nullptr};
Class providing string constants for the event model.
Base classes for all user event processing components to extend.
Utility used to generate noise hits.
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::string inputPassName_
Name of the pass that the input collection is on (empty string means take any pass)
std::unique_ptr< TRandom3 > random_
Random number generator.
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.
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.