12#include <ecl/digitization/EclConfiguration.h>
26 static constexpr int m_nch = 72 * 16;
28 static constexpr double m_tmin = -15;
69 double Accumulate(
const double a,
const double t0,
double* s)
const;
Singleton class to hold the ECL configuration for pure CsI calorimeter.
static constexpr double m_tmin
lower range of the signal fitting region in ADC clocks
static double getTickPure()
Getter for m_tickPure.
static constexpr int m_ndtPure
number of points per ADC tick where signal fit procedure parameters are evaluated
static constexpr int m_ns
number of samples per ADC clock
static void setTickPure(double newval)
Setter for m_tickPure.
static constexpr int m_nlPure
length of samples signal in number of ADC clocks
static constexpr int m_nch
total number of electronic channels (crystals) in fwd endcap calorimeter
static double m_tickPure
Digitization tick for pure CsI calorimeter (microseconds)
static constexpr int m_ntrg
number of trigger counts per ADC clock tick
static constexpr int m_nsmp
number of ADC measurements for signal fitting
static constexpr int m_nl
length of samples signal in number of ADC clocks
static constexpr int m_ns
number of samples per ADC clock
static double getTick()
See m_tick.
static constexpr int m_ntrg
number of trigger counts per ADC clock tick
static constexpr int m_nsmp
number of ADC measurements for signal fitting
Abstract base class for different kinds of events.
a struct for the fit parameters for the pure CsI calorimeter
double c[m_nsmp]
flash ADC measurements
double total
total deposition (sum of m_s array)
void AddHit(const double a, const double t0, const signalsamplepure_t &q)
add hit method
A struct for the fit parameters for a single channel of the pure CsI calorimeter (in the simulation,...
double_matrix f1
first derivative of a signal response function
double double_matrix[16][2 *m_ndtPure]
Matrix used in shape fit algorithm.
double fine_array[2 *m_ndtPure]
Array used in shape fit algorithm.
fine_array c110
Intermediate coefficients for the left side of the system of linear equations to reconstruct amplitud...
double_matrix f
signal response function
double invC[16][16]
inverse noise covariance matrix
double_matrix c100
Intermediate coefficients for the right side of the system of linear equations to reconstruct amplitu...
a struct for a signal sample for the pure CsI calorimeter
void InitSample(const TH1F *, const TH1F *)
initialisation of signal sample
double m_ft[m_nlPure *m_ns]
Simulated signal shape.
double Accumulate(const double a, const double t0, double *s) const
double m_sumscale
energy deposit in fitting window scale factor
double m_ft1[m_nlPure *m_ns]
Simulated signal shape.