CMS 3D CMS Logo

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)
 
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

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

Definition at line 37 of file FFTJetScaleCalculators.h.

40  assert(p);
41  }
double f[11][100]
const AbsFFTSpecificScaleCalculator * calc_
template<class MyJet , class Adjustable >
FFTSpecificScaleCalculator< MyJet, Adjustable >::~FFTSpecificScaleCalculator ( )
inlineoverride

Definition at line 43 of file FFTJetScaleCalculators.h.

43 { delete calc_; }
const AbsFFTSpecificScaleCalculator * calc_

Member Function Documentation

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.

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

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

Definition at line 50 of file FFTJetScaleCalculators.h.