00001 #ifndef ParticleFlowCandidate_IsolatedPFCandidate_h 00002 #define ParticleFlowCandidate_IsolatedPFCandidate_h 00003 00004 #include <iostream> 00005 00006 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h" 00007 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h" 00008 00009 namespace reco { 00016 class IsolatedPFCandidate : public PFCandidate { 00017 00018 public: 00019 00020 00022 IsolatedPFCandidate(); 00023 00024 IsolatedPFCandidate( const PFCandidatePtr& candidatePtr, 00025 double isolation ); 00026 00028 virtual ~IsolatedPFCandidate() {} 00029 00031 virtual IsolatedPFCandidate * clone() const; 00032 00033 /* const PFCandidateRef& parent() const { return parent_;} */ 00034 00035 double isolation() const { return isolation_; } 00036 00037 00038 friend std::ostream& operator<<( std::ostream& out, 00039 const IsolatedPFCandidate& c ); 00040 00041 private: 00042 00043 /* PFCandidateRef parent_; */ 00044 00045 double isolation_; 00046 }; 00047 00048 00049 } 00050 00051 #endif