Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
10
ostream&
reco::operator<<
( std::ostream&
out
,
11
const
PFRecHitFraction
&
hit
) {
12
13
if
(!out)
return
out
;
14
15
// const reco::PFRecHit* rechit = hit.getRecHit();
16
17
out<<hit.
fraction
()<<
"x["
<< hit.
recHitRef
()->detId()<<
"]"
;
18
19
return
out
;
20
}
PFRecHit.h
reco::PFRecHitFraction
Fraction of a PFRecHit (rechits can be shared between several PFCluster's)
Definition:
PFRecHitFraction.h:19
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:105
reco::PFRecHitFraction::fraction
double fraction() const
Definition:
PFRecHitFraction.h:38
reco::operator<<
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Definition:
BeamSpot.cc:71
dbtoconf.out
tuple out
Definition:
dbtoconf.py:99
Ref.h
hit
Definition:
SiStripHitEffFromCalibTree.cc:85
reco::PFRecHitFraction::recHitRef
const PFRecHitRef & recHitRef() const
copy
Definition:
PFRecHitFraction.h:35
PFRecHitFraction.h
Generated for CMSSW Reference Manual by
1.8.5