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
TrackingTools
GsfTools
interface
GaussianStateLessWeight.h
Go to the documentation of this file.
1
#ifndef GaussianStateLessWeight_h_
2
#define GaussianStateLessWeight_h_
3
4
#include "
TrackingTools/GsfTools/interface/SingleGaussianState.h
"
5
#include <memory>
6
11
template
<
unsigned
int
N>
12
class
GaussianStateLessWeight
{
13
private
:
14
typedef
std::shared_ptr<SingleGaussianState<N> >
SingleStatePtr
;
15
16
public
:
17
GaussianStateLessWeight
() {}
18
bool
operator()
(
const
SingleStatePtr
&
a
,
const
SingleStatePtr
&
b
)
const
{
19
// ThS: No validity for SingleGaussianState
20
// if ( !a.isValid() || !b.isValid() ) return false;
21
return
a
->weight() >
b
->weight();
22
}
23
};
24
25
#endif
GaussianStateLessWeight::operator()
bool operator()(const SingleStatePtr &a, const SingleStatePtr &b) const
Definition:
GaussianStateLessWeight.h:18
GaussianStateLessWeight::GaussianStateLessWeight
GaussianStateLessWeight()
Definition:
GaussianStateLessWeight.h:17
GaussianStateLessWeight::SingleStatePtr
std::shared_ptr< SingleGaussianState< N > > SingleStatePtr
Definition:
GaussianStateLessWeight.h:14
GaussianStateLessWeight
Definition:
GaussianStateLessWeight.h:12
b
double b
Definition:
hdecay.h:118
a
double a
Definition:
hdecay.h:119
SingleGaussianState.h
Generated for CMSSW Reference Manual by
1.8.16