src
MagneticField
Layers
interface
MagBLayer.h
Go to the documentation of this file.
1
#ifndef MagBLayer_H
2
#define MagBLayer_H
3
16
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
17
#include <vector>
18
19
class
MagBSector
;
20
class
MagVolume
;
21
template
<
class
T>
22
class
PeriodicBinFinderInPhi
;
23
24
class
MagBLayer
{
25
public
:
27
MagBLayer
(std::vector<MagBSector*>&
sectors
,
double
rMin
);
28
30
MagBLayer
(
MagVolume
* aVolume,
double
rMin
);
31
33
virtual
~MagBLayer
();
34
36
const
MagVolume
*
findVolume
(
const
GlobalPoint
&
gp
,
double
tolerance
)
const
;
37
39
double
minR
()
const
{
return
theRMin
; }
40
41
private
:
42
// To support either the case of a simple one-volume layer or a
43
// composite structure we have both theSectors or theSingleVolume.
44
// Only one can be active at a time; not very elegant, but acceptable.
45
std::vector<MagBSector*>
theSectors
;
46
MagVolume
*
theSingleVolume
;
47
double
theRMin
;
48
49
PeriodicBinFinderInPhi<float>
*
theBinFinder
;
50
};
51
#endif
MagBLayer::theRMin
double theRMin
Definition:
MagBLayer.h:47
MagBLayer::theBinFinder
PeriodicBinFinderInPhi< float > * theBinFinder
Definition:
MagBLayer.h:49
PeriodicBinFinderInPhi
Definition:
MagBLayer.h:22
tolerance
const double tolerance
Definition:
HGCalGeomParameters.cc:29
runTauDisplay.gp
gp
Definition:
runTauDisplay.py:431
MagBLayer::findVolume
const MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.
Definition:
MagBLayer.cc:45
MagVolume
Definition:
MagVolume.h:13
photonAnalyzer_cfi.rMin
rMin
Definition:
photonAnalyzer_cfi.py:90
MagBSector
Definition:
MagBSector.h:24
MagBLayer::theSectors
std::vector< MagBSector * > theSectors
Definition:
MagBLayer.h:45
Point3DBase< float, GlobalTag >
MagBLayer::theSingleVolume
MagVolume * theSingleVolume
Definition:
MagBLayer.h:46
volumeBasedMagneticField_160812_cfi.sectors
sectors
Definition:
volumeBasedMagneticField_160812_cfi.py:59
MagBLayer::MagBLayer
MagBLayer(std::vector< MagBSector *> §ors, double rMin)
Constructor.
Definition:
MagBLayer.cc:21
MagBLayer::minR
double minR() const
Lowest radius of the layer.
Definition:
MagBLayer.h:39
MagBLayer::~MagBLayer
virtual ~MagBLayer()
Destructor.
Definition:
MagBLayer.cc:35
MagBLayer
Definition:
MagBLayer.h:24
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.14