#include <FFTJetScaleCalculators.h>
Public Member Functions | |
FFTEtaLogPtConeRadiusMapper (CPP11_shared_ptr< npstat::AbsMultivariateFunctor > f) | |
Private Member Functions | |
void | map (const MyJet &jet, const Adjustable ¤t, double *buf, const unsigned dim) const |
Definition at line 12 of file FFTJetScaleCalculators.h.
FFTEtaLogPtConeRadiusMapper< MyJet, Adjustable >::FFTEtaLogPtConeRadiusMapper | ( | CPP11_shared_ptr< npstat::AbsMultivariateFunctor > | f | ) | [inline, explicit] |
Definition at line 16 of file FFTJetScaleCalculators.h.
void FFTEtaLogPtConeRadiusMapper< MyJet, Adjustable >::map | ( | const MyJet & | jet, |
const Adjustable & | current, | ||
double * | buf, | ||
const unsigned | dim | ||
) | const [inline, private, virtual] |
Implements AbsFFTJetScaleCalculator< MyJet, Adjustable >.
Definition at line 21 of file FFTJetScaleCalculators.h.
References Exception, and funct::log().
{ assert(buf); if (dim != 3) throw cms::Exception("FFTJetBadConfig") << "In FFTEtaLogPtConeRadiusMapper::map: " << "invalid table dimensionality: " << dim << std::endl; buf[0] = current.vec().eta(); buf[1] = log(current.vec().pt()); buf[2] = jet.getFFTSpecific().f_recoScale(); }