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
n
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
c
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
src
HeavyFlavorAnalysis
SpecificDecay
interface
BPHMuonChargeSelect.h
Go to the documentation of this file.
1
#ifndef HeavyFlavorAnalysis_SpecificDecay_BPHMuonChargeSelect_h
2
#define HeavyFlavorAnalysis_SpecificDecay_BPHMuonChargeSelect_h
3
12
//----------------------
13
// Base Class Headers --
14
//----------------------
15
#include "
HeavyFlavorAnalysis/SpecificDecay/interface/BPHParticleChargeSelect.h
"
16
17
//------------------------------------
18
// Collaborating Class Declarations --
19
//------------------------------------
20
#include "
DataFormats/PatCandidates/interface/Muon.h
"
21
22
//---------------
23
// C++ Headers --
24
//---------------
25
26
// ---------------------
27
// -- Class Interface --
28
// ---------------------
29
30
class
BPHMuonChargeSelect
:
public
BPHParticleChargeSelect
{
31
public
:
34
BPHMuonChargeSelect
(
int
c
) :
BPHParticleChargeSelect
(
c
) {}
35
36
// deleted copy constructor and assignment operator
37
BPHMuonChargeSelect
(
const
BPHMuonChargeSelect
&
x
) =
delete
;
38
BPHMuonChargeSelect
&
operator=
(
const
BPHMuonChargeSelect
&
x
) =
delete
;
39
42
~BPHMuonChargeSelect
()
override
=
default
;
43
46
bool
accept
(
const
reco::Candidate
&
cand
)
const override
{
48
if
(dynamic_cast<const pat::Muon*>(&
cand
) ==
nullptr
)
49
return
false
;
50
return
BPHParticleChargeSelect::accept
(
cand
);
51
};
52
};
53
54
#endif
BPHMuonChargeSelect::~BPHMuonChargeSelect
~BPHMuonChargeSelect() override=default
BPHParticleChargeSelect
Definition:
BPHParticleChargeSelect.h:30
reco::Candidate
Definition:
Candidate.h:27
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:35
BPHMuonChargeSelect::BPHMuonChargeSelect
BPHMuonChargeSelect(int c)
Definition:
BPHMuonChargeSelect.h:34
BPHParticleChargeSelect::accept
bool accept(const reco::Candidate &cand) const override
select particle
Definition:
BPHParticleChargeSelect.h:47
BPHMuonChargeSelect::accept
bool accept(const reco::Candidate &cand) const override
select muon
Definition:
BPHMuonChargeSelect.h:47
Muon.h
cand
Definition:
decayParser.h:32
BPHParticleChargeSelect.h
DDAxes::x
BPHMuonChargeSelect::operator=
BPHMuonChargeSelect & operator=(const BPHMuonChargeSelect &x)=delete
BPHMuonChargeSelect
Definition:
BPHMuonChargeSelect.h:30
Generated for CMSSW Reference Manual by
1.8.14