Main Page
Namespaces
Classes
Package Documentation
MagneticField
Layers
interface
MagELayer.h
Go to the documentation of this file.
1
#ifndef MagELayer_H
2
#define MagELayer_H
3
10
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
11
12
#include <vector>
13
14
class
MagVolume
;
15
16
class
MagELayer
{
17
public
:
19
MagELayer
(
const
std::vector<MagVolume*>&
volumes
,
double
zMin
,
double
zMax
);
20
22
virtual
~MagELayer
();
23
25
const
MagVolume
*
findVolume
(
const
GlobalPoint
&
gp
,
double
tolerance
)
const
;
26
28
double
minZ
()
const
{
return
theZMin
; }
29
31
double
maxZ
()
const
{
return
theZMax
; }
32
33
private
:
34
std::vector<MagVolume*>
theVolumes
;
35
double
theZMin
;
36
double
theZMax
;
37
};
38
#endif
MagELayer::MagELayer
MagELayer(const std::vector< MagVolume * > &volumes, double zMin, double zMax)
Constructor.
Definition:
MagELayer.cc:18
MagELayer::theZMin
double theZMin
Definition:
MagELayer.h:35
tolerance
const double tolerance
Definition:
HGCalGeomParameters.cc:25
MagELayer::findVolume
const MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.
Definition:
MagELayer.cc:27
photonAnalyzer_cfi.zMax
zMax
Definition:
photonAnalyzer_cfi.py:95
MagELayer::theZMax
double theZMax
Definition:
MagELayer.h:36
volumeBasedMagneticField_1103l_cfi.volumes
volumes
Definition:
volumeBasedMagneticField_1103l_cfi.py:42
MagELayer
Definition:
MagELayer.h:16
MagELayer::minZ
double minZ() const
Lower Z bound.
Definition:
MagELayer.h:28
photonAnalyzer_cfi.zMin
zMin
Definition:
photonAnalyzer_cfi.py:94
runTauDisplay.gp
gp
Definition:
runTauDisplay.py:431
MagVolume
Definition:
MagVolume.h:13
MagELayer::theVolumes
std::vector< MagVolume * > theVolumes
Definition:
MagELayer.h:34
MagELayer::~MagELayer
virtual ~MagELayer()
Destructor.
Definition:
MagELayer.cc:21
Point3DBase< float, GlobalTag >
MagELayer::maxZ
double maxZ() const
Upper Z bound.
Definition:
MagELayer.h:31
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.11