#include <FFTJetAdjusters.h>
Public Member Functions | |
virtual void | adjust (const MyJet &, const Adjustable &in, const double *factors, const unsigned lenFactors, Adjustable *out) const |
virtual | ~FFTScalingAdjusterWithUncertainty () |
Definition at line 48 of file FFTJetAdjusters.h.
virtual FFTScalingAdjusterWithUncertainty< MyJet, Adjustable >::~FFTScalingAdjusterWithUncertainty | ( | ) | [inline, virtual] |
Definition at line 51 of file FFTJetAdjusters.h.
{}
virtual void FFTScalingAdjusterWithUncertainty< MyJet, Adjustable >::adjust | ( | const MyJet & | , |
const Adjustable & | in, | ||
const double * | factors, | ||
const unsigned | lenFactors, | ||
Adjustable * | out | ||
) | const [inline, virtual] |
Implements AbsFFTJetAdjuster< MyJet, Adjustable >.
Definition at line 53 of file FFTJetAdjusters.h.
References Exception, recoMuon::in, and alignCSCRings::s.
{ if (lenFactors != 2U) throw cms::Exception("FFTJetBadConfig") << "In FFTScalingAdjusterWithUncertainty::adjust: wrong " << "number of scales (expected 2, got " << lenFactors << ")\n"; assert(factors); assert(out); *out = in; *out *= factors[0]; const double s = factors[1]; out->setVariance(in.variance() + s*s); }