#include <DataFormats/ParticleFlowReco/interface/PFRecHitFraction.h>
Public Member Functions | |
double | fraction () const |
| |
PFRecHitFraction (const PFRecHitRef &recHitRef, double fraction) | |
constructor | |
PFRecHitFraction () | |
default constructor | |
const PFRecHitRef & | recHitRef () const |
copy | |
Private Attributes | |
double | fraction_ |
fraction of the rechit energy owned by the cluster | |
PFRecHitRef | recHitRef_ |
corresponding rechit | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const PFRecHitFraction &hit) |
Definition at line 19 of file PFRecHitFraction.h.
reco::PFRecHitFraction::PFRecHitFraction | ( | ) | [inline] |
reco::PFRecHitFraction::PFRecHitFraction | ( | const PFRecHitRef & | recHitRef, | |
double | fraction | |||
) | [inline] |
constructor
Definition at line 26 of file PFRecHitFraction.h.
00028 : recHitRef_(recHitRef), fraction_(fraction) {}
double reco::PFRecHitFraction::fraction | ( | ) | const [inline] |
Definition at line 38 of file PFRecHitFraction.h.
References fraction_.
Referenced by PFClusterShapeAlgo::fill5x5Map(), and reco::operator<<().
00038 {return fraction_;}
const PFRecHitRef& reco::PFRecHitFraction::recHitRef | ( | ) | const [inline] |
copy
Definition at line 35 of file PFRecHitFraction.h.
References recHitRef_.
Referenced by reco::operator<<().
00035 {return recHitRef_;}
std::ostream& operator<< | ( | std::ostream & | out, | |
const PFRecHitFraction & | hit | |||
) | [friend] |
double reco::PFRecHitFraction::fraction_ [private] |
fraction of the rechit energy owned by the cluster
Definition at line 49 of file PFRecHitFraction.h.
Referenced by fraction().