Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
MagneticField
VolumeGeometry
interface
MagVolume6Faces.h
Go to the documentation of this file.
1
#ifndef MagVolume6Faces_h
2
#define MagVolume6Faces_h
3
17
#include "
MagneticField/VolumeGeometry/interface/MagVolume.h
"
18
#include "
MagneticField/VolumeGeometry/interface/VolumeSide.h
"
19
20
#include <vector>
21
22
//-- FIXME
23
#include <string>
24
//--
25
26
template
<
class
T>
27
class
MagneticFieldProvider
;
28
29
class
MagVolume6Faces
:
public
MagVolume
{
30
public
:
31
32
MagVolume6Faces
(
const
PositionType
&
pos
,
const
RotationType
& rot,
33
DDSolidShape
shape,
const
std::vector<VolumeSide>&
faces
,
34
const
MagneticFieldProvider<float>
* mfp,
35
double
sf=1.);
36
37
using
MagVolume::inside
;
38
virtual
bool
inside
(
const
GlobalPoint
& gp,
double
tolerance=0.)
const
;
39
41
virtual
const
std::vector<VolumeSide>&
faces
()
const
{
return
theFaces
;}
42
43
//--> These are used for debugging purposes only
44
std::string
name
;
45
char
copyno
;
46
//<--
47
48
private
:
49
50
std::vector<VolumeSide>
theFaces
;
51
52
};
53
54
#endif
pos
Definition:
Histograms.cc:19
MagVolume::GlobalPoint
GloballyPositioned< float >::GlobalPoint GlobalPoint
Definition:
MagVolume.h:20
DDSolidShape
DDSolidShape
Definition:
DDSolidShapes.h:5
MagVolume6Faces
Definition:
MagVolume6Faces.h:29
MagVolume6Faces::copyno
char copyno
Definition:
MagVolume6Faces.h:45
MagVolume.h
MagVolume::inside
virtual bool inside(const GlobalPoint &gp, double tolerance=0.) const =0
MagVolume
Definition:
MagVolume.h:14
TkRotation< float >
MagVolume6Faces::MagVolume6Faces
MagVolume6Faces(const PositionType &pos, const RotationType &rot, DDSolidShape shape, const std::vector< VolumeSide > &faces, const MagneticFieldProvider< float > *mfp, double sf=1.)
Definition:
MagVolume6Faces.cc:3
MagVolume6Faces::inside
virtual bool inside(const GlobalPoint &gp, double tolerance=0.) const
Definition:
MagVolume6Faces.cc:12
MagVolume6Faces::faces
virtual const std::vector< VolumeSide > & faces() const
Access to volume faces.
Definition:
MagVolume6Faces.h:41
Point3DBase< float, GlobalTag >
VolumeSide.h
MagVolume6Faces::theFaces
std::vector< VolumeSide > theFaces
Definition:
MagVolume6Faces.h:50
MagneticFieldProvider
Definition:
MagCylinder.h:14
MagVolume6Faces::name
std::string name
Definition:
MagVolume6Faces.h:44
Generated for CMSSW Reference Manual by
1.8.5