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 183 of file ScaleCalculators.h.

Constructor & Destructor Documentation

◆ JetEtaDependent() [1/2]

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

Definition at line 185 of file ScaleCalculators.h.

186  : f1_(f1), ownsPointer_(takeOwnership) {}

◆ ~JetEtaDependent()

fftjetcms::JetEtaDependent::~JetEtaDependent ( )
inlineoverride

Definition at line 188 of file ScaleCalculators.h.

188  {
189  if (ownsPointer_)
190  delete f1_;
191  }

References f1_, and ownsPointer_.

◆ JetEtaDependent() [2/2]

fftjetcms::JetEtaDependent::JetEtaDependent ( )
privatedelete

Member Function Documentation

◆ operator()()

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

Definition at line 193 of file ScaleCalculators.h.

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

References f1_, and alignCSCRings::r.

Member Data Documentation

◆ f1_

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

Definition at line 199 of file ScaleCalculators.h.

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

◆ ownsPointer_

const bool fftjetcms::JetEtaDependent::ownsPointer_
private

Definition at line 200 of file ScaleCalculators.h.

Referenced by ~JetEtaDependent().

fftjetcms::JetEtaDependent::ownsPointer_
const bool ownsPointer_
Definition: ScaleCalculators.h:200
alignCSCRings.r
r
Definition: alignCSCRings.py:93
fftjetcms::JetEtaDependent::f1_
const fftjet::Functor1< double, double > * f1_
Definition: ScaleCalculators.h:199
DeadROC_duringRun.f1
f1
Definition: DeadROC_duringRun.py:219