Main Page
Namespaces
Classes
Package Documentation
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
hfnoseDigiStudy_cfi.zMin
zMin
Definition:
hfnoseDigiStudy_cfi.py:11
MagBSlab::MagBSlab
MagBSlab(const std::vector< MagVolume * > &volumes, double zMin)
Constructor.
Definition:
MagBSlab.cc:18
tolerance
const double tolerance
Definition:
HGCalGeomParameters.cc:26
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
runTauDisplay.gp
gp
Definition:
runTauDisplay.py:429
MagVolume
Definition:
MagVolume.h:13
MagBSlab::~MagBSlab
virtual ~MagBSlab()
Destructor.
Definition:
MagBSlab.cc:23
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.11