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