1 #ifndef __SimFastTiming_FastTimingCommon_MTDShapeBase_h__
2 #define __SimFastTiming_FastTimingCommon_MTDShapeBase_h__
11 typedef std::vector<double>
DVec;
17 double operator()(
double aTime)
const override;
23 std::array<float, 3>
timeAtThr(
const float scale,
const float threshold1,
const float threshold2)
const;
30 unsigned int timeIndex(
double aTime)
const;
38 const double&
y,
const double& x1,
const double& x2,
const double& y1,
const double& y2)
const;
virtual void fillShape(DVec &aVec) const =0
const double qNSecPerBin_
Electronic response of the preamp.
unsigned int timeIndex(double aTime) const
unsigned int indexOfMax() const
static constexpr unsigned int kNBinsPerNSec
static constexpr unsigned int k1NSecBinsTotal
double operator()(double aTime) const override
double timeToRise() const override
std::array< float, 3 > timeAtThr(const float scale, const float threshold1, const float threshold2) const
static constexpr unsigned int kReadoutTimeInterval
double linear_interpolation(const double &y, const double &x1, const double &x2, const double &y1, const double &y2) const
std::vector< double > DVec