CMS 3D CMS Logo

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

#include <EtaAndPtDependentPeakSelector.h>

Inheritance diagram for fftjetcms::EtaAndPtDependentPeakSelector:

Public Member Functions

 EtaAndPtDependentPeakSelector ()=delete
 
 EtaAndPtDependentPeakSelector (const EtaAndPtDependentPeakSelector &)=delete
 
 EtaAndPtDependentPeakSelector (std::istream &in)
 
bool isValid () const
 
bool operator() (const fftjet::Peak &peak) const override
 
EtaAndPtDependentPeakSelectoroperator= (const EtaAndPtDependentPeakSelector &)=delete
 
 ~EtaAndPtDependentPeakSelector () override
 

Private Attributes

fftjet::LinearInterpolator2d * ip_
 

Detailed Description

Definition at line 17 of file EtaAndPtDependentPeakSelector.h.

Constructor & Destructor Documentation

◆ EtaAndPtDependentPeakSelector() [1/3]

fftjetcms::EtaAndPtDependentPeakSelector::EtaAndPtDependentPeakSelector ( std::istream &  in)
explicit

◆ EtaAndPtDependentPeakSelector() [2/3]

fftjetcms::EtaAndPtDependentPeakSelector::EtaAndPtDependentPeakSelector ( )
delete

◆ EtaAndPtDependentPeakSelector() [3/3]

fftjetcms::EtaAndPtDependentPeakSelector::EtaAndPtDependentPeakSelector ( const EtaAndPtDependentPeakSelector )
delete

◆ ~EtaAndPtDependentPeakSelector()

fftjetcms::EtaAndPtDependentPeakSelector::~EtaAndPtDependentPeakSelector ( )
override

Definition at line 9 of file EtaAndPtDependentPeakSelector.cc.

9 { delete ip_; }

References ip_.

Member Function Documentation

◆ isValid()

bool fftjetcms::EtaAndPtDependentPeakSelector::isValid ( void  ) const
inline

◆ operator()()

bool fftjetcms::EtaAndPtDependentPeakSelector::operator() ( const fftjet::Peak &  peak) const
override

Definition at line 11 of file EtaAndPtDependentPeakSelector.cc.

11  {
12  const double lookup = (*ip_)(peak.eta(), log(peak.scale()));
13  return peak.magnitude() > exp(lookup);
14  }

References JetChargeProducer_cfi::exp, and dqm-mbProfile::log.

◆ operator=()

EtaAndPtDependentPeakSelector& fftjetcms::EtaAndPtDependentPeakSelector::operator= ( const EtaAndPtDependentPeakSelector )
delete

Member Data Documentation

◆ ip_

fftjet::LinearInterpolator2d* fftjetcms::EtaAndPtDependentPeakSelector::ip_
private

Definition at line 29 of file EtaAndPtDependentPeakSelector.h.

Referenced by isValid(), and ~EtaAndPtDependentPeakSelector().

fftjetcms::EtaAndPtDependentPeakSelector::ip_
fftjet::LinearInterpolator2d * ip_
Definition: EtaAndPtDependentPeakSelector.h:29
recoMuon::in
Definition: RecoMuonEnumerators.h:6
readEcalDQMStatus.read
read
Definition: readEcalDQMStatus.py:38
dqm-mbProfile.log
log
Definition: dqm-mbProfile.py:17
JetChargeProducer_cfi.exp
exp
Definition: JetChargeProducer_cfi.py:6