CMS 3D CMS Logo

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

#include <FFTJetScaleCalculators.h>

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

Public Member Functions

 FFTSpecificScaleCalculator (std::shared_ptr< npstat::AbsMultivariateFunctor > f, const AbsFFTSpecificScaleCalculator *p)
 
 ~FFTSpecificScaleCalculator () override
 
- Public Member Functions inherited from AbsFFTJetScaleCalculator< MyJet, Adjustable >
 AbsFFTJetScaleCalculator (std::shared_ptr< npstat::AbsMultivariateFunctor > f)
 
 AbsFFTJetScaleCalculator ()=delete
 
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
 

Private Attributes

const AbsFFTSpecificScaleCalculatorcalc_
 

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 FFTSpecificScaleCalculator< MyJet, Adjustable >

Definition at line 30 of file FFTJetScaleCalculators.h.

Constructor & Destructor Documentation

◆ FFTSpecificScaleCalculator()

template<class MyJet , class Adjustable >
FFTSpecificScaleCalculator< MyJet, Adjustable >::FFTSpecificScaleCalculator ( std::shared_ptr< npstat::AbsMultivariateFunctor f,
const AbsFFTSpecificScaleCalculator< MyJet, Adjustable > *  p 
)
inline

◆ ~FFTSpecificScaleCalculator()

template<class MyJet , class Adjustable >
FFTSpecificScaleCalculator< MyJet, Adjustable >::~FFTSpecificScaleCalculator ( )
inlineoverride

Definition at line 43 of file FFTJetScaleCalculators.h.

References FFTSpecificScaleCalculator< MyJet, Adjustable >::calc_.

43 { delete calc_; }
const AbsFFTSpecificScaleCalculator * calc_

Member Function Documentation

◆ map()

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

Implements AbsFFTJetScaleCalculator< MyJet, Adjustable >.

Definition at line 46 of file FFTJetScaleCalculators.h.

References visDQMUpload::buf, FFTSpecificScaleCalculator< MyJet, Adjustable >::calc_, metsig::jet, and AbsFFTSpecificScaleCalculator::mapFFTJet().

46  {
47  return calc_->mapFFTJet(jet, jet.getFFTSpecific(), current.vec(), buf, dim);
48  }
virtual void mapFFTJet(const reco::Jet &jet, const reco::FFTJet< float > &fftJet, const math::XYZTLorentzVector &current, double *buf, unsigned dim) const =0
const AbsFFTSpecificScaleCalculator * calc_

Member Data Documentation

◆ calc_

template<class MyJet , class Adjustable >
const AbsFFTSpecificScaleCalculator* FFTSpecificScaleCalculator< MyJet, Adjustable >::calc_
private