CMS 3D CMS Logo

CalibratedPFCluster.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaCoreTools_CalibratedPFCluster_h
2 #define RecoEcal_EgammaCoreTools_CalibratedPFCluster_h
3 
7 
8 // simple class for associating calibrated energies
10 public:
12 
13  double energy() const { return ptr_->correctedEnergy(); }
14  double energy_nocalib() const { return ptr_->energy(); }
15  double eta() const { return ptr_->positionREP().eta(); }
16  double phi() const { return ptr_->positionREP().phi(); }
17 
18  edm::Ptr<reco::PFCluster> ptr() const { return ptr_; }
19 
20 private:
22 };
23 
24 #endif
CalibratedPFCluster(const edm::Ptr< reco::PFCluster > &p)
edm::Ptr< reco::PFCluster > ptr_
double energy_nocalib() const
const REPPoint & positionREP() const
cluster position: rho, eta, phi
Definition: PFCluster.h:92
double correctedEnergy() const
Definition: CaloCluster.h:149
double energy() const
cluster energy
Definition: PFCluster.h:74
edm::Ptr< reco::PFCluster > ptr() const