CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

fftjetcms::MagnitudeDependent< T > Class Template Reference

#include <ScaleCalculators.h>

List of all members.

Public Member Functions

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

Private Member Functions

 MagnitudeDependent ()

Private Attributes

const fftjet::Functor1< double,
double > * 
f1_
const bool ownsPointer_

Detailed Description

template<class T>
class fftjetcms::MagnitudeDependent< T >

Definition at line 112 of file ScaleCalculators.h.


Constructor & Destructor Documentation

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

Definition at line 115 of file ScaleCalculators.h.

            : f1_(f1), ownsPointer_(takeOwnership) {}
template<class T >
fftjetcms::MagnitudeDependent< T >::~MagnitudeDependent ( ) [inline]
template<class T >
fftjetcms::MagnitudeDependent< T >::MagnitudeDependent ( ) [private]

Member Function Documentation

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

Definition at line 121 of file ScaleCalculators.h.

References fftjetcms::MagnitudeDependent< T >::f1_.

            {return (*f1_)(r.magnitude());}

Member Data Documentation

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