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