Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
ParticleFlowCandidate
src
IsolatedPFCandidate.cc
Go to the documentation of this file.
1
#include "
DataFormats/ParticleFlowCandidate/interface/IsolatedPFCandidate.h
"
2
3
#include <iostream>
4
5
using namespace
reco
;
6
using namespace
std;
7
8
IsolatedPFCandidate::IsolatedPFCandidate
() :
PFCandidate
(), isolation_(-1) {}
9
10
11
IsolatedPFCandidate::IsolatedPFCandidate
(
const
PFCandidatePtr
& candidatePtr,
12
double
isolation
) :
13
PFCandidate
(candidatePtr),
14
isolation_(isolation) {
15
}
16
17
IsolatedPFCandidate
*
IsolatedPFCandidate::clone
()
const
{
18
return
new
IsolatedPFCandidate
( *
this
);
19
}
20
21
22
IsolatedPFCandidate::~IsolatedPFCandidate
() {}
23
24
25
std::ostream&
reco::operator<<
( std::ostream&
out
,
26
const
IsolatedPFCandidate
&
c
) {
27
if
(!out)
return
out
;
28
29
const
PFCandidate
& mother =
c
;
30
out<<
"IsolatedPFCandidate, isolation = "
31
<<c.
isolation
()<<
" "
32
<<mother;
33
return
out
;
34
}
IsolatedPFCandidate.h
isolation
double isolation
Definition:
AssociatedVariableMaxCutCandRefSelector.cc:25
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:107
edm::Ptr< PFCandidate >
reco::IsolatedPFCandidate
Particle reconstructed by the particle flow algorithm.
Definition:
IsolatedPFCandidate.h:16
reco::operator<<
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Definition:
BeamSpot.cc:71
dbtoconf.out
tuple out
Definition:
dbtoconf.py:99
reco::IsolatedPFCandidate::~IsolatedPFCandidate
virtual ~IsolatedPFCandidate()
destructor
Definition:
IsolatedPFCandidate.cc:22
trackerHits.c
tuple c
Definition:
trackerHits.py:26
reco::IsolatedPFCandidate::isolation
double isolation() const
Definition:
IsolatedPFCandidate.h:35
reco::IsolatedPFCandidate::clone
virtual IsolatedPFCandidate * clone() const
return a clone
Definition:
IsolatedPFCandidate.cc:17
reco::PFCandidate
Particle reconstructed by the particle flow algorithm.
Definition:
PFCandidate.h:38
reco::IsolatedPFCandidate::IsolatedPFCandidate
IsolatedPFCandidate()
default constructor
Definition:
IsolatedPFCandidate.cc:8
Generated for CMSSW Reference Manual by
1.8.5