12 #include <framework/core/Module.h>
13 #include <framework/datastore/StoreArray.h>
16 #include <ecl/dataobjects/ECLDigit.h>
17 #include <ecl/dataobjects/ECLDsp.h>
64 constexpr
static int c_nt = 12;
70 constexpr
static double c_dt = 0.5;
124 virtual void event()
override;
127 virtual void endRun()
override;
134 {
return "ECLDigits" ; }
138 {
return "ECLDsps" ; }
154 void Fit2h(
double& b,
double& a0,
double& t0,
double& a1,
double& chi2);
155 void Fit2hExtraPhoton(
double& b,
double& a0,
double& t0,
double& a1,
double& A2,
double& T2,
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.
Struct to keep upper triangle of the covariance matrix.
const float & operator[](int i) const
rvalue access by index
float & operator[](int i)
lvalue access by index
float m_covMatPacked[31 *(31+1)/2]
packed matrix
Interpolate signal shape using function values and the first derivative.
double m_r0
assuming exponential drop of the signal function far away from 0, extrapolate it to +inf f(i_last + i...
constexpr static double c_idt
inverted time step
void getshape(double, val_der_t *) const
returns signal shape(+derivatives) in 31 equidistant time points starting from T0
SignalInterpolation2()
Default constructor.
constexpr static int c_ntail
tail steps
constexpr static double c_dtn
time substep
constexpr static double c_idtn
inverted time substep
constexpr static int c_nt
Signal function is sampled in c_nt time steps with c_ndt substeps + c_ntail steps c_dt is the time st...
constexpr static double c_dt
time step
constexpr static int c_ndt
substeps
std::pair< double, double > m_F[c_nt *c_ndt+c_ntail]
storage for function value + first derivative
Struct to return signal function information f0 is the function value f1 is the first derivative f2 i...
double f1
see struct description
double f0
see struct description
double f2
see struct description