#include <ScaleCalculators.h>
Public Member Functions | |
CompositeFunctor (const fftjet::Functor1< double, double > *f1, const fftjet::Functor1< double, T > *f2, const bool takeOwnership=false) | |
double | operator() (const T &r) const |
~CompositeFunctor () | |
Private Member Functions | |
CompositeFunctor () | |
Private Attributes | |
const fftjet::Functor1< double, double > * | f1_ |
const fftjet::Functor1< double, T > * | f2_ |
const bool | ownsPointers_ |
Definition at line 65 of file ScaleCalculators.h.
fftjetcms::CompositeFunctor< T >::CompositeFunctor | ( | const fftjet::Functor1< double, double > * | f1, |
const fftjet::Functor1< double, T > * | f2, | ||
const bool | takeOwnership = false |
||
) | [inline] |
Definition at line 68 of file ScaleCalculators.h.
: f1_(f1), f2_(f2), ownsPointers_(takeOwnership) {}
fftjetcms::CompositeFunctor< T >::~CompositeFunctor | ( | ) | [inline] |
Definition at line 73 of file ScaleCalculators.h.
References fftjetcms::CompositeFunctor< T >::f1_, fftjetcms::CompositeFunctor< T >::f2_, and fftjetcms::CompositeFunctor< T >::ownsPointers_.
{if (ownsPointers_) {delete f1_; delete f2_;}}
fftjetcms::CompositeFunctor< T >::CompositeFunctor | ( | ) | [private] |
double fftjetcms::CompositeFunctor< T >::operator() | ( | const T & | r | ) | const [inline] |
Definition at line 76 of file ScaleCalculators.h.
References fftjetcms::CompositeFunctor< T >::f1_, and alignCSCRings::r.
const fftjet::Functor1<double,double>* fftjetcms::CompositeFunctor< T >::f1_ [private] |
Definition at line 80 of file ScaleCalculators.h.
Referenced by fftjetcms::CompositeFunctor< T >::operator()(), and fftjetcms::CompositeFunctor< T >::~CompositeFunctor().
const fftjet::Functor1<double,T>* fftjetcms::CompositeFunctor< T >::f2_ [private] |
Definition at line 81 of file ScaleCalculators.h.
Referenced by fftjetcms::CompositeFunctor< T >::~CompositeFunctor().
const bool fftjetcms::CompositeFunctor< T >::ownsPointers_ [private] |
Definition at line 82 of file ScaleCalculators.h.
Referenced by fftjetcms::CompositeFunctor< T >::~CompositeFunctor().