src
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
final :
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
MagVolume6Faces::volumeNo
short volumeNo
Definition:
MagVolume6Faces.h:38
MagVolume::GlobalPoint
GloballyPositioned< float >::GlobalPoint GlobalPoint
Definition:
MagVolume.h:18
tolerance
const double tolerance
Definition:
HGCalGeomParameters.cc:29
MagVolume6Faces
Definition:
MagVolume6Faces.h:23
MagVolume6Faces::copyno
char copyno
Definition:
MagVolume6Faces.h:39
MagVolume.h
runTauDisplay.gp
gp
Definition:
runTauDisplay.py:431
MagVolume6Faces::inside
bool inside(const GlobalPoint &gp, double tolerance=0.) const override
Definition:
MagVolume6Faces.cc:12
MagVolume::inside
virtual bool inside(const GlobalPoint &gp, double tolerance=0.) const =0
MagVolume
Definition:
MagVolume.h:13
TkRotation< float >
pos
Definition:
PixelCalibBase.h:13
MagVolume6Faces::faces
const std::vector< VolumeSide > & faces() const override
Access to volume faces.
Definition:
MagVolume6Faces.h:35
Point3DBase< float, GlobalTag >
VolumeSide.h
MagVolume6Faces::theFaces
std::vector< VolumeSide > theFaces
Definition:
MagVolume6Faces.h:43
MagneticFieldProvider
Definition:
MagCylinder.h:14
makeMuonMisalignmentScenario.rot
rot
Definition:
makeMuonMisalignmentScenario.py:322
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
Generated for CMSSW Reference Manual by
1.8.14