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

Constructor & Destructor Documentation

◆ PeakEtaDependent() [1/2]

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

Definition at line 133 of file ScaleCalculators.h.

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

◆ ~PeakEtaDependent()

fftjetcms::PeakEtaDependent::~PeakEtaDependent ( )
inlineoverride

Definition at line 136 of file ScaleCalculators.h.

136  {
137  if (ownsPointer_)
138  delete f1_;
139  }

References f1_, and ownsPointer_.

◆ PeakEtaDependent() [2/2]

fftjetcms::PeakEtaDependent::PeakEtaDependent ( )
privatedelete

Member Function Documentation

◆ operator()()

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

Definition at line 141 of file ScaleCalculators.h.

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

References f1_, and alignCSCRings::r.

Member Data Documentation

◆ f1_

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

Definition at line 145 of file ScaleCalculators.h.

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

◆ ownsPointer_

const bool fftjetcms::PeakEtaDependent::ownsPointer_
private

Definition at line 146 of file ScaleCalculators.h.

Referenced by ~PeakEtaDependent().

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