CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
pat::PFIsolation Class Reference

#include <PFIsolation.h>

Public Member Functions

float chargedHadronIso () const
 
float neutralHadronIso () const
 
PFIsolationoperator= (const PFIsolation &iso)
 
 PFIsolation ()
 
 PFIsolation (float ch, float nh, float ph, float pu)
 
float photonIso () const
 
float puChargedHadronIso () const
 
 ~PFIsolation ()
 

Private Attributes

float chiso_
 
float nhiso_
 
float phiso_
 
float puiso_
 

Detailed Description

Definition at line 12 of file PFIsolation.h.

Constructor & Destructor Documentation

◆ PFIsolation() [1/2]

pat::PFIsolation::PFIsolation ( )
inline

Definition at line 14 of file PFIsolation.h.

14 : chiso_(9999.), nhiso_(9999.), phiso_(9999.), puiso_(9999.) {}

◆ PFIsolation() [2/2]

pat::PFIsolation::PFIsolation ( float  ch,
float  nh,
float  ph,
float  pu 
)
inline

Definition at line 16 of file PFIsolation.h.

16 : chiso_(ch), nhiso_(nh), phiso_(ph), puiso_(pu) {}

◆ ~PFIsolation()

pat::PFIsolation::~PFIsolation ( )
inline

Definition at line 18 of file PFIsolation.h.

18 {}

Member Function Documentation

◆ chargedHadronIso()

float pat::PFIsolation::chargedHadronIso ( ) const
inline

◆ neutralHadronIso()

float pat::PFIsolation::neutralHadronIso ( ) const
inline

Definition at line 29 of file PFIsolation.h.

29 { return nhiso_; }

References nhiso_.

Referenced by Lepton.Lepton::absIsoFromEA(), pat::muonRelMiniIsoPUCorrected(), and Photon.Photon::passPhotonIso().

◆ operator=()

PFIsolation& pat::PFIsolation::operator= ( const PFIsolation iso)
inline

Definition at line 20 of file PFIsolation.h.

20  {
21  chiso_ = iso.chiso_;
22  nhiso_ = iso.nhiso_;
23  phiso_ = iso.phiso_;
24  puiso_ = iso.puiso_;
25  return *this;
26  }

References chiso_, nhiso_, phiso_, and puiso_.

◆ photonIso()

float pat::PFIsolation::photonIso ( ) const
inline

Definition at line 30 of file PFIsolation.h.

30 { return phiso_; }

References phiso_.

Referenced by Lepton.Lepton::absIsoFromEA(), pat::muonRelMiniIsoPUCorrected(), and Photon.Photon::passPhotonIso().

◆ puChargedHadronIso()

float pat::PFIsolation::puChargedHadronIso ( ) const
inline

Definition at line 31 of file PFIsolation.h.

31 { return puiso_; }

References puiso_.

Member Data Documentation

◆ chiso_

float pat::PFIsolation::chiso_
private

Definition at line 34 of file PFIsolation.h.

Referenced by chargedHadronIso(), and operator=().

◆ nhiso_

float pat::PFIsolation::nhiso_
private

Definition at line 35 of file PFIsolation.h.

Referenced by neutralHadronIso(), and operator=().

◆ phiso_

float pat::PFIsolation::phiso_
private

Definition at line 36 of file PFIsolation.h.

Referenced by operator=(), and photonIso().

◆ puiso_

float pat::PFIsolation::puiso_
private

Definition at line 37 of file PFIsolation.h.

Referenced by operator=(), and puChargedHadronIso().

cms::cuda::nh
uint32_t nh
Definition: HistoContainer.h:23
pat::PFIsolation::nhiso_
float nhiso_
Definition: PFIsolation.h:35
muons2muons_cfi.pu
pu
Definition: muons2muons_cfi.py:31
pat::PFIsolation::chiso_
float chiso_
Definition: PFIsolation.h:34
pat::PFIsolation::puiso_
float puiso_
Definition: PFIsolation.h:37
pat::PFIsolation::phiso_
float phiso_
Definition: PFIsolation.h:36