test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
{
36
class
GenMETProducer
:
public
edm::stream::EDProducer
<>
37
{
38
public
:
39
explicit
GenMETProducer
(
const
edm::ParameterSet
&);
40
virtual
~GenMETProducer
() { }
41
virtual
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
42
43
private
:
44
45
edm::EDGetTokenT<edm::View<reco::Candidate>
>
inputToken_
;
46
47
double
globalThreshold_
;
48
49
bool
onlyFiducial_
;
50
51
bool
applyFiducialThresholdForFractions_
;
52
53
bool
usePt_
;
54
55
};
56
}
57
58
//____________________________________________________________________________||
59
#endif // GenMETProducer_h
cms::GenMETProducer::inputToken_
edm::EDGetTokenT< edm::View< reco::Candidate > > inputToken_
Definition:
GenMETProducer.h:45
cms::GenMETProducer::GenMETProducer
GenMETProducer(const edm::ParameterSet &)
Definition:
GenMETProducer.cc:30
Event.h
MakerMacros.h
edm::EDGetTokenT
Definition:
EDGetToken.h:32
Frameworkfwd.h
ParameterSet.h
cms::GenMETProducer::applyFiducialThresholdForFractions_
bool applyFiducialThresholdForFractions_
Definition:
GenMETProducer.h:51
Candidate.h
EDProducer.h
cms::GenMETProducer::globalThreshold_
double globalThreshold_
Definition:
GenMETProducer.h:47
cms::GenMETProducer::onlyFiducial_
bool onlyFiducial_
Definition:
GenMETProducer.h:49
View.h
edm::EventSetup
Definition:
EventSetup.h:45
cms::GenMETProducer::~GenMETProducer
virtual ~GenMETProducer()
Definition:
GenMETProducer.h:40
cms::GenMETProducer
Definition:
GenMETProducer.h:36
edm::stream::EDProducer
Definition:
EDProducer.h:33
cms::GenMETProducer::produce
virtual void produce(edm::Event &, const edm::EventSetup &) override
Definition:
GenMETProducer.cc:43
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:66
cms::GenMETProducer::usePt_
bool usePt_
Definition:
GenMETProducer.h:53
Generated for CMSSW Reference Manual by
1.8.5