#include <L2ResScaleCalculator.h>
Public Member Functions | |
L2ResScaleCalculator (const edm::ParameterSet &ps) | |
virtual void | mapFFTJet (const reco::Jet &, const reco::FFTJet< float > &fftJet, const math::XYZTLorentzVector ¤t, double *buf, const unsigned dim) const |
virtual | ~L2ResScaleCalculator () |
Private Attributes | |
double | m_radiusFactor |
Definition at line 10 of file L2ResScaleCalculator.h.
L2ResScaleCalculator::L2ResScaleCalculator | ( | const edm::ParameterSet & | ps | ) | [inline, explicit] |
Definition at line 13 of file L2ResScaleCalculator.h.
: m_radiusFactor(ps.getParameter<double>("radiusFactor")) {}
virtual L2ResScaleCalculator::~L2ResScaleCalculator | ( | ) | [inline, virtual] |
Definition at line 16 of file L2ResScaleCalculator.h.
{}
virtual void L2ResScaleCalculator::mapFFTJet | ( | const reco::Jet & | , |
const reco::FFTJet< float > & | fftJet, | ||
const math::XYZTLorentzVector & | current, | ||
double * | buf, | ||
const unsigned | dim | ||
) | const [inline, virtual] |
Implements AbsFFTSpecificScaleCalculator.
Definition at line 18 of file L2ResScaleCalculator.h.
References Exception, reco::FFTJet< Real >::f_recoScale(), m_radiusFactor, and CosmicsPD_Skims::radius.
{ if (dim != 2) throw cms::Exception("FFTJetBadConfig") << "In L2ResScaleCalculator::mapFFTJet: " << "invalid table dimensionality: " << dim << std::endl; assert(buf); const double radius = fftJet.f_recoScale(); buf[0] = radius*m_radiusFactor; buf[1] = current.eta(); }
double L2ResScaleCalculator::m_radiusFactor [private] |
Definition at line 35 of file L2ResScaleCalculator.h.
Referenced by mapFFTJet().