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)
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,
57 double* buf,
const unsigned dim)
const
60 current.vec(), buf, dim);
66 #endif // JetMETCorrections_FFTJetObjects_FFTJetScaleCalculators_h
FFTEtaLogPtConeRadiusMapper(CPP11_shared_ptr< npstat::AbsMultivariateFunctor > f)
FFTSpecificScaleCalculator(CPP11_shared_ptr< npstat::AbsMultivariateFunctor > f, const AbsFFTSpecificScaleCalculator *p)
virtual ~FFTSpecificScaleCalculator()
void map(const MyJet &jet, const Adjustable ¤t, double *buf, const unsigned dim) const
virtual void mapFFTJet(const reco::Jet &jet, const reco::FFTJet< float > &fftJet, const math::XYZTLorentzVector ¤t, double *buf, unsigned dim) const =0
void map(const MyJet &jet, const Adjustable ¤t, double *buf, const unsigned dim) const
const AbsFFTSpecificScaleCalculator * calc_