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.
virtual void process(Event &event) final
Processing an event for a Producer is calling produce.
Class encapsulating parameters for configuring a processor.
class for simulating QIE chip output
Class that simulates QIE chip of the trigger scintillator.
std::string input_collection_
Name of the input collection containing the sim hits.
SimQIE * smq_
SimQIE pointer.
float zero_supp_cut_
Zero-suppression: discard any integrated pulses with PE < this number.
std::vector< float > pulse_params_
QIE Input pulse parameters.
std::unique_ptr< TRandom3 > random_
Random number generator.
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 input_pass_name_
Name of the pass that the input collection is on (empty string means take any pass)
float tdc_thr_
QIE TDC Current threshold.
double mean_noise_
Mean readout noise.
float s_freq_
QIE sampling frequency [in MHz].
float elec_noise_
QIE electronic noise.
float pedestal_
QIE pedestal.
double pe_per_mip_
Total number of photoelectrons per MIP.
int strips_per_array_
Number of strips per array.
int maxts_
no. of time samples analysed by QIE
void produce(framework::Event &event) override
Method to produce a collection of QIE digis.
float sipm_gain_
SiPM Gain.
std::string output_collection_
Name of the output collection that will be used to stored the digitized trigger scintillator hits.
std::string input_pulse_shape_
QIE Input pulse shape.
double mev_per_mip_
Total MeV per MIP.