Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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