00001 #ifndef PhysicsTools_PatUtils_CaloJetSelector_h 00002 #define PhysicsTools_PatUtils_CaloJetSelector_h 00003 00015 #include <string> 00016 #include "DataFormats/JetReco/interface/CaloJet.h" 00017 #include "PhysicsTools/PatUtils/interface/JetSelection.h" 00018 00019 #include "PhysicsTools/PatUtils/interface/ParticleCode.h" 00020 00021 namespace pat { 00022 00023 class CaloJetSelector { 00024 00025 00026 public: 00027 CaloJetSelector( const JetSelection& config ) : config_( config ) {} 00028 ~CaloJetSelector() {} 00029 00032 const ParticleStatus 00033 filter( const reco::CaloJet& Jet ) const; 00034 00035 private: 00036 00037 JetSelection config_; 00038 00039 }; // class 00040 00041 } // namespace 00042 00043 #endif