Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:25:18

0001 #ifndef RecoHIHiHiJetAlgosHiGenCleaner_H
0002 #define RecoHIHiHiJetAlgosHiGenCleaner_H
0003 // -*- C++ -*-
0004 //
0005 // Package:    HiGenCleaner
0006 // Class:      HiGenCleaner
0007 //
0008 /**\class HiGenCleaner HiGenCleaner.cc yetkin/HiGenCleaner/src/HiGenCleaner.cc
0009 
0010  Description: <one line class summary>
0011 
0012  Implementation:
0013      <Notes on implementation>
0014 */
0015 //
0016 // Original Author:  Yetkin Yilmaz
0017 //         Created:  Tue Jul 21 04:26:01 EDT 2009
0018 //
0019 //
0020 
0021 // system include files
0022 #include <memory>
0023 #include <vector>
0024 
0025 // user include files
0026 #include "FWCore/Framework/interface/Frameworkfwd.h"
0027 #include "FWCore/Framework/interface/global/EDProducer.h"
0028 
0029 #include "FWCore/Framework/interface/Event.h"
0030 
0031 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0032 #include "FWCore/Utilities/interface/InputTag.h"
0033 
0034 #include "DataFormats/Common/interface/View.h"
0035 
0036 //
0037 // class decleration
0038 //
0039 
0040 template <class T2>
0041 class HiGenCleaner : public edm::global::EDProducer<> {
0042 public:
0043   typedef std::vector<T2> T2Collection;
0044   explicit HiGenCleaner(const edm::ParameterSet&);
0045   ~HiGenCleaner() override;
0046 
0047 private:
0048   void produce(edm::StreamID, edm::Event&, const edm::EventSetup&) const override;
0049   // ----------member data ---------------------------
0050 
0051   const edm::EDGetTokenT<edm::View<T2> > jetSrc_;
0052   const double deltaR_;
0053   const double ptCut_;
0054   const bool makeNew_;
0055   const bool fillDummy_;
0056 };
0057 
0058 #endif