Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
MagneticField
Layers
interface
MagELayer.h
Go to the documentation of this file.
1
#ifndef MagELayer_H
2
#define MagELayer_H
3
12
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
13
14
#include <vector>
15
16
class
MagVolume
;
17
18
class
MagELayer
{
19
public
:
21
MagELayer
(std::vector<MagVolume*> volumes,
double
zMin,
double
zMax);
22
24
virtual
~MagELayer
();
25
27
MagVolume
*
findVolume
(
const
GlobalPoint
& gp,
double
tolerance)
const
;
28
30
double
minZ
()
const
{
return
theZMin
;}
31
33
double
maxZ
()
const
{
return
theZMax
;}
34
35
private
:
36
std::vector<MagVolume*>
theVolumes
;
37
double
theZMin
;
38
double
theZMax
;
39
};
40
#endif
41
MagELayer::theZMin
double theZMin
Definition:
MagELayer.h:37
MagELayer::theZMax
double theZMax
Definition:
MagELayer.h:38
MagELayer
Definition:
MagELayer.h:18
MagELayer::minZ
double minZ() const
Lower Z bound.
Definition:
MagELayer.h:30
MagVolume
Definition:
MagVolume.h:14
MagELayer::theVolumes
std::vector< MagVolume * > theVolumes
Definition:
MagELayer.h:36
MagELayer::~MagELayer
virtual ~MagELayer()
Destructor.
Definition:
MagELayer.cc:27
Point3DBase< float, GlobalTag >
MagELayer::MagELayer
MagELayer(std::vector< MagVolume * > volumes, double zMin, double zMax)
Constructor.
Definition:
MagELayer.cc:21
MagELayer::maxZ
double maxZ() const
Upper Z bound.
Definition:
MagELayer.h:33
MagELayer::findVolume
MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.
Definition:
MagELayer.cc:36
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.5