test
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 | 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)
 
virtual ~FFTSpecificScaleCalculator ()
 
- 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
 

Private Attributes

const
AbsFFTSpecificScaleCalculator
calc_
 

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 38 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 47 of file FFTJetScaleCalculators.h.

References assert().

assert(m_qm.get())
double f[11][100]
const AbsFFTSpecificScaleCalculator * calc_
template<class MyJet , class Adjustable >
virtual FFTSpecificScaleCalculator< MyJet, Adjustable >::~FFTSpecificScaleCalculator ( )
inlinevirtual

Definition at line 52 of file FFTJetScaleCalculators.h.

References FFTSpecificScaleCalculator< MyJet, Adjustable >::calc_.

52 {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
inlineprivatevirtual

Implements AbsFFTJetScaleCalculator< MyJet, Adjustable >.

Definition at line 55 of file FFTJetScaleCalculators.h.

References FFTSpecificScaleCalculator< MyJet, Adjustable >::calc_, and AbsFFTSpecificScaleCalculator::mapFFTJet().

58  {
59  return calc_->mapFFTJet(jet, jet.getFFTSpecific(),
60  current.vec(), buf, dim);
61  }
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