#include <ScaleCalculators.h>
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_ |
Definition at line 43 of file ScaleCalculators.h.
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) {}
fftjetcms::MultiplyByConst< T >::~MultiplyByConst | ( | ) | [inline] |
Definition at line 51 of file ScaleCalculators.h.
References fftjetcms::MultiplyByConst< T >::func_, and fftjetcms::MultiplyByConst< T >::ownsPointer_.
{if (ownsPointer_) delete func_;}
fftjetcms::MultiplyByConst< T >::MultiplyByConst | ( | ) | [private] |
double fftjetcms::MultiplyByConst< T >::operator() | ( | const T & | r | ) | const [inline] |
Definition at line 53 of file ScaleCalculators.h.
References fftjetcms::MultiplyByConst< T >::c_, fftjetcms::MultiplyByConst< T >::func_, and csvReporter::r.
double fftjetcms::MultiplyByConst< T >::c_ [private] |
Definition at line 57 of file ScaleCalculators.h.
Referenced by fftjetcms::MultiplyByConst< T >::operator()().
const fftjet::Functor1<double,T>* fftjetcms::MultiplyByConst< T >::func_ [private] |
Definition at line 58 of file ScaleCalculators.h.
Referenced by fftjetcms::MultiplyByConst< T >::operator()(), and fftjetcms::MultiplyByConst< T >::~MultiplyByConst().
const bool fftjetcms::MultiplyByConst< T >::ownsPointer_ [private] |
Definition at line 59 of file ScaleCalculators.h.
Referenced by fftjetcms::MultiplyByConst< T >::~MultiplyByConst().