1 #ifndef JetMETCorrections_FFTJetObjects_FFTJetScaleCalculators_h 2 #define JetMETCorrections_FFTJetObjects_FFTJetScaleCalculators_h 11 template<
class MyJet,
class Adjustable>
17 CPP11_shared_ptr<npstat::AbsMultivariateFunctor>
f)
22 const Adjustable& current,
23 double* buf,
const unsigned dim)
const 28 <<
"In FFTEtaLogPtConeRadiusMapper::map: " 29 <<
"invalid table dimensionality: " 31 buf[0] = current.vec().eta();
32 buf[1] =
log(current.vec().pt());
33 buf[2] = jet.getFFTSpecific().f_recoScale();
37 template<
class MyJet,
class Adjustable>
48 CPP11_shared_ptr<npstat::AbsMultivariateFunctor>
f,
56 const Adjustable& current,
57 double* buf,
const unsigned dim)
const 59 return calc_->mapFFTJet(jet, jet.getFFTSpecific(),
60 current.vec(), buf, dim);
66 #endif // JetMETCorrections_FFTJetObjects_FFTJetScaleCalculators_h
FFTSpecificScaleCalculator(std::shared_ptr< npstat::AbsMultivariateFunctor > f, const AbsFFTSpecificScaleCalculator *p)
virtual ~FFTSpecificScaleCalculator()
void map(const MyJet &jet, const Adjustable ¤t, double *buf, const unsigned dim) const
FFTEtaLogPtConeRadiusMapper(std::shared_ptr< npstat::AbsMultivariateFunctor > f)
void map(const MyJet &jet, const Adjustable ¤t, double *buf, const unsigned dim) const
const AbsFFTSpecificScaleCalculator * calc_