test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
();
33
34
virtual
void
produce
(
edm::StreamID
streamID,
edm::Event
&
iEvent
,
35
const
edm::EventSetup
& iSetup)
const
;
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
pat::RecoMETExtractor::~RecoMETExtractor
~RecoMETExtractor()
Definition:
RecoMETExtractor.cc:39
MET.h
edm::StreamID
Definition:
StreamID.h:30
Event.h
pat::RecoMETExtractor
Retrieves the recoMET from a pat::MET.
Definition:
RecoMETExtractor.h:27
edm::EDGetTokenT
Definition:
EDGetToken.h:32
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
pat::RecoMETExtractor::produce
virtual void produce(edm::StreamID streamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const
Definition:
RecoMETExtractor.cc:44
edm::EventSetup
Definition:
EventSetup.h:45
edm::global::EDProducer
Definition:
EDProducer.h:32
pat::MET::METCorrectionLevel
METCorrectionLevel
Definition:
MET.h:159
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:65
ConsumesCollector.h
Generated for CMSSW Reference Manual by
1.8.5