CMS 3D CMS Logo

GenMETExtractor.h
Go to the documentation of this file.
1 
2 #ifndef PhysicsTools_PatAlgos_GenMETExtractor_h
3 #define PhysicsTools_PatAlgos_GenMETExtractor_h
4 
21 
24 
25 namespace pat {
26 
28  public:
29  explicit GenMETExtractor(const edm::ParameterSet& iConfig);
30  ~GenMETExtractor() override;
31 
32  void produce(edm::StreamID streamID, edm::Event& iEvent, const edm::EventSetup& iSetup) const override;
33 
34  private:
36  };
37 
38 } // namespace pat
39 
40 #endif
edm::StreamID
Definition: StreamID.h:30
pat::GenMETExtractor
Retrieves the genMET from a pat::MET.
Definition: GenMETExtractor.h:27
edm::EDGetTokenT
Definition: EDGetToken.h:33
pat::GenMETExtractor::~GenMETExtractor
~GenMETExtractor() override
Definition: GenMETExtractor.cc:18
edm::global::EDProducer
Definition: EDProducer.h:32
GenMET.h
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
iEvent
int iEvent
Definition: GenABIO.cc:224
pat::GenMETExtractor::metSrcToken_
edm::EDGetTokenT< std::vector< pat::MET > > metSrcToken_
Definition: GenMETExtractor.h:35
pat::GenMETExtractor::produce
void produce(edm::StreamID streamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
Definition: GenMETExtractor.cc:20
edm::EventSetup
Definition: EventSetup.h:58
pat
Definition: HeavyIon.h:7
MET.h
InputTag.h
ConsumesCollector.h
ParameterSet.h
EDProducer.h
edm::Event
Definition: Event.h:73
pat::GenMETExtractor::GenMETExtractor
GenMETExtractor(const edm::ParameterSet &iConfig)
Definition: GenMETExtractor.cc:10