MagneticField
VolumeGeometry
interface
MagVolume6Faces.h
Go to the documentation of this file.
1
#ifndef MagVolume6Faces_h
2
#define MagVolume6Faces_h
3
15
#include "
MagneticField/VolumeGeometry/interface/MagVolume.h
"
16
#include "
MagneticField/VolumeGeometry/interface/VolumeSide.h
"
17
18
#include <vector>
19
20
template
<
class
T>
21
class
MagneticFieldProvider
;
22
23
class
MagVolume6Faces
:
public
MagVolume
{
24
public
:
25
MagVolume6Faces
(
const
PositionType
&
pos
,
26
const
RotationType
&
rot
,
27
const
std::vector<VolumeSide>&
faces
,
28
const
MagneticFieldProvider<float>
* mfp,
29
double
sf = 1.);
30
31
using
MagVolume::inside
;
32
bool
inside
(
const
GlobalPoint
&
gp
,
double
tolerance
= 0.)
const override
;
33
35
const
std::vector<VolumeSide>&
faces
()
const override
{
return
theFaces
; }
36
37
//--> These are used for debugging purposes only
38
short
volumeNo
;
39
char
copyno
;
40
//<--
41
42
private
:
43
std::vector<VolumeSide>
theFaces
;
44
};
45
46
#endif
MagVolume.h
MagVolume6Faces::theFaces
std::vector< VolumeSide > theFaces
Definition:
MagVolume6Faces.h:43
pos
Definition:
PixelAliasList.h:18
MagVolume6Faces::volumeNo
short volumeNo
Definition:
MagVolume6Faces.h:38
MagneticFieldProvider
Definition:
MagCylinder.h:14
MagVolume::GlobalPoint
GloballyPositioned< float >::GlobalPoint GlobalPoint
Definition:
MagVolume.h:18
GloballyPositioned< float >::RotationType
TkRotation< float > RotationType
Definition:
GloballyPositioned.h:22
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
VolumeSide.h
MagVolume6Faces::faces
const std::vector< VolumeSide > & faces() const override
Access to volume faces.
Definition:
MagVolume6Faces.h:35
MagVolume6Faces::copyno
char copyno
Definition:
MagVolume6Faces.h:39
MagVolume6Faces
Definition:
MagVolume6Faces.h:23
MagVolume::inside
virtual bool inside(const GlobalPoint &gp, double tolerance=0.) const =0
runTauDisplay.gp
gp
Definition:
runTauDisplay.py:431
MagVolume
Definition:
MagVolume.h:13
tolerance
const double tolerance
Definition:
HGCalGeomParameters.cc:29
GloballyPositioned< float >::PositionType
Point3DBase< float, GlobalTag > PositionType
Definition:
GloballyPositioned.h:21
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