Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:54:13

0001 #ifndef ParticleFlowCandidate_PileUpPFCandidate_h
0002 #define ParticleFlowCandidate_PileUpPFCandidate_h
0003 
0004 #include <iostream>
0005 
0006 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h"
0007 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h"
0008 #include "DataFormats/VertexReco/interface/VertexFwd.h"
0009 
0010 namespace reco {
0011   /**\class PileUpPFCandidate
0012      \brief Particle reconstructed by the particle flow algorithm.
0013           
0014      \author Colin Bernet
0015      \date   February 2007
0016   */
0017   class PileUpPFCandidate : public PFCandidate {
0018   public:
0019     /// default constructor
0020     PileUpPFCandidate();
0021 
0022     PileUpPFCandidate(const PFCandidatePtr& candidatePtr, const VertexRef& vertexRef);
0023 
0024     /// destructor
0025     ~PileUpPFCandidate() override;
0026 
0027     /// return a clone
0028     PileUpPFCandidate* clone() const override;
0029 
0030     /// return reference to the associated vertex
0031     const VertexRef& vertexRef() const { return vertexRef_; }
0032 
0033   private:
0034     VertexRef vertexRef_;
0035   };
0036 
0037   std::ostream& operator<<(std::ostream& out, const PileUpPFCandidate& c);
0038 
0039 }  // namespace reco
0040 
0041 #endif