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
PhysicsTools
JetMCAlgos
plugins
TauGenJetDecayModeSelector.cc
Go to the documentation of this file.
1
#include "
PhysicsTools/JetMCAlgos/plugins/TauGenJetDecayModeSelector.h
"
2
3
#include "
PhysicsTools/JetMCUtils/interface/JetMCTag.h
"
4
5
TauGenJetDecayModeSelectorImp::TauGenJetDecayModeSelectorImp
(
const
edm::ParameterSet
&
cfg
,
edm::ConsumesCollector
& iC) {
6
selectedTauDecayModes_
=
cfg
.getParameter<
vstring
>(
"select"
);
7
}
8
9
bool
TauGenJetDecayModeSelectorImp::operator()
(
const
reco::GenJet
& tauGenJet)
const
{
10
std::string
tauGenJetDecayMode =
JetMCTagUtils::genTauDecayMode
(tauGenJet);
11
for
(vstring::const_iterator selectedTauDecayMode =
selectedTauDecayModes_
.begin();
12
selectedTauDecayMode !=
selectedTauDecayModes_
.end();
13
++selectedTauDecayMode) {
14
if
(tauGenJetDecayMode == (*selectedTauDecayMode))
15
return
true
;
16
}
17
return
false
;
18
}
19
20
#include "
FWCore/Framework/interface/MakerMacros.h
"
21
22
DEFINE_FWK_MODULE
(
TauGenJetDecayModeSelector
);
reco::GenJet
Jets made from MC generator particles.
Definition:
GenJet.h:23
TauGenJetDecayModeSelectorImp::selectedTauDecayModes_
vstring selectedTauDecayModes_
Definition:
TauGenJetDecayModeSelector.h:32
MakerMacros.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
TauGenJetDecayModeSelectorImp::operator()
bool operator()(const reco::GenJet &) const
Definition:
TauGenJetDecayModeSelector.cc:9
TauGenJetDecayModeSelector.h
TauGenJetDecayModeSelector
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
looper.cfg
cfg
Definition:
looper.py:297
TauGenJetDecayModeSelectorImp::TauGenJetDecayModeSelectorImp
TauGenJetDecayModeSelectorImp(const edm::ParameterSet &, edm::ConsumesCollector &iC)
Definition:
TauGenJetDecayModeSelector.cc:5
TauGenJetDecayModeSelectorImp::vstring
std::vector< std::string > vstring
Definition:
TauGenJetDecayModeSelector.h:31
JetMCTag.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
JetMCTagUtils::genTauDecayMode
std::string genTauDecayMode(const reco::CompositePtrCandidate &c)
Definition:
JetMCTag.cc:70
Generated for CMSSW Reference Manual by
1.8.16