|
|
Go to the documentation of this file.
6 template <
class MyJet,
class Adjustable>
12 const double* factors,
13 const unsigned lenFactors,
14 Adjustable*
out)
const override {
16 throw cms::Exception(
"FFTJetBadConfig") <<
"In FFTSimpleScalingAdjuster::adjust: wrong number of "
17 <<
"scales (expected 1, got " << lenFactors <<
")\n";
25 template <
class MyJet,
class Adjustable>
31 const double* factors,
32 const unsigned lenFactors,
33 Adjustable*
out)
const override {
35 throw cms::Exception(
"FFTJetBadConfig") <<
"In FFTUncertaintyAdjuster::adjust: wrong number of "
36 <<
"scales (expected 1, got " << lenFactors <<
")\n";
40 const double s = factors[0];
41 out->setVariance(
in.variance() +
s *
s);
45 template <
class MyJet,
class Adjustable>
51 const double* factors,
52 const unsigned lenFactors,
53 Adjustable*
out)
const override {
55 throw cms::Exception(
"FFTJetBadConfig") <<
"In FFTScalingAdjusterWithUncertainty::adjust: wrong "
56 <<
"number of scales (expected 2, got " << lenFactors <<
")\n";
61 const double s = factors[1];
62 out->setVariance(
in.variance() +
s *
s);
~FFTSimpleScalingAdjuster() override
~FFTUncertaintyAdjuster() override
~FFTScalingAdjusterWithUncertainty() override
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
void adjust(const MyJet &, const Adjustable &in, const double *factors, const unsigned lenFactors, Adjustable *out) const override