File indexing completed on 2024-04-06 12:25:18
0001 #ifndef RecoHIHiHiJetAlgosHiGenCleaner_H
0002 #define RecoHIHiHiJetAlgosHiGenCleaner_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #include <memory>
0023 #include <vector>
0024
0025
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
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
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