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
MagneticField
VolumeGeometry
src
MagVolume6Faces.cc
Go to the documentation of this file.
1
#include "
MagneticField/VolumeGeometry/interface/MagVolume6Faces.h
"
2
3
MagVolume6Faces::MagVolume6Faces
(
const
PositionType
&
pos
,
4
const
RotationType
&
rot
,
5
const
std::vector<VolumeSide>& faces,
6
const
MagneticFieldProvider<float>
* mfp,
7
double
sf)
8
:
MagVolume
(
pos
,
rot
, mfp, sf), volumeNo(0), copyno(0), theFaces(faces) {}
9
10
bool
MagVolume6Faces::inside
(
const
GlobalPoint
&
gp
,
double
tolerance
)
const
{
11
// check if the point is on the correct side of all delimiting surfaces
12
for
(std::vector<VolumeSide>::const_iterator
i
=
theFaces
.begin();
i
!=
theFaces
.end(); ++
i
) {
13
Surface::Side
side =
i
->surface().side(
gp
,
tolerance
);
14
if
(side !=
i
->surfaceSide() && side !=
SurfaceOrientation::onSurface
)
15
return
false
;
16
}
17
return
true
;
18
}
mps_fire.i
i
Definition:
mps_fire.py:428
SurfaceOrientation::onSurface
Definition:
Surface.h:18
align::RotationType
TkRotation< Scalar > RotationType
Definition:
Definitions.h:27
MagVolume6Faces::theFaces
std::vector< VolumeSide > theFaces
Definition:
MagVolume6Faces.h:43
pos
Definition:
PixelAliasList.h:18
align::PositionType
Point3DBase< Scalar, GlobalTag > PositionType
Definition:
Definitions.h:28
MagneticFieldProvider< float >
MagVolume::GlobalPoint
GloballyPositioned< float >::GlobalPoint GlobalPoint
Definition:
MagVolume.h:18
MagVolume6Faces::MagVolume6Faces
MagVolume6Faces(const PositionType &pos, const RotationType &rot, const std::vector< VolumeSide > &faces, const MagneticFieldProvider< float > *mfp, double sf=1.)
Definition:
MagVolume6Faces.cc:3
runTauDisplay.gp
gp
Definition:
runTauDisplay.py:431
MagVolume
Definition:
MagVolume.h:13
tolerance
const double tolerance
Definition:
HGCalGeomParameters.cc:26
MagVolume6Faces.h
SurfaceOrientation::Side
Side
Definition:
Surface.h:18
makeMuonMisalignmentScenario.rot
rot
Definition:
makeMuonMisalignmentScenario.py:322
MagVolume6Faces::inside
bool inside(const GlobalPoint &gp, double tolerance=0.) const override
Definition:
MagVolume6Faces.cc:10
Generated for CMSSW Reference Manual by
1.8.16