6 double amount = shape->
at(
t);
7 for (
int ibin =
t; ibin <
nbin_; ++ibin) {
17 int i = (int)(t - 0.5);
21 }
else if (i >=
nbin_) {
27 float f = (t - 0.5 -
i);
28 if (++i < nbin_ && f > 0) {
29 rv = rv * (1. -
f) +
v_[i] * f;
float at(double time) const
HcalShapeIntegrator(const HcalPulseShapes::Shape *aShape)
float at(double time) const
float operator()(double startTime, double stopTime) const