CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

fftjetcms::JetEtaDependent Class Reference

#include <ScaleCalculators.h>

List of all members.

Public Member Functions

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

Private Member Functions

 JetEtaDependent ()

Private Attributes

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

Detailed Description

Definition at line 188 of file ScaleCalculators.h.


Constructor & Destructor Documentation

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

Definition at line 192 of file ScaleCalculators.h.

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

Definition at line 196 of file ScaleCalculators.h.

References f1_, and ownsPointer_.

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

Member Function Documentation

double fftjetcms::JetEtaDependent::operator() ( const fftjet::RecombinedJet< VectorLike > &  r) const [inline]

Definition at line 198 of file ScaleCalculators.h.

References f1_.

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

Member Data Documentation

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

Definition at line 204 of file ScaleCalculators.h.

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

Definition at line 205 of file ScaleCalculators.h.

Referenced by ~JetEtaDependent().