CMS 3D CMS Logo

IsolatedPFCandidate.cc
Go to the documentation of this file.
2 
3 #include <iostream>
4 
5 using namespace reco;
6 using namespace std;
7 
9 
10 
12  double isolation ) :
13  PFCandidate(candidatePtr),
14  isolation_(isolation) {
15 }
16 
18  return new IsolatedPFCandidate( * this );
19 }
20 
21 
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 }
const Candidate * mother(size_type i=0) const override
return pointer to mother
IsolatedPFCandidate * clone() const override
return a clone
Particle reconstructed by the particle flow algorithm.
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Definition: BeamSpot.cc:71
Particle reconstructed by the particle flow algorithm.
Definition: PFCandidate.h:40
fixed size matrix
IsolatedPFCandidate()
default constructor
~IsolatedPFCandidate() override
destructor