Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
TopQuarkAnalysis
TopJetCombination
plugins
TtSemiLepJetCombMVAComputer.h
Go to the documentation of this file.
1
#ifndef TtSemiLepJetCombMVAComputer_h
2
#define TtSemiLepJetCombMVAComputer_h
3
4
#include "
FWCore/Framework/interface/Event.h
"
5
#include "
FWCore/Framework/interface/EDProducer.h
"
6
7
#include "
PhysicsTools/MVAComputer/interface/HelperMacros.h
"
8
#include "
PhysicsTools/MVAComputer/interface/MVAComputerCache.h
"
9
10
#include "
AnalysisDataFormats/TopObjects/interface/TtSemiLepEvtPartons.h
"
11
#include "
DataFormats/PatCandidates/interface/Jet.h
"
12
#include "
DataFormats/RecoCandidate/interface/RecoCandidate.h
"
13
14
#include "
TopQuarkAnalysis/TopJetCombination/interface/TtSemiLepJetCombEval.h
"
15
16
#ifndef TtSemiLepJetCombMVARcd_defined // to avoid conflicts with the TtSemiLepJetCombMVATrainer
17
#define TtSemiLepJetCombMVARcd_defined
18
MVA_COMPUTER_CONTAINER_DEFINE
(TtSemiLepJetCombMVA);
// defines TtSemiLepJetCombMVARcd
19
#endif
20
21
class
TtSemiLepJetCombMVAComputer
:
public
edm::EDProducer
{
22
public
:
23
explicit
TtSemiLepJetCombMVAComputer
(
const
edm::ParameterSet
&);
24
~TtSemiLepJetCombMVAComputer
()
override
;
25
26
private
:
27
void
beginJob
()
override
;
28
void
produce
(
edm::Event
& evt,
const
edm::EventSetup
&
setup
)
override
;
29
void
endJob
()
override
;
30
31
edm::EDGetTokenT<edm::View<reco::RecoCandidate>
>
lepsToken_
;
32
edm::EDGetTokenT<std::vector<pat::Jet>
>
jetsToken_
;
33
edm::EDGetTokenT<std::vector<pat::MET>
>
metsToken_
;
34
35
int
maxNJets_
;
36
int
maxNComb_
;
37
38
PhysicsTools::MVAComputerCache
mvaComputer
;
39
};
40
41
#endif
TtSemiLepJetCombMVAComputer::lepsToken_
edm::EDGetTokenT< edm::View< reco::RecoCandidate > > lepsToken_
Definition:
TtSemiLepJetCombMVAComputer.h:31
EDProducer.h
TtSemiLepJetCombMVAComputer::jetsToken_
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
Definition:
TtSemiLepJetCombMVAComputer.h:32
edm::EDGetTokenT
Definition:
EDGetToken.h:33
TtSemiLepJetCombMVAComputer::endJob
void endJob() override
Definition:
TtSemiLepJetCombMVAComputer.cc:125
TtSemiLepEvtPartons.h
RecoCandidate.h
singleTopDQM_cfi.setup
setup
Definition:
singleTopDQM_cfi.py:37
TtSemiLepJetCombMVAComputer::mvaComputer
PhysicsTools::MVAComputerCache mvaComputer
Definition:
TtSemiLepJetCombMVAComputer.h:38
PhysicsTools::MVAComputerCache
Creates and and MVAComputer from calibrations via EventSetup.
Definition:
MVAComputerCache.h:28
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
TtSemiLepJetCombMVAComputer::metsToken_
edm::EDGetTokenT< std::vector< pat::MET > > metsToken_
Definition:
TtSemiLepJetCombMVAComputer.h:33
HelperMacros.h
TtSemiLepJetCombMVAComputer
Definition:
TtSemiLepJetCombMVAComputer.h:21
edm::EventSetup
Definition:
EventSetup.h:58
Jet.h
MVAComputerCache.h
TtSemiLepJetCombMVAComputer::produce
void produce(edm::Event &evt, const edm::EventSetup &setup) override
Definition:
TtSemiLepJetCombMVAComputer.cc:19
MVA_COMPUTER_CONTAINER_DEFINE
#define MVA_COMPUTER_CONTAINER_DEFINE(N)
Definition:
HelperMacros.h:51
TtSemiLepJetCombMVAComputer::~TtSemiLepJetCombMVAComputer
~TtSemiLepJetCombMVAComputer() override
Definition:
TtSemiLepJetCombMVAComputer.cc:17
edm::EDProducer
Definition:
EDProducer.h:35
TtSemiLepJetCombMVAComputer::beginJob
void beginJob() override
Definition:
TtSemiLepJetCombMVAComputer.cc:123
TtSemiLepJetCombMVAComputer::maxNComb_
int maxNComb_
Definition:
TtSemiLepJetCombMVAComputer.h:36
TtSemiLepJetCombMVAComputer::maxNJets_
int maxNJets_
Definition:
TtSemiLepJetCombMVAComputer.h:35
edm::Event
Definition:
Event.h:73
TtSemiLepJetCombEval.h
TtSemiLepJetCombMVAComputer::TtSemiLepJetCombMVAComputer
TtSemiLepJetCombMVAComputer(const edm::ParameterSet &)
Definition:
TtSemiLepJetCombMVAComputer.cc:5
Generated for CMSSW Reference Manual by
1.8.16