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