RecoMET
METProducers
interface
GenMETProducer.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: METProducers
4
// Class: GenMETProducer
5
//
13
//
14
//
15
//
16
17
//____________________________________________________________________________||
18
#ifndef GenMETProducer_h
19
#define GenMETProducer_h
20
21
//____________________________________________________________________________||
22
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
23
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
24
25
#include "
FWCore/Framework/interface/Event.h
"
26
#include "
FWCore/Framework/interface/MakerMacros.h
"
27
28
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
29
30
#include "
DataFormats/Common/interface/View.h
"
31
#include "
DataFormats/Candidate/interface/Candidate.h
"
32
33
//____________________________________________________________________________||
34
namespace
cms
{
35
class
GenMETProducer
:
public
edm::stream::EDProducer
<> {
36
public
:
37
explicit
GenMETProducer
(
const
edm::ParameterSet
&);
38
~GenMETProducer
()
override
{}
39
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
40
41
private
:
42
edm::EDGetTokenT<edm::View<reco::Candidate>
>
inputToken_
;
43
44
double
globalThreshold_
;
45
46
bool
onlyFiducial_
;
47
48
bool
applyFiducialThresholdForFractions_
;
49
50
bool
usePt_
;
51
};
52
}
// namespace cms
53
54
//____________________________________________________________________________||
55
#endif // GenMETProducer_h
cms::GenMETProducer::applyFiducialThresholdForFractions_
bool applyFiducialThresholdForFractions_
Definition:
GenMETProducer.h:48
edm::EDGetTokenT
Definition:
EDGetToken.h:33
cms::GenMETProducer::inputToken_
edm::EDGetTokenT< edm::View< reco::Candidate > > inputToken_
Definition:
GenMETProducer.h:42
cms::GenMETProducer::usePt_
bool usePt_
Definition:
GenMETProducer.h:50
EDProducer.h
MakerMacros.h
cms::GenMETProducer::GenMETProducer
GenMETProducer(const edm::ParameterSet &)
Definition:
GenMETProducer.cc:29
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
cms::GenMETProducer::onlyFiducial_
bool onlyFiducial_
Definition:
GenMETProducer.h:46
cms::GenMETProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
GenMETProducer.cc:40
edm::stream::EDProducer
Definition:
EDProducer.h:36
edm::EventSetup
Definition:
EventSetup.h:58
cms::GenMETProducer
Definition:
GenMETProducer.h:35
Frameworkfwd.h
cms::GenMETProducer::~GenMETProducer
~GenMETProducer() override
Definition:
GenMETProducer.h:38
Candidate.h
View.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
cms
Namespace of DDCMS conversion namespace.
Definition:
ProducerAnalyzer.cc:21
cms::GenMETProducer::globalThreshold_
double globalThreshold_
Definition:
GenMETProducer.h:44
Generated for CMSSW Reference Manual by
1.8.16