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
RecoTracker
TkMSParametrization
interface
rangeIntersection.h
Go to the documentation of this file.
1
#ifndef rangeIntersection_H
2
#define rangeIntersection_H
3
4
#include "
TrackingTools/DetLayers/interface/rangesIntersect.h
"
5
#include <algorithm>
6
15
template
<
class
Range>
16
inline
Range
rangeIntersection
(
const
Range
&
a
,
const
Range
&
b
) {
17
return
Range
(
std::max
(
a
.first,
b
.first),
std::min
(
a
.second,
b
.second));
18
}
19
20
template
<
class
Range,
class
Less>
21
inline
Range
rangeIntersection
(
const
Range
&
a
,
const
Range
&
b
,
const
Less& less) {
22
return
Range
(
std::max
(
a
.first,
b
.first, less),
std::min
(
a
.second,
b
.second, less));
23
}
24
25
#endif
Range
PixelRecoRange< float > Range
Definition:
PixelTripletHLTGenerator.cc:31
min
T min(T a, T b)
Definition:
MathUtil.h:58
b
double b
Definition:
hdecay.h:118
a
double a
Definition:
hdecay.h:119
SiStripPI::max
Definition:
SiStripPayloadInspectorHelper.h:169
rangeIntersection
Range rangeIntersection(const Range &a, const Range &b)
Definition:
rangeIntersection.h:16
rangesIntersect.h
Generated for CMSSW Reference Manual by
1.8.16