DataFormats
ParticleFlowReco
src
PFRecHitFraction.cc
Go to the documentation of this file.
1
#include "
DataFormats/ParticleFlowReco/interface/PFRecHitFraction.h
"
2
#include "
DataFormats/Common/interface/Ref.h
"
3
#include "
DataFormats/ParticleFlowReco/interface/PFRecHit.h
"
4
// #include "FWCore/Utilities/interface/Exception.h"
5
6
using namespace
std
;
7
using namespace
reco
;
8
9
ostream&
reco::operator<<
(std::ostream&
out
,
const
PFRecHitFraction
&
hit
) {
10
if
(!
out
)
11
return
out
;
12
13
// const reco::PFRecHit* rechit = hit.getRecHit();
14
15
out
<<
hit
.fraction() <<
"x["
<<
hit
.recHitRef()->detId() <<
"]"
;
16
17
return
out
;
18
}
reco::PFRecHitFraction
Fraction of a PFRecHit (rechits can be shared between several PFCluster's)
Definition:
PFRecHitFraction.h:18
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
PFRecHit.h
reco::operator<<
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Definition:
BeamSpot.cc:66
PFRecHitFraction.h
std
Definition:
JetResolutionObject.h:76
Ref.h
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
hit
Definition:
SiStripHitEffFromCalibTree.cc:88
Generated for CMSSW Reference Manual by
1.8.16