00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include <memory>
00011
00012 #include "FWCore/Framework/interface/MakerMacros.h"
00013 #include "MidpointJetProducer.h"
00014
00015 using namespace std;
00016 using namespace reco;
00017
00018 namespace {
00019 const bool debug = false;
00020
00021 }
00022
00023 namespace cms
00024 {
00025
00026
00027
00028 MidpointJetProducer::MidpointJetProducer(edm::ParameterSet const& conf):
00029 BaseJetProducer (conf),
00030 alg_(conf.getParameter<double>("seedThreshold"),
00031 conf.getParameter<double>("coneRadius"),
00032 conf.getParameter<double>("coneAreaFraction"),
00033 conf.getParameter<int>("maxPairSize"),
00034 conf.getParameter<int>("maxIterations"),
00035 conf.getParameter<double>("overlapThreshold"),
00036 conf.getUntrackedParameter<int>("debugLevel",0))
00037 {}
00038
00039
00040
00041 bool MidpointJetProducer::runAlgorithm (const JetReco::InputCollection& fInput,
00042 JetReco::OutputCollection* fOutput) {
00043 alg_.run (fInput, fOutput);
00044 return true;
00045 }
00046 }
00047