00001 #ifndef RecoJets_JetProducers_CATopJetProducer2_h 00002 #define RecoJets_JetProducers_CATopJetProducer2_h 00003 00004 #include "FWCore/Framework/interface/EventSetup.h" 00005 #include "CompoundJetProducer.h" 00006 #include "RecoJets/JetAlgorithms/interface/SubJetAlgorithm.h" 00007 #include "RecoJets/JetAlgorithms/interface/CompoundPseudoJet.h" 00008 00009 namespace cms 00010 { 00011 class SubJetProducer : public CompoundJetProducer 00012 { 00013 public: 00014 00015 SubJetProducer(const edm::ParameterSet& ps); 00016 00017 virtual ~SubJetProducer() {} 00018 00019 virtual void produce( edm::Event& iEvent, const edm::EventSetup& iSetup ); 00020 00021 virtual void runAlgorithm( edm::Event& iEvent, const edm::EventSetup& iSetup ); 00022 00023 private: 00024 SubJetAlgorithm alg_; 00025 00026 }; 00027 00028 } 00029 #endif