Go to the documentation of this file. 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;
double operator()(double aTime) const override
const double qNSecPerBin_
virtual void fillShape(DVec &aVec) const =0
double timeToRise() const override
std::array< float, 3 > timeAtThr(const float scale, const float threshold1, const float threshold2) const
unsigned int indexOfMax() const
std::vector< double > DVec
static constexpr unsigned int k1NSecBinsTotal
Electronic response of the preamp.
static constexpr unsigned int kNBinsPerNSec
double linear_interpolation(const double &y, const double &x1, const double &x2, const double &y1, const double &y2) const
static constexpr unsigned int kReadoutTimeInterval
unsigned int timeIndex(double aTime) const