Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
PhysicsTools
PatAlgos
plugins
GenMETExtractor.h
Go to the documentation of this file.
1
2
#ifndef PhysicsTools_PatAlgos_GenMETExtractor_h
3
#define PhysicsTools_PatAlgos_GenMETExtractor_h
4
17
#include "
FWCore/Framework/interface/global/EDProducer.h
"
18
#include "
FWCore/Framework/interface/Event.h
"
19
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
20
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
21
#include "
FWCore/Utilities/interface/InputTag.h
"
22
23
#include "
DataFormats/PatCandidates/interface/MET.h
"
24
#include "
DataFormats/METReco/interface/GenMET.h
"
25
26
namespace
pat {
27
28
class
GenMETExtractor
:
public
edm::global::EDProducer
<> {
29
30
public
:
31
32
explicit
GenMETExtractor
(
const
edm::ParameterSet
& iConfig);
33
~GenMETExtractor
();
34
35
virtual
void
produce
(
edm::StreamID
streamID,
edm::Event
&
iEvent
,
36
const
edm::EventSetup
& iSetup)
const
;
37
38
private
:
39
40
edm::EDGetTokenT<std::vector<pat::MET>
>
metSrcToken_
;
41
42
};
43
44
}
45
46
#endif
EDProducer.h
edm::StreamID
Definition:
StreamID.h:30
Event.h
GenMET.h
pat::GenMETExtractor
Retrieves the genMET from a pat::MET.
Definition:
GenMETExtractor.h:28
edm::EDGetTokenT
Definition:
EDGetToken.h:32
ParameterSet.h
iEvent
int iEvent
Definition:
GenABIO.cc:230
pat::GenMETExtractor::GenMETExtractor
GenMETExtractor(const edm::ParameterSet &iConfig)
Definition:
GenMETExtractor.cc:10
MET.h
pat::GenMETExtractor::~GenMETExtractor
~GenMETExtractor()
Definition:
GenMETExtractor.cc:20
edm::EventSetup
Definition:
EventSetup.h:45
edm::global::EDProducer
Definition:
EDProducer.h:32
pat::GenMETExtractor::produce
virtual void produce(edm::StreamID streamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const
Definition:
GenMETExtractor.cc:25
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:64
ConsumesCollector.h
pat::GenMETExtractor::metSrcToken_
edm::EDGetTokenT< std::vector< pat::MET > > metSrcToken_
Definition:
GenMETExtractor.h:40
Generated for CMSSW Reference Manual by
1.8.5