6 template<
class MyJet,
class Adjustable>
11 virtual void adjust(
const MyJet& ,
const Adjustable&
in,
12 const double* factors,
const unsigned lenFactors,
13 Adjustable*
out)
const 17 <<
"In FFTSimpleScalingAdjuster::adjust: wrong number of " 18 <<
"scales (expected 1, got " << lenFactors <<
")\n";
26 template<
class MyJet,
class Adjustable>
31 virtual void adjust(
const MyJet& ,
const Adjustable&
in,
32 const double* factors,
const unsigned lenFactors,
33 Adjustable*
out)
const 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 virtual void adjust(
const MyJet& ,
const Adjustable&
in,
54 const double* factors,
const unsigned lenFactors,
55 Adjustable*
out)
const 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);
virtual void adjust(const MyJet &, const Adjustable &in, const double *factors, const unsigned lenFactors, Adjustable *out) const
virtual void adjust(const MyJet &, const Adjustable &in, const double *factors, const unsigned lenFactors, Adjustable *out) const
virtual ~FFTUncertaintyAdjuster()
virtual ~FFTScalingAdjusterWithUncertainty()
virtual void adjust(const MyJet &, const Adjustable &in, const double *factors, const unsigned lenFactors, Adjustable *out) const
virtual ~FFTSimpleScalingAdjuster()