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
DataFormats
Candidate
src
CompositeRefBaseCandidate.cc
Go to the documentation of this file.
1
#include "
DataFormats/Candidate/interface/CompositeRefBaseCandidate.h
"
2
#include "
FWCore/Utilities/interface/Exception.h
"
3
4
using namespace
reco
;
5
6
CompositeRefBaseCandidate::~CompositeRefBaseCandidate
() {}
7
8
CompositeRefBaseCandidate
*
CompositeRefBaseCandidate::clone
()
const
{
return
new
CompositeRefBaseCandidate
(*
this
); }
9
10
const
Candidate
*
CompositeRefBaseCandidate::daughter
(
size_type
i
)
const
{
11
return
(
i
<
numberOfDaughters
()) ? &*
dau
[
i
] :
nullptr
;
// i >= 0, since i is unsigned
12
}
13
14
const
Candidate
*
CompositeRefBaseCandidate::mother
(
size_type
i
)
const
{
return
nullptr
; }
15
16
Candidate
*
CompositeRefBaseCandidate::daughter
(
size_type
i
) {
return
nullptr
; }
17
18
size_t
CompositeRefBaseCandidate::numberOfDaughters
()
const
{
return
dau
.size(); }
19
20
size_t
CompositeRefBaseCandidate::numberOfMothers
()
const
{
return
0; }
21
22
bool
CompositeRefBaseCandidate::overlap
(
const
Candidate
& c2)
const
{
23
throw
cms::Exception
(
"Error"
) <<
"can't check overlap internally for CompositeRefBaseCanddate"
;
24
}
reco::CompositeRefBaseCandidate::~CompositeRefBaseCandidate
~CompositeRefBaseCandidate() override
destructor
Definition:
CompositeRefBaseCandidate.cc:6
reco::CompositeRefBaseCandidate::overlap
bool overlap(const Candidate &) const override
check overlap with another candidate
Definition:
CompositeRefBaseCandidate.cc:22
mps_fire.i
i
Definition:
mps_fire.py:428
reco::CompositeRefBaseCandidate::CompositeRefBaseCandidate
CompositeRefBaseCandidate()
default constructor
Definition:
CompositeRefBaseCandidate.h:22
reco::CompositeRefBaseCandidate
Definition:
CompositeRefBaseCandidate.h:17
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
reco::CompositeRefBaseCandidate::numberOfDaughters
size_t numberOfDaughters() const override
number of daughters
Definition:
CompositeRefBaseCandidate.cc:18
reco::CompositeRefBaseCandidate::clone
CompositeRefBaseCandidate * clone() const override
returns a clone of the candidate
Definition:
CompositeRefBaseCandidate.cc:8
reco::CompositeRefBaseCandidate::dau
daughters dau
collection of references to daughters
Definition:
CompositeRefBaseCandidate.h:65
reco::Candidate
Definition:
Candidate.h:27
reco::CompositeRefBaseCandidate::numberOfMothers
size_t numberOfMothers() const override
number of mothers
Definition:
CompositeRefBaseCandidate.cc:20
Exception
Definition:
hltDiff.cc:245
Exception.h
reco::CompositeRefBaseCandidate::mother
const Candidate * mother(size_type) const override
return mother at a given position, i = 0, ... numberOfMothers() - 1 (read only mode)
Definition:
CompositeRefBaseCandidate.cc:14
reco::CompositeRefBaseCandidate::daughter
const Candidate * daughter(size_type) const override
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode)
Definition:
CompositeRefBaseCandidate.cc:10
CompositeRefBaseCandidate.h
reco::Candidate::size_type
size_t size_type
Definition:
Candidate.h:29
Generated for CMSSW Reference Manual by
1.8.16