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 ()=delete
 
 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

◆ FFTEtaLogPtConeRadiusMapper()

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

Member Function Documentation

◆ map()

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.

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  }

References cms::cuda::assert(), visDQMUpload::buf, Exception, metsig::jet, and dqm-mbProfile::log.

f
double f[11][100]
Definition: MuScleFitUtils.cc:78
cms::cuda::assert
assert(be >=bs)
AbsFFTJetScaleCalculator< MyJet, Adjustable >
visDQMUpload.buf
buf
Definition: visDQMUpload.py:160
metsig::jet
Definition: SignAlgoResolutions.h:47
Exception
Definition: hltDiff.cc:245
dqm-mbProfile.log
log
Definition: dqm-mbProfile.py:17