7#ifndef TRIGSCINT_TRIGSCINTQIEDIGIPRODUCER_H
8#define TRIGSCINT_TRIGSCINTQIEDIGIPRODUCER_H
21#include "DetDescr/TrigScintID.h"
23#include "TrigScint/Event/TrigScintHit.h"
28#include "Framework/Configure/Parameters.h"
32#include "TrigScint/Event/TrigScintQIEDigis.h"
33#include "TrigScint/SimQIE.h"
37enum TrigScintSection {
70 std::unique_ptr<TRandom3>
random_{
nullptr};
Base classes for all user event processing components to extend.
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 for simulating QIE chip output
Class that simulates QIE chip of the trigger scintillator.
float zeroSuppCut_
Zero-suppression: discard any integrated pulses with PE < this number.
SimQIE * smq_
SimQIE pointer.
std::vector< float > pulse_params_
QIE Input pulse parameters.
std::unique_ptr< TRandom3 > random_
Random number generator.
double meanNoise_
Mean readout noise.
float toff_overall_
Overall input pulse time offset.
void configure(framework::config::Parameters ¶meters) override
Callback for the processor to configure itself from the given set of parameters.
std::string outputCollection_
Name of the output collection that will be used to stored the digitized trigger scintillator hits.
std::string inputPassName_
Name of the pass that the input collection is on (empty string means take any pass)
float tdc_thr_
QIE TDC Current threshold.
float s_freq_
QIE sampling frequency [in MHz].
float elec_noise_
QIE electronic noise.
double pePerMip_
Total number of photoelectrons per MIP.
float pedestal_
QIE pedestal.
double mevPerMip_
Total MeV per MIP.
int maxts_
no. of time samples analysed by QIE
int stripsPerArray_
Number of strips per array.
bool verbose_
Class to set the verbosity level.
void produce(framework::Event &event) override
Method to produce a collection of QIE digis.
int numberOfArrays_
Number of arrays.
float sipm_gain_
SiPM Gain.
std::string inputCollection_
Name of the input collection containing the sim hits.
std::string input_pulse_shape_
QIE Input pulse shape.