6 template<
class MyJet,
class Adjustable>
11 void adjust(
const MyJet& ,
const Adjustable&
in,
12 const double* factors,
const unsigned lenFactors,
13 Adjustable*
out)
const override 17 <<
"In FFTSimpleScalingAdjuster::adjust: wrong number of " 18 <<
"scales (expected 1, got " << lenFactors <<
")\n";
26 template<
class MyJet,
class Adjustable>
31 void adjust(
const MyJet& ,
const Adjustable&
in,
32 const double* factors,
const unsigned lenFactors,
33 Adjustable*
out)
const override 37 <<
"In FFTUncertaintyAdjuster::adjust: wrong number of " 38 <<
"scales (expected 1, got " << lenFactors <<
")\n";
42 const double s = factors[0];
43 out->setVariance(in.variance() + s*
s);
47 template<
class MyJet,
class Adjustable>
53 void adjust(
const MyJet& ,
const Adjustable&
in,
54 const double* factors,
const unsigned lenFactors,
55 Adjustable*
out)
const override 59 <<
"In FFTScalingAdjusterWithUncertainty::adjust: wrong " 60 <<
"number of scales (expected 2, got " << lenFactors <<
")\n";
65 const double s = factors[1];
66 out->setVariance(in.variance() + s*
s);
void adjust(const MyJet &, const Adjustable &in, const double *factors, const unsigned lenFactors, Adjustable *out) const override
void adjust(const MyJet &, const Adjustable &in, const double *factors, const unsigned lenFactors, Adjustable *out) const override
~FFTScalingAdjusterWithUncertainty() override
~FFTUncertaintyAdjuster() override
void adjust(const MyJet &, const Adjustable &in, const double *factors, const unsigned lenFactors, Adjustable *out) const override
~FFTSimpleScalingAdjuster() override