CMS 3D CMS Logo

MidpointPilupSubtractionJetProducer.cc

Go to the documentation of this file.
00001 // File: MidpointPilupSubtractionJetProducer.cc
00002 // Description:  see MidpointPilupSubtractionJetProducer.h
00003 // Author:  M. Paterno
00004 // Creation Date:  MFP Apr. 6 2005 Initial version.
00005 // Revision:  R. Harris,  Oct. 19, 2005 Modified to use real CaloTowers from Jeremy Mans
00006 // Revisions:  F.Ratnikov, 8-Mar-2006, accommodate Candidate model
00007 // $Id: MidpointPilupSubtractionJetProducer.cc,v 1.2 2007/06/30 17:24:07 fedor Exp $
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   // Constructor takes input parameters now: to be replaced with parameter set.
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   // run algorithm itself
00040   bool MidpointPilupSubtractionJetProducer::runAlgorithm (const JetReco::InputCollection& fInput, 
00041                      JetReco::OutputCollection* fOutput) {
00042     alg_.run (fInput, fOutput);
00043     return true;
00044   }
00045 }

Generated on Tue Jun 9 17:43:43 2009 for CMSSW by  doxygen 1.5.4