test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 }
Particle reconstructed by the particle flow algorithm.
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Definition: BeamSpot.cc:71
virtual ~IsolatedPFCandidate()
destructor
virtual IsolatedPFCandidate * clone() const
return a clone
Particle reconstructed by the particle flow algorithm.
Definition: PFCandidate.h:39
IsolatedPFCandidate()
default constructor