CMS 3D CMS Logo

PFRecHitFraction.h
Go to the documentation of this file.
1 #ifndef DataFormats_ParticleFlowReco_PFRecHitFraction_h
2 #define DataFormats_ParticleFlowReco_PFRecHitFraction_h
3 
4 #include <iostream>
5 #include <vector>
6 
8 
9 namespace reco {
10 
19  public:
22 
25 
27  const PFRecHitRef& recHitRef() const { return recHitRef_; }
28 
30  double fraction() const { return fraction_; }
31 
32  private:
35 
37  double fraction_;
38  };
39 
40  std::ostream& operator<<(std::ostream& out, const PFRecHitFraction& hit);
41 
42 } // namespace reco
43 
44 #endif
reco::PFRecHitFraction::fraction
double fraction() const
Definition: PFRecHitFraction.h:30
PFRecHitFwd.h
reco::PFRecHitFraction
Fraction of a PFRecHit (rechits can be shared between several PFCluster's)
Definition: PFRecHitFraction.h:18
reco::PFRecHitFraction::PFRecHitFraction
PFRecHitFraction()
default constructor
Definition: PFRecHitFraction.h:21
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
edm::Ref< PFRecHitCollection >
reco::PFRecHitFraction::recHitRef
const PFRecHitRef & recHitRef() const
Definition: PFRecHitFraction.h:27
reco::PFRecHitFraction::recHitRef_
PFRecHitRef recHitRef_
corresponding rechit
Definition: PFRecHitFraction.h:34
reco::operator<<
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Definition: BeamSpot.cc:66
reco::PFRecHitFraction::PFRecHitFraction
PFRecHitFraction(const PFRecHitRef &recHitRef, double fraction)
constructor
Definition: PFRecHitFraction.h:24
reco::PFRecHitFraction::fraction_
double fraction_
fraction of the rechit energy owned by the cluster
Definition: PFRecHitFraction.h:37
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
hit
Definition: SiStripHitEffFromCalibTree.cc:88