CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
fftjetcms::PeakEtaDependent Class Reference

#include <ScaleCalculators.h>

Inheritance diagram for fftjetcms::PeakEtaDependent:

Public Member Functions

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

Private Member Functions

 PeakEtaDependent ()=delete
 

Private Attributes

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

Detailed Description

Definition at line 134 of file ScaleCalculators.h.

Constructor & Destructor Documentation

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

Definition at line 137 of file ScaleCalculators.h.

139  : f1_(f1), ownsPointer_(takeOwnership) {}
const fftjet::Functor1< double, double > * f1_
fftjetcms::PeakEtaDependent::~PeakEtaDependent ( )
inlineoverride

Definition at line 141 of file ScaleCalculators.h.

141 {if (ownsPointer_) delete f1_;}
const fftjet::Functor1< double, double > * f1_
fftjetcms::PeakEtaDependent::PeakEtaDependent ( )
privatedelete

Member Function Documentation

double fftjetcms::PeakEtaDependent::operator() ( const fftjet::Peak &  r) const
inlineoverride

Definition at line 143 of file ScaleCalculators.h.

144  {return (*f1_)(r.eta());}
const fftjet::Functor1< double, double > * f1_

Member Data Documentation

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

Definition at line 148 of file ScaleCalculators.h.

const bool fftjetcms::PeakEtaDependent::ownsPointer_
private

Definition at line 149 of file ScaleCalculators.h.