Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:59:51

0001 #include "FWCore/Framework/interface/MakerMacros.h"
0002 #include "SubJetProducer.h"
0003 
0004 using namespace edm;
0005 using namespace cms;
0006 using namespace reco;
0007 
0008 SubJetProducer::SubJetProducer(edm::ParameterSet const& conf)
0009     : CompoundJetProducer(conf),
0010       alg_(conf.getParameter<double>("jetPtMin"),
0011            conf.getParameter<int>("nSubjets"),
0012            conf.getParameter<double>("zcut"),
0013            conf.getParameter<double>("rcut_factor"),
0014            fjJetDefinition_,
0015            doAreaFastjet_,
0016            fjActiveArea_,
0017            voronoiRfact_) {}
0018 
0019 void SubJetProducer::produce(edm::Event& e, const edm::EventSetup& c) { CompoundJetProducer::produce(e, c); }
0020 
0021 void SubJetProducer::runAlgorithm(edm::Event& iEvent, const edm::EventSetup& iSetup) {
0022   alg_.run(fjInputs_, fjCompoundJets_);
0023 }
0024 
0025 //define this as a plug-in
0026 DEFINE_FWK_MODULE(SubJetProducer);