File indexing completed on 2024-04-06 12:26:45
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #ifndef ElseMETProducer_h
0019 #define ElseMETProducer_h
0020
0021
0022 #include "FWCore/Framework/interface/Frameworkfwd.h"
0023 #include "FWCore/Framework/interface/stream/EDProducer.h"
0024
0025 #include "FWCore/Framework/interface/Event.h"
0026 #include "FWCore/Framework/interface/MakerMacros.h"
0027
0028 #include "DataFormats/Common/interface/View.h"
0029 #include "DataFormats/Candidate/interface/Candidate.h"
0030
0031
0032 namespace cms {
0033 class ElseMETProducer : public edm::stream::EDProducer<> {
0034 public:
0035 explicit ElseMETProducer(const edm::ParameterSet&);
0036 ~ElseMETProducer() override {}
0037 void produce(edm::Event&, const edm::EventSetup&) override;
0038
0039 private:
0040 edm::EDGetTokenT<edm::View<reco::Candidate> > inputToken_;
0041
0042 double globalThreshold_;
0043 };
0044 }
0045
0046
0047 #endif