CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

fftjetcms::MultiplyByConst< T > Class Template Reference

#include <ScaleCalculators.h>

List of all members.

Public Member Functions

 MultiplyByConst (const double factor, const fftjet::Functor1< double, T > *f, const bool takeOwnership=false)
double operator() (const T &r) const
 ~MultiplyByConst ()

Private Member Functions

 MultiplyByConst ()

Private Attributes

double c_
const fftjet::Functor1< double,
T > * 
func_
const bool ownsPointer_

Detailed Description

template<class T>
class fftjetcms::MultiplyByConst< T >

Definition at line 43 of file ScaleCalculators.h.


Constructor & Destructor Documentation

template<class T >
fftjetcms::MultiplyByConst< T >::MultiplyByConst ( const double  factor,
const fftjet::Functor1< double, T > *  f,
const bool  takeOwnership = false 
) [inline]

Definition at line 46 of file ScaleCalculators.h.

            : c_(factor), func_(f), ownsPointer_(takeOwnership) {}
template<class T >
fftjetcms::MultiplyByConst< T >::~MultiplyByConst ( ) [inline]
template<class T >
fftjetcms::MultiplyByConst< T >::MultiplyByConst ( ) [private]

Member Function Documentation

template<class T >
double fftjetcms::MultiplyByConst< T >::operator() ( const T r) const [inline]

Member Data Documentation

template<class T >
double fftjetcms::MultiplyByConst< T >::c_ [private]

Definition at line 57 of file ScaleCalculators.h.

Referenced by fftjetcms::MultiplyByConst< T >::operator()().

template<class T >
const fftjet::Functor1<double,T>* fftjetcms::MultiplyByConst< T >::func_ [private]
template<class T >
const bool fftjetcms::MultiplyByConst< T >::ownsPointer_ [private]