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 13 of file PFIsolation.h.

Constructor & Destructor Documentation

pat::PFIsolation::PFIsolation ( )
inline

Definition at line 15 of file PFIsolation.h.

15  :
16  chiso_(9999.), nhiso_(9999.),
17  phiso_(9999.), puiso_(9999.) {}
pat::PFIsolation::PFIsolation ( float  ch,
float  nh,
float  ph,
float  pu 
)
inline

Definition at line 19 of file PFIsolation.h.

19  :
20  chiso_(ch), nhiso_(nh),
21  phiso_(ph), puiso_(pu) {}
pat::PFIsolation::~PFIsolation ( )
inline

Definition at line 23 of file PFIsolation.h.

23 {}

Member Function Documentation

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

Definition at line 34 of file PFIsolation.h.

References nhiso_.

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

34 { return nhiso_; }
PFIsolation& pat::PFIsolation::operator= ( const PFIsolation iso)
inline

Definition at line 25 of file PFIsolation.h.

References chiso_, nhiso_, phiso_, and puiso_.

25  {
26  chiso_ = iso.chiso_;
27  nhiso_ = iso.nhiso_;
28  phiso_ = iso.phiso_;
29  puiso_ = iso.puiso_;
30  return *this;
31  }
float pat::PFIsolation::photonIso ( ) const
inline

Definition at line 35 of file PFIsolation.h.

References phiso_.

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

35 { return phiso_; }
float pat::PFIsolation::puChargedHadronIso ( ) const
inline

Definition at line 36 of file PFIsolation.h.

References puiso_.

36 { return puiso_; }

Member Data Documentation

float pat::PFIsolation::chiso_
private

Definition at line 39 of file PFIsolation.h.

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

float pat::PFIsolation::nhiso_
private

Definition at line 40 of file PFIsolation.h.

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

float pat::PFIsolation::phiso_
private

Definition at line 41 of file PFIsolation.h.

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

float pat::PFIsolation::puiso_
private

Definition at line 42 of file PFIsolation.h.

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