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