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
RecoHI
HiTracking
interface
BestVertexComparator.h
Go to the documentation of this file.
1
#ifndef RecoHI_HiTracking_BestVertexComparator_h
2
#define RecoHI_HiTracking_BestVertexComparator_h
3
4
template
<
typename
T>
5
struct
GreaterByTracksSize
{
6
typedef
T
first_argument_type
;
7
typedef
T
second_argument_type
;
8
bool
operator()
(
const
T
&
t1
,
const
T
&
t2
)
const
{
return
t1
.tracksSize() >
t2
.tracksSize(); }
9
};
10
11
template
<
typename
T>
12
struct
LessByNormalizedChi2
{
13
typedef
T
first_argument_type
;
14
typedef
T
second_argument_type
;
15
bool
operator()
(
const
T
&
t1
,
const
T
&
t2
)
const
{
return
t1
.normalizeChi2() <
t2
.normalizedChi2(); }
16
};
17
18
#endif
RandomServiceHelper.t2
t2
Definition:
RandomServiceHelper.py:257
LessByNormalizedChi2
Definition:
BestVertexComparator.h:12
GreaterByTracksSize::first_argument_type
T first_argument_type
Definition:
BestVertexComparator.h:6
RandomServiceHelper.t1
t1
Definition:
RandomServiceHelper.py:256
GreaterByTracksSize
Definition:
BestVertexComparator.h:5
LessByNormalizedChi2::first_argument_type
T first_argument_type
Definition:
BestVertexComparator.h:13
LessByNormalizedChi2::second_argument_type
T second_argument_type
Definition:
BestVertexComparator.h:14
T
long double T
Definition:
Basic3DVectorLD.h:48
GreaterByTracksSize::second_argument_type
T second_argument_type
Definition:
BestVertexComparator.h:7
GreaterByTracksSize::operator()
bool operator()(const T &t1, const T &t2) const
Definition:
BestVertexComparator.h:8
LessByNormalizedChi2::operator()
bool operator()(const T &t1, const T &t2) const
Definition:
BestVertexComparator.h:15
Generated for CMSSW Reference Manual by
1.8.16