DataFormats
ParticleFlowReco
interface
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
7
#include "
DataFormats/ParticleFlowReco/interface/PFRecHitFwd.h
"
8
9
namespace
reco
{
10
18
class
PFRecHitFraction
{
19
public
:
21
PFRecHitFraction
() :
fraction_
(-1) {}
22
24
PFRecHitFraction
(
const
PFRecHitRef
&
recHitRef
,
double
fraction
) :
recHitRef_
(
recHitRef
),
fraction_
(
fraction
) {}
25
27
const
PFRecHitRef
&
recHitRef
()
const
{
return
recHitRef_
; }
28
30
double
fraction
()
const
{
return
fraction_
; }
31
32
private
:
34
PFRecHitRef
recHitRef_
;
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
Generated for CMSSW Reference Manual by
1.8.16