CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PileUpPFCandidate.cc
Go to the documentation of this file.
3 
4 using namespace reco;
5 
7 
8 PileUpPFCandidate::PileUpPFCandidate(const PFCandidatePtr& candidatePtr, const VertexRef& vertexRef)
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 edm::EventSetup & c
key_type key() const
Definition: Ptr.h:163
PileUpPFCandidate * clone() const override
return a clone
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Definition: BeamSpot.cc:66
PileUpPFCandidate()
default constructor
ProductID id() const
Accessor for product ID.
Definition: Ptr.h:158
Particle reconstructed by the particle flow algorithm.
Definition: PFCandidate.h:41
Particle reconstructed by the particle flow algorithm.
CandidatePtr sourceCandidatePtr(size_type i) const override
Definition: PFCandidate.h:124