CMS 3D CMS Logo

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

#include <PFECALSuperClusterAlgo.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::PFClusterthe_ptr () const
 

Private Attributes

edm::Ptr< reco::PFClustercluptr
 

Detailed Description

Definition at line 57 of file PFECALSuperClusterAlgo.h.

Constructor & Destructor Documentation

◆ CalibratedPFCluster()

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

Definition at line 59 of file PFECALSuperClusterAlgo.h.

59 : cluptr(p) {}

Member Function Documentation

◆ energy()

double PFECALSuperClusterAlgo::CalibratedPFCluster::energy ( ) const
inline

Definition at line 61 of file PFECALSuperClusterAlgo.h.

61 { return cluptr->correctedEnergy(); }

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

Referenced by Jet.Jet::rawEnergy().

◆ energy_nocalib()

double PFECALSuperClusterAlgo::CalibratedPFCluster::energy_nocalib ( ) const
inline

Definition at line 62 of file PFECALSuperClusterAlgo.h.

62 { return cluptr->energy(); }

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

◆ eta()

double PFECALSuperClusterAlgo::CalibratedPFCluster::eta ( void  ) const
inline

Definition at line 63 of file PFECALSuperClusterAlgo.h.

63 { return cluptr->positionREP().eta(); }

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

Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), and Jet.Jet::puJetId().

◆ phi()

double PFECALSuperClusterAlgo::CalibratedPFCluster::phi ( void  ) const
inline

Definition at line 64 of file PFECALSuperClusterAlgo.h.

64 { return cluptr->positionREP().phi(); }

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

Referenced by Particle.Particle::__str__(), and ntupleDataFormat.Track::phiPull().

◆ the_ptr()

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

Definition at line 66 of file PFECALSuperClusterAlgo.h.

66 { return cluptr; }

References cluptr.

Member Data Documentation

◆ cluptr

edm::Ptr<reco::PFCluster> PFECALSuperClusterAlgo::CalibratedPFCluster::cluptr
private

Definition at line 69 of file PFECALSuperClusterAlgo.h.

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

reco::PFCluster::energy
double energy() const
cluster energy
Definition: PFCluster.h:74
reco::PFCluster::positionREP
const REPPoint & positionREP() const
cluster position: rho, eta, phi
Definition: PFCluster.h:92
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
reco::CaloCluster::correctedEnergy
double correctedEnergy() const
Definition: CaloCluster.h:150
PFECALSuperClusterAlgo::CalibratedPFCluster::cluptr
edm::Ptr< reco::PFCluster > cluptr
Definition: PFECALSuperClusterAlgo.h:69