CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PileUpPFCandidate.cc
Go to the documentation of this file.
3 
4 using namespace reco;
5 
7 
8 
10  const VertexRef& vertexRef ) :
11  PFCandidate(candidatePtr), vertexRef_(vertexRef) {
12 }
13 
15  return new PileUpPFCandidate( * this );
16 }
17 
18 
20 
21 
22 std::ostream& reco::operator<<( std::ostream& out,
23  const PileUpPFCandidate& c ) {
24  if(!out) return out;
25 
26 
27  out<<"PileUpPFCandidate, "
28  <<c.sourceCandidatePtr(0).id()<<"/"
29  <<c.sourceCandidatePtr(0).key();
30 
31  return out;
32 }
virtual ~PileUpPFCandidate()
destructor
CandidatePtr sourceCandidatePtr(size_type i) const
Definition: PFCandidate.h:117
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Definition: BeamSpot.cc:72
PileUpPFCandidate()
default constructor
ProductID id() const
Accessor for product ID.
Definition: Ptr.h:164
tuple out
Definition: dbtoconf.py:99
key_type key() const
Definition: Ptr.h:169
Particle reconstructed by the particle flow algorithm.
Definition: PFCandidate.h:33
virtual PileUpPFCandidate * clone() const
return a clone
Particle reconstructed by the particle flow algorithm.