Main Page
Namespaces
Classes
Package Documentation
PhysicsTools
PatAlgos
plugins
RecoMETExtractor.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_PatAlgos_RecoMETExtractor_h
2
#define PhysicsTools_PatAlgos_RecoMETExtractor_h
3
16
#include "
FWCore/Framework/interface/global/EDProducer.h
"
17
#include "
FWCore/Framework/interface/Event.h
"
18
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
19
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
20
#include "
FWCore/Utilities/interface/InputTag.h
"
21
22
#include "
DataFormats/PatCandidates/interface/MET.h
"
23
#include "
DataFormats/METReco/interface/MET.h
"
24
25
namespace
pat
{
26
27
class
RecoMETExtractor
:
public
edm::global::EDProducer
<> {
28
29
public
:
30
31
explicit
RecoMETExtractor
(
const
edm::ParameterSet
& iConfig);
32
~RecoMETExtractor
()
override
;
33
34
void
produce
(
edm::StreamID
streamID,
edm::Event
&
iEvent
,
35
const
edm::EventSetup
& iSetup)
const override
;
36
37
private
:
38
39
edm::EDGetTokenT<std::vector<pat::MET>
>
metSrcToken_
;
40
41
pat::MET::METCorrectionLevel
corLevel_
;
42
43
};
44
45
}
46
47
#endif
pat::RecoMETExtractor::corLevel_
pat::MET::METCorrectionLevel corLevel_
Definition:
RecoMETExtractor.h:41
EDProducer.h
MET.h
edm::StreamID
Definition:
StreamID.h:30
Event.h
pat::RecoMETExtractor
Retrieves the recoMET from a pat::MET.
Definition:
RecoMETExtractor.h:27
pat::RecoMETExtractor::~RecoMETExtractor
~RecoMETExtractor() override
Definition:
RecoMETExtractor.cc:39
edm::EDGetTokenT
Definition:
EDGetToken.h:32
pat
Definition:
HeavyIon.h:7
ParameterSet.h
iEvent
int iEvent
Definition:
GenABIO.cc:230
MET.h
pat::RecoMETExtractor::metSrcToken_
edm::EDGetTokenT< std::vector< pat::MET > > metSrcToken_
Definition:
RecoMETExtractor.h:39
edm::EventSetup
Definition:
EventSetup.h:51
edm::global::EDProducer
Definition:
EDProducer.h:32
pat::RecoMETExtractor::produce
void produce(edm::StreamID streamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
Definition:
RecoMETExtractor.cc:44
pat::MET::METCorrectionLevel
METCorrectionLevel
Definition:
MET.h:158
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
pat::RecoMETExtractor::RecoMETExtractor
RecoMETExtractor(const edm::ParameterSet &iConfig)
Definition:
RecoMETExtractor.cc:10
edm::Event
Definition:
Event.h:70
ConsumesCollector.h
Generated for CMSSW Reference Manual by
1.8.11