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
CommonTools
Clustering1D
interface
TrivialWeightEstimator.h
Go to the documentation of this file.
1
#ifndef _TrivialWeightEstimator_H_
2
#define _TrivialWeightEstimator_H_
3
4
#include "
CommonTools/Clustering1D/interface/WeightEstimator.h
"
5
6
#include <vector>
7
12
template
<
class
T>
13
class
TrivialWeightEstimator
:
public
WeightEstimator
<T> {
14
public
:
15
double
weight
(
const
std::vector<const T*>&)
const override
{
return
1.0; }
16
17
TrivialWeightEstimator
*
clone
()
const override
{
return
new
TrivialWeightEstimator<T>
(*
this
); };
18
};
19
20
#endif
WeightEstimator.h
TrivialWeightEstimator
Definition:
TrivialWeightEstimator.h:13
TrivialWeightEstimator::weight
double weight(const std::vector< const T * > &) const override
Definition:
TrivialWeightEstimator.h:15
WeightEstimator
Definition:
WeightEstimator.h:12
TrivialWeightEstimator::clone
TrivialWeightEstimator * clone() const override
Definition:
TrivialWeightEstimator.h:17
Generated for CMSSW Reference Manual by
1.8.16