CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions
FFTEtaLogPtConeRadiusMapper< MyJet, Adjustable > Class Template Reference

#include <FFTJetScaleCalculators.h>

Inheritance diagram for FFTEtaLogPtConeRadiusMapper< MyJet, Adjustable >:
AbsFFTJetScaleCalculator< MyJet, Adjustable >

Public Member Functions

 FFTEtaLogPtConeRadiusMapper (std::shared_ptr< npstat::AbsMultivariateFunctor > f)
 
- Public Member Functions inherited from AbsFFTJetScaleCalculator< MyJet, Adjustable >
 AbsFFTJetScaleCalculator (std::shared_ptr< npstat::AbsMultivariateFunctor > f)
 
double scale (const MyJet &jet, const Adjustable &current) const
 
virtual ~AbsFFTJetScaleCalculator ()
 

Private Member Functions

void map (const MyJet &jet, const Adjustable &current, double *buf, const unsigned dim) const
 

Additional Inherited Members

- Public Types inherited from AbsFFTJetScaleCalculator< MyJet, Adjustable >
typedef Adjustable adjustable_type
 
typedef MyJet jet_type
 

Detailed Description

template<class MyJet, class Adjustable>
class FFTEtaLogPtConeRadiusMapper< MyJet, Adjustable >

Definition at line 12 of file FFTJetScaleCalculators.h.

Constructor & Destructor Documentation

template<class MyJet , class Adjustable >
FFTEtaLogPtConeRadiusMapper< MyJet, Adjustable >::FFTEtaLogPtConeRadiusMapper ( std::shared_ptr< npstat::AbsMultivariateFunctor f)
inlineexplicit

Member Function Documentation

template<class MyJet , class Adjustable >
void FFTEtaLogPtConeRadiusMapper< MyJet, Adjustable >::map ( const MyJet &  jet,
const Adjustable &  current,
double *  buf,
const unsigned  dim 
) const
inlineprivatevirtual

Implements AbsFFTJetScaleCalculator< MyJet, Adjustable >.

Definition at line 21 of file FFTJetScaleCalculators.h.

References assert(), Exception, and dqm-mbProfile::log.

24  {
25  assert(buf);
26  if (dim != 3)
27  throw cms::Exception("FFTJetBadConfig")
28  << "In FFTEtaLogPtConeRadiusMapper::map: "
29  << "invalid table dimensionality: "
30  << dim << std::endl;
31  buf[0] = current.vec().eta();
32  buf[1] = log(current.vec().pt());
33  buf[2] = jet.getFFTSpecific().f_recoScale();
34  }
assert(m_qm.get())