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
DetLayers
src
DetLessZ.h
Go to the documentation of this file.
1
#ifndef DetLayers_DetLessZ_H
2
#define DetLayers_DetLessZ_H
3
7
#include "
TrackingTools/DetLayers/src/DetLessZ.h
"
8
#include "
TrackingTools/DetLayers/interface/GeometricSearchDet.h
"
9
10
inline
bool
isDetLessZ
(
const
GeometricSearchDet
*
a
,
const
GeometricSearchDet
*
b
) {
11
// multiply by 1+epsilon to make it numericaly stable
12
// the epsilon should depend on the scalar precision,
13
// this is just a quick fix!
14
if
(
a
->position().z() > 0) {
15
return
a
->position().z() * 1.000001 <
b
->position().z();
16
}
else
if
(
b
->position().z() < 0) {
17
return
a
->position().z() <
b
->position().z() * 1.000001;
18
}
else
19
return
true
;
20
}
21
22
#endif
DetLessZ.h
GeometricSearchDet.h
b
double b
Definition:
hdecay.h:118
isDetLessZ
bool isDetLessZ(const GeometricSearchDet *a, const GeometricSearchDet *b)
Definition:
DetLessZ.h:10
a
double a
Definition:
hdecay.h:119
GeometricSearchDet
Definition:
GeometricSearchDet.h:17
Generated for CMSSW Reference Manual by
1.8.16