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
TopEventSelection
plugins
TtSemiLepSignalSelMVAComputer.h
Go to the documentation of this file.
1
#ifndef TtSemiLepSignalSelMVAComputer_h
2
#define TtSemiLepSignalSelMVAComputer_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 "
DataFormats/Math/interface/LorentzVector.h
"
11
#include "
DataFormats/PatCandidates/interface/Jet.h
"
12
#include "
DataFormats/PatCandidates/interface/MET.h
"
13
#include "
DataFormats/PatCandidates/interface/Muon.h
"
14
#include "
DataFormats/PatCandidates/interface/Electron.h
"
15
16
#ifndef TtSemiLepSignalSelMVARcd_defined // to avoid conflicts with the TopSemiLepLepSignalSelMVATrainer
17
#define TtSemiLepSignalSelMVARcd_defined
18
MVA_COMPUTER_CONTAINER_DEFINE
(TtSemiLepSignalSelMVA);
// defines TopSemiLepLepSignalSelMVARcd
19
#endif
20
21
class
TtSemiLepSignalSelMVAComputer
:
public
edm::EDProducer
{
22
public
:
23
explicit
TtSemiLepSignalSelMVAComputer
(
const
edm::ParameterSet
&);
24
~TtSemiLepSignalSelMVAComputer
()
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
double
DeltaPhi
(
const
math::XYZTLorentzVector
& v1,
const
math::XYZTLorentzVector
& v2);
32
double
DeltaR
(
const
math::XYZTLorentzVector
& v1,
const
math::XYZTLorentzVector
& v2);
33
34
edm::EDGetTokenT<edm::View<pat::Muon>
>
muonsToken_
;
35
edm::EDGetTokenT<std::vector<pat::Jet>
>
jetsToken_
;
36
edm::EDGetTokenT<edm::View<pat::MET>
>
METsToken_
;
37
edm::EDGetTokenT<edm::View<pat::Electron>
>
electronsToken_
;
38
39
PhysicsTools::MVAComputerCache
mvaComputer
;
40
41
double
DiscSel
;
42
};
43
44
#endif
EDProducer.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
Muon.h
TtSemiLepSignalSelMVAComputer::DiscSel
double DiscSel
Definition:
TtSemiLepSignalSelMVAComputer.h:41
TtSemiLepSignalSelMVAComputer
Definition:
TtSemiLepSignalSelMVAComputer.h:21
TtSemiLepSignalSelMVAComputer::endJob
void endJob() override
Definition:
TtSemiLepSignalSelMVAComputer.cc:125
TtSemiLepSignalSelMVAComputer::electronsToken_
edm::EDGetTokenT< edm::View< pat::Electron > > electronsToken_
Definition:
TtSemiLepSignalSelMVAComputer.h:37
TtSemiLepSignalSelMVAComputer::muonsToken_
edm::EDGetTokenT< edm::View< pat::Muon > > muonsToken_
Definition:
TtSemiLepSignalSelMVAComputer.h:34
singleTopDQM_cfi.setup
setup
Definition:
singleTopDQM_cfi.py:37
PhysicsTools::MVAComputerCache
Creates and and MVAComputer from calibrations via EventSetup.
Definition:
MVAComputerCache.h:28
TtSemiLepSignalSelMVAComputer::mvaComputer
PhysicsTools::MVAComputerCache mvaComputer
Definition:
TtSemiLepSignalSelMVAComputer.h:39
TtSemiLepSignalSelMVAComputer::DeltaR
double DeltaR(const math::XYZTLorentzVector &v1, const math::XYZTLorentzVector &v2)
Definition:
TtSemiLepSignalSelMVAComputer.cc:134
TtSemiLepSignalSelMVAComputer::~TtSemiLepSignalSelMVAComputer
~TtSemiLepSignalSelMVAComputer() override
Definition:
TtSemiLepSignalSelMVAComputer.cc:21
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
TtSemiLepSignalSelMVAComputer::METsToken_
edm::EDGetTokenT< edm::View< pat::MET > > METsToken_
Definition:
TtSemiLepSignalSelMVAComputer.h:36
HelperMacros.h
LorentzVector.h
TtSemiLepSignalSelMVAComputer::TtSemiLepSignalSelMVAComputer
TtSemiLepSignalSelMVAComputer(const edm::ParameterSet &)
Definition:
TtSemiLepSignalSelMVAComputer.cc:13
TtSemiLepSignalSelMVAComputer::beginJob
void beginJob() override
Definition:
TtSemiLepSignalSelMVAComputer.cc:123
edm::EventSetup
Definition:
EventSetup.h:57
MET.h
Jet.h
MVAComputerCache.h
MVA_COMPUTER_CONTAINER_DEFINE
#define MVA_COMPUTER_CONTAINER_DEFINE(N)
Definition:
HelperMacros.h:51
math::XYZTLorentzVector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition:
LorentzVector.h:29
edm::EDProducer
Definition:
EDProducer.h:35
Electron.h
TtSemiLepSignalSelMVAComputer::jetsToken_
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
Definition:
TtSemiLepSignalSelMVAComputer.h:35
edm::Event
Definition:
Event.h:73
TtSemiLepSignalSelMVAComputer::produce
void produce(edm::Event &evt, const edm::EventSetup &setup) override
Definition:
TtSemiLepSignalSelMVAComputer.cc:23
TtSemiLepSignalSelMVAComputer::DeltaPhi
double DeltaPhi(const math::XYZTLorentzVector &v1, const math::XYZTLorentzVector &v2)
Definition:
TtSemiLepSignalSelMVAComputer.cc:127
Generated for CMSSW Reference Manual by
1.8.16