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.

◆ ~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.

References nhiso_.

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

29 { return nhiso_; }

◆ operator=()

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

Definition at line 20 of file PFIsolation.h.

References chiso_, nhiso_, phiso_, and puiso_.

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

◆ photonIso()

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

Definition at line 30 of file PFIsolation.h.

References phiso_.

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

30 { return phiso_; }

◆ puChargedHadronIso()

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

Definition at line 31 of file PFIsolation.h.

References puiso_.

31 { return 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().