Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:25:34

0001 // -*- C++ -*-
0002 //
0003 // Package:    METProducers
0004 // Class:      ElseMETProducer
0005 //
0006 /**\class ElseMETProducer
0007 
0008  Description: An EDProducer for CaloMET
0009 
0010  Implementation:
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 }  // namespace cms
0045 
0046 //____________________________________________________________________________||
0047 #endif  // ElseMETProducer_h