CMS 3D CMS Logo

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 override
 

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
inlineoverrideprivatevirtual

Implements AbsFFTJetScaleCalculator< MyJet, Adjustable >.

Definition at line 18 of file FFTJetScaleCalculators.h.

References Exception, and dqm-mbProfile::log.

18  {
19  assert(buf);
20  if (dim != 3)
21  throw cms::Exception("FFTJetBadConfig") << "In FFTEtaLogPtConeRadiusMapper::map: "
22  << "invalid table dimensionality: " << dim << std::endl;
23  buf[0] = current.vec().eta();
24  buf[1] = log(current.vec().pt());
25  buf[2] = jet.getFFTSpecific().f_recoScale();
26  }