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
MagCylinder
(
const
PositionType
&
pos
,
19
const
RotationType
&
rot
,
20
const
std::vector<VolumeSide>&
faces
,
21
const
MagneticFieldProvider<float>
* mfp);
22
23
bool
inside
(
const
GlobalPoint
&
gp
,
double
tolerance
= 0.)
const override
;
24
bool
inside
(
const
LocalPoint
& lp,
double
tolerance
= 0.)
const override
;
25
27
const
std::vector<VolumeSide>&
faces
()
const override
{
return
theFaces
; }
28
29
//-- FIXME
30
std::string
name
;
31
//--
32
33
private
:
34
std::vector<VolumeSide>
theFaces
;
35
Scalar
theZmin
;
36
Scalar
theZmax
;
37
Scalar
theInnerR
;
38
Scalar
theOuterR
;
39
};
40
41
#endif
MagVolume.h
MagCylinder::MagCylinder
MagCylinder(const PositionType &pos, const RotationType &rot, const std::vector< VolumeSide > &faces, const MagneticFieldProvider< float > *mfp)
Definition:
MagCylinder.cc:5
pos
Definition:
PixelAliasList.h:18
MagCylinder::inside
bool inside(const GlobalPoint &gp, double tolerance=0.) const override
Definition:
MagCylinder.cc:37
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
MagCylinder
Definition:
MagCylinder.h:16
MagCylinder::theZmax
Scalar theZmax
Definition:
MagCylinder.h:36
VolumeSide.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
runTauDisplay.gp
gp
Definition:
runTauDisplay.py:431
MagCylinder::faces
const std::vector< VolumeSide > & faces() const override
Access to volume faces.
Definition:
MagCylinder.h:27
MagCylinder::theInnerR
Scalar theInnerR
Definition:
MagCylinder.h:37
MagVolume
Definition:
MagVolume.h:13
MagCylinder::name
std::string name
Definition:
MagCylinder.h:30
tolerance
const double tolerance
Definition:
HGCalGeomParameters.cc:26
MagCylinder::theZmin
Scalar theZmin
Definition:
MagCylinder.h:35
GloballyPositioned< float >::PositionType
Point3DBase< float, GlobalTag > PositionType
Definition:
GloballyPositioned.h:21
MagVolume::LocalPoint
GloballyPositioned< float >::LocalPoint LocalPoint
Definition:
MagVolume.h:16
makeMuonMisalignmentScenario.rot
rot
Definition:
makeMuonMisalignmentScenario.py:322
MagCylinder::theFaces
std::vector< VolumeSide > theFaces
Definition:
MagCylinder.h:34
GloballyPositioned< float >::Scalar
float Scalar
Definition:
GloballyPositioned.h:20
MagCylinder::theOuterR
Scalar theOuterR
Definition:
MagCylinder.h:38
Generated for CMSSW Reference Manual by
1.8.16