CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

fftjetcms::PeakEtaDependent Class Reference

#include <ScaleCalculators.h>

List of all members.

Public Member Functions

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

Private Member Functions

 PeakEtaDependent ()

Private Attributes

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

Detailed Description

Definition at line 132 of file ScaleCalculators.h.


Constructor & Destructor Documentation

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

Definition at line 135 of file ScaleCalculators.h.

            : f1_(f1), ownsPointer_(takeOwnership) {}
fftjetcms::PeakEtaDependent::~PeakEtaDependent ( ) [inline]

Definition at line 139 of file ScaleCalculators.h.

References f1_, and ownsPointer_.

{if (ownsPointer_) delete f1_;}
fftjetcms::PeakEtaDependent::PeakEtaDependent ( ) [private]

Member Function Documentation

double fftjetcms::PeakEtaDependent::operator() ( const fftjet::Peak &  r) const [inline]

Definition at line 141 of file ScaleCalculators.h.

References f1_.

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

Member Data Documentation

const fftjet::Functor1<double,double>* fftjetcms::PeakEtaDependent::f1_ [private]

Definition at line 146 of file ScaleCalculators.h.

Referenced by operator()(), and ~PeakEtaDependent().

Definition at line 147 of file ScaleCalculators.h.

Referenced by ~PeakEtaDependent().