CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CalibratedPFCluster Class Reference

#include <CalibratedPFCluster.h>

Public Member Functions

 CalibratedPFCluster (const edm::Ptr< reco::PFCluster > &p)
 
double energy () const
 
double energy_nocalib () const
 
double eta () const
 
double phi () const
 
edm::Ptr< reco::PFClusterptr () const
 

Private Attributes

edm::Ptr< reco::PFClusterptr_
 

Detailed Description

Definition at line 9 of file CalibratedPFCluster.h.

Constructor & Destructor Documentation

◆ CalibratedPFCluster()

CalibratedPFCluster::CalibratedPFCluster ( const edm::Ptr< reco::PFCluster > &  p)
inline

Definition at line 11 of file CalibratedPFCluster.h.

Member Function Documentation

◆ energy()

double CalibratedPFCluster::energy ( ) const
inline

Definition at line 13 of file CalibratedPFCluster.h.

References reco::CaloCluster::correctedEnergy(), and ptr_.

Referenced by PFECALSuperClusterAlgo::loadAndSortPFClusters(), and Jet.Jet::rawEnergy().

13 { return ptr_->correctedEnergy(); }
edm::Ptr< reco::PFCluster > ptr_
double correctedEnergy() const
Definition: CaloCluster.h:150

◆ energy_nocalib()

double CalibratedPFCluster::energy_nocalib ( ) const
inline

Definition at line 14 of file CalibratedPFCluster.h.

References reco::PFCluster::energy(), and ptr_.

14 { return ptr_->energy(); }
edm::Ptr< reco::PFCluster > ptr_
double energy() const
cluster energy
Definition: PFCluster.h:74

◆ eta()

double CalibratedPFCluster::eta ( void  ) const
inline

Definition at line 15 of file CalibratedPFCluster.h.

References reco::PFCluster::positionREP(), and ptr_.

Referenced by Particle.Particle::__str__(), datamodel.Object::DeltaR(), Jet.Jet::jetID(), datamodel.Object::p4(), and Jet.Jet::puJetId().

15 { return ptr_->positionREP().eta(); }
edm::Ptr< reco::PFCluster > ptr_
const REPPoint & positionREP() const
cluster position: rho, eta, phi
Definition: PFCluster.h:92

◆ phi()

double CalibratedPFCluster::phi ( void  ) const
inline

Definition at line 16 of file CalibratedPFCluster.h.

References reco::PFCluster::positionREP(), and ptr_.

Referenced by Particle.Particle::__str__(), datamodel.Object::DeltaR(), datamodel.Object::p4(), and ntupleDataFormat.Track::phiPull().

16 { return ptr_->positionREP().phi(); }
edm::Ptr< reco::PFCluster > ptr_
const REPPoint & positionREP() const
cluster position: rho, eta, phi
Definition: PFCluster.h:92

◆ ptr()

edm::Ptr<reco::PFCluster> CalibratedPFCluster::ptr ( ) const
inline

Definition at line 18 of file CalibratedPFCluster.h.

References ptr_.

18 { return ptr_; }
edm::Ptr< reco::PFCluster > ptr_

Member Data Documentation

◆ ptr_

edm::Ptr<reco::PFCluster> CalibratedPFCluster::ptr_
private

Definition at line 21 of file CalibratedPFCluster.h.

Referenced by energy(), energy_nocalib(), eta(), phi(), and ptr().