CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

pat::PFIsolation::PFIsolation ( )
inline

Definition at line 14 of file PFIsolation.h.

14 : chiso_(9999.), nhiso_(9999.), phiso_(9999.), puiso_(9999.) {}
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) {}
uint32_t nh
pat::PFIsolation::~PFIsolation ( )
inline

Definition at line 18 of file PFIsolation.h.

18 {}

Member Function Documentation

float pat::PFIsolation::chargedHadronIso ( ) const
inline
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_; }
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  }
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_; }
float pat::PFIsolation::puChargedHadronIso ( ) const
inline

Definition at line 31 of file PFIsolation.h.

References puiso_.

31 { return puiso_; }

Member Data Documentation

float pat::PFIsolation::chiso_
private

Definition at line 34 of file PFIsolation.h.

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

float pat::PFIsolation::nhiso_
private

Definition at line 35 of file PFIsolation.h.

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

float pat::PFIsolation::phiso_
private

Definition at line 36 of file PFIsolation.h.

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

float pat::PFIsolation::puiso_
private

Definition at line 37 of file PFIsolation.h.

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