CMS 3D CMS Logo

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

#include <ScaleCalculators.h>

Inheritance diagram for fftjetcms::JetEtaDependent:

Public Member Functions

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

Private Member Functions

 JetEtaDependent ()=delete
 

Private Attributes

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

Detailed Description

Definition at line 190 of file ScaleCalculators.h.

Constructor & Destructor Documentation

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

Definition at line 194 of file ScaleCalculators.h.

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

Definition at line 198 of file ScaleCalculators.h.

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

Member Function Documentation

double fftjetcms::JetEtaDependent::operator() ( const fftjet::RecombinedJet< VectorLike > &  r) const
inlineoverride

Definition at line 200 of file ScaleCalculators.h.

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

Member Data Documentation

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

Definition at line 206 of file ScaleCalculators.h.

const bool fftjetcms::JetEtaDependent::ownsPointer_
private

Definition at line 207 of file ScaleCalculators.h.