Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-22 06:32:56

0001 #ifndef RecoTauTag_HLTProducers_PFJetsMaxInvMassModule_H
0002 #define RecoTauTag_HLTProducers_PFJetsMaxInvMassModule_H
0003 
0004 // user include files
0005 #include "FWCore/Framework/interface/Frameworkfwd.h"
0006 #include "FWCore/Framework/interface/global/EDProducer.h"
0007 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
0008 #include "FWCore/Framework/interface/Event.h"
0009 #include "FWCore/Framework/interface/EventSetup.h"
0010 #include "DataFormats/JetReco/interface/PFJetCollection.h"
0011 
0012 class PFJetsMaxInvMassModule : public edm::global::EDProducer<> {
0013 private:
0014   const edm::EDGetTokenT<reco::PFJetCollection> pfJetSrc_;
0015   bool maxInvMassPairOnly_;
0016   bool removeMaxInvMassPair_;
0017 
0018 public:
0019   explicit PFJetsMaxInvMassModule(const edm::ParameterSet&);
0020   ~PFJetsMaxInvMassModule() override = default;
0021   void produce(edm::StreamID, edm::Event&, const edm::EventSetup&) const override;
0022   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0023 };
0024 #endif