CMS 3D CMS Logo

PileUpPFCandidate.cc
Go to the documentation of this file.
3 
4 using namespace reco;
5 
7 
9  : PFCandidate(candidatePtr), vertexRef_(vertexRef) {}
10 
12 
14 
15 std::ostream& reco::operator<<(std::ostream& out, const PileUpPFCandidate& c) {
16  if (!out)
17  return out;
18 
19  out << "PileUpPFCandidate, " << c.sourceCandidatePtr(0).id() << "/" << c.sourceCandidatePtr(0).key();
20 
21  return out;
22 }
~PileUpPFCandidate() override
destructor
const VertexRef & vertexRef() const
return reference to the associated vertex
key_type key() const
Definition: Ptr.h:163
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Definition: BeamSpot.cc:66
PileUpPFCandidate()
default constructor
CandidatePtr sourceCandidatePtr(size_type i) const override
Definition: PFCandidate.h:123
PileUpPFCandidate * clone() const override
return a clone
ProductID id() const
Accessor for product ID.
Definition: Ptr.h:158
Particle reconstructed by the particle flow algorithm.
Definition: PFCandidate.h:40
fixed size matrix
Particle reconstructed by the particle flow algorithm.