Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
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
#endif
MagBSlab::MagBSlab
MagBSlab(const std::vector< MagVolume * > &volumes, double zMin)
Constructor.
Definition:
MagBSlab.cc:18
tolerance
const double tolerance
Definition:
HGCalGeomParameters.cc:29
MagBSlab::findVolume
const MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.
Definition:
MagBSlab.cc:26
MagBSlab::minZ
double minZ() const
Lower Z bound.
Definition:
MagBSlab.h:35
MagVolume
Definition:
MagVolume.h:13
MagBSlab::~MagBSlab
virtual ~MagBSlab()
Destructor.
Definition:
MagBSlab.cc:20
MagBSlab::theVolumes
std::vector< MagVolume * > theVolumes
Definition:
MagBSlab.h:38
MagBSlab
Definition:
MagBSlab.h:23
Point3DBase< float, GlobalTag >
runTauDisplay.gp
list gp
Definition:
runTauDisplay.py:431
MagBSlab::theZMin
double theZMin
Definition:
MagBSlab.h:39
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.5