Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
MagneticField
VolumeGeometry
interface
MagCylinder.h
Go to the documentation of this file.
1
#ifndef MagCylinder_H
2
#define MagCylinder_H
3
4
#include "
MagneticField/VolumeGeometry/interface/MagVolume.h
"
5
#include "
MagneticField/VolumeGeometry/interface/VolumeSide.h
"
6
7
#include <vector>
8
9
//-- FIXME
10
#include <string>
11
//--
12
13
template
<
class
T>
14
class
MagneticFieldProvider
;
15
16
class
MagCylinder
:
public
MagVolume
{
17
public
:
18
19
MagCylinder
(
const
PositionType
&
pos
,
const
RotationType
&
rot
,
20
DDSolidShape
shape,
const
std::vector<VolumeSide>&
faces
,
21
const
MagneticFieldProvider<float>
* mfp);
22
23
virtual
bool
inside
(
const
GlobalPoint
& gp,
double
tolerance=0.)
const
;
24
virtual
bool
inside
(
const
LocalPoint
& lp,
double
tolerance=0.)
const
;
25
27
virtual
const
std::vector<VolumeSide>&
faces
()
const
{
return
theFaces
;}
28
29
//-- FIXME
30
std::string
name
;
31
//--
32
33
private
:
34
35
std::vector<VolumeSide>
theFaces
;
36
Scalar
theZmin
;
37
Scalar
theZmax
;
38
Scalar
theInnerR
;
39
Scalar
theOuterR
;
40
41
};
42
43
#endif
MagCylinder::theZmax
Scalar theZmax
Definition:
MagCylinder.h:37
MagCylinder::faces
virtual const std::vector< VolumeSide > & faces() const
Access to volume faces.
Definition:
MagCylinder.h:27
pos
Definition:
Histograms.cc:19
MagVolume::GlobalPoint
GloballyPositioned< float >::GlobalPoint GlobalPoint
Definition:
MagVolume.h:20
DDSolidShape
DDSolidShape
Definition:
DDSolidShapes.h:6
MagCylinder
Definition:
MagCylinder.h:16
MagVolume.h
MagCylinder::theInnerR
Scalar theInnerR
Definition:
MagCylinder.h:38
MagVolume::LocalPoint
GloballyPositioned< float >::LocalPoint LocalPoint
Definition:
MagVolume.h:18
MagVolume
Definition:
MagVolume.h:14
TkRotation< float >
MagCylinder::inside
virtual bool inside(const GlobalPoint &gp, double tolerance=0.) const
Definition:
MagCylinder.cc:43
MagCylinder::MagCylinder
MagCylinder(const PositionType &pos, const RotationType &rot, DDSolidShape shape, const std::vector< VolumeSide > &faces, const MagneticFieldProvider< float > *mfp)
Definition:
MagCylinder.cc:8
MagCylinder::theFaces
std::vector< VolumeSide > theFaces
Definition:
MagCylinder.h:35
MagCylinder::theOuterR
Scalar theOuterR
Definition:
MagCylinder.h:39
GloballyPositioned< float >::Scalar
float Scalar
Definition:
GloballyPositioned.h:21
MagCylinder::name
std::string name
Definition:
MagCylinder.h:30
Point3DBase< float, GlobalTag >
VolumeSide.h
MagCylinder::theZmin
Scalar theZmin
Definition:
MagCylinder.h:36
MagneticFieldProvider
Definition:
MagCylinder.h:14
makeMuonMisalignmentScenario.rot
list rot
Definition:
makeMuonMisalignmentScenario.py:320
Generated for CMSSW Reference Manual by
1.8.5