RecoMET
METProducers
interface
METSignificanceProducer.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: METProducers
4
// Class: METSignificanceProducer
5
//
13
//
14
//
15
//
16
17
//____________________________________________________________________________||
18
#ifndef METSignificanceProducer_h
19
#define METSignificanceProducer_h
20
21
//____________________________________________________________________________||
22
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
23
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
24
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
25
#include "
FWCore/Framework/interface/Event.h
"
26
#include "
FWCore/Framework/interface/MakerMacros.h
"
27
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
28
#include "
DataFormats/Common/interface/ValueMap.h
"
29
30
#include "
DataFormats/Candidate/interface/Candidate.h
"
31
#include "
DataFormats/Common/interface/View.h
"
32
#include "
DataFormats/Common/interface/Handle.h
"
33
#include "
DataFormats/JetReco/interface/PFJet.h
"
34
#include "
DataFormats/METReco/interface/MET.h
"
35
#include "
DataFormats/METReco/interface/METFwd.h
"
36
#include "
DataFormats/METReco/interface/PFMET.h
"
37
#include "
DataFormats/METReco/interface/PFMETFwd.h
"
38
#include "
DataFormats/METReco/interface/CommonMETData.h
"
39
40
#include "
RecoMET/METAlgorithms/interface/METSignificance.h
"
41
42
#include <string>
43
44
//____________________________________________________________________________||
45
namespace
cms
{
46
class
METSignificanceProducer
:
public
edm::stream::EDProducer
<> {
47
public
:
48
explicit
METSignificanceProducer
(
const
edm::ParameterSet
&);
49
~METSignificanceProducer
()
override
;
50
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
51
52
private
:
53
// ----------member data ---------------------------
54
55
edm::EDGetTokenT<edm::View<reco::Jet>
>
pfjetsToken_
;
56
edm::EDGetTokenT<edm::View<reco::MET>
>
metToken_
;
57
edm::EDGetTokenT<edm::View<reco::Candidate>
>
pfCandidatesToken_
;
58
std::vector<edm::EDGetTokenT<edm::View<reco::Candidate>>>
lepTokens_
;
59
edm::EDGetTokenT<double>
rhoToken_
;
60
std::string
jetSFType_
;
61
std::string
jetResPtType_
;
62
std::string
jetResPhiType_
;
63
edm::EDGetTokenT<edm::ValueMap<float>
>
weightsToken_
;
64
65
metsig::METSignificance
*
metSigAlgo_
;
66
};
67
}
// namespace cms
68
69
//____________________________________________________________________________||
70
#endif // METSignificanceProducer_h
Handle.h
cms::METSignificanceProducer::~METSignificanceProducer
~METSignificanceProducer() override
Definition:
METSignificanceProducer.cc:41
cms::METSignificanceProducer::METSignificanceProducer
METSignificanceProducer(const edm::ParameterSet &)
Definition:
METSignificanceProducer.cc:15
cms::METSignificanceProducer::jetResPhiType_
std::string jetResPhiType_
Definition:
METSignificanceProducer.h:62
edm::EDGetTokenT
Definition:
EDGetToken.h:33
PFJet.h
cms::METSignificanceProducer::lepTokens_
std::vector< edm::EDGetTokenT< edm::View< reco::Candidate > > > lepTokens_
Definition:
METSignificanceProducer.h:58
EDProducer.h
cms::METSignificanceProducer::metToken_
edm::EDGetTokenT< edm::View< reco::MET > > metToken_
Definition:
METSignificanceProducer.h:56
MakerMacros.h
cms::METSignificanceProducer::pfCandidatesToken_
edm::EDGetTokenT< edm::View< reco::Candidate > > pfCandidatesToken_
Definition:
METSignificanceProducer.h:57
cms::METSignificanceProducer::jetResPtType_
std::string jetResPtType_
Definition:
METSignificanceProducer.h:61
cms::METSignificanceProducer
Definition:
METSignificanceProducer.h:46
cms::METSignificanceProducer::jetSFType_
std::string jetSFType_
Definition:
METSignificanceProducer.h:60
cms::METSignificanceProducer::rhoToken_
edm::EDGetTokenT< double > rhoToken_
Definition:
METSignificanceProducer.h:59
metsig::METSignificance
Definition:
METSignificance.h:33
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
cms::METSignificanceProducer::pfjetsToken_
edm::EDGetTokenT< edm::View< reco::Jet > > pfjetsToken_
Definition:
METSignificanceProducer.h:55
edm::ParameterSet
Definition:
ParameterSet.h:47
METSignificance.h
Event.h
PFMET.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
CommonMETData.h
edm::EventSetup
Definition:
EventSetup.h:58
cms::METSignificanceProducer::metSigAlgo_
metsig::METSignificance * metSigAlgo_
Definition:
METSignificanceProducer.h:65
cms::METSignificanceProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
METSignificanceProducer.cc:44
ValueMap.h
PFMETFwd.h
MET.h
cms::METSignificanceProducer::weightsToken_
edm::EDGetTokenT< edm::ValueMap< float > > weightsToken_
Definition:
METSignificanceProducer.h:63
Frameworkfwd.h
METFwd.h
ConsumesCollector.h
Candidate.h
View.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
cms
Namespace of DDCMS conversion namespace.
Definition:
ProducerAnalyzer.cc:21
Generated for CMSSW Reference Manual by
1.8.16