Main Page
Namespaces
Classes
Package Documentation
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>
class
PeriodicBinFinderInPhi
;
22
23
class
MagBLayer
{
24
public
:
26
MagBLayer
(std::vector<MagBSector*>& sectors,
double
rMin
);
27
29
MagBLayer
(
MagVolume
* aVolume,
double
rMin);
30
32
virtual
~MagBLayer
();
33
35
const
MagVolume
*
findVolume
(
const
GlobalPoint
&
gp
,
double
tolerance
)
const
;
36
38
double
minR
()
const
{
return
theRMin
;}
39
40
private
:
41
// To support either the case of a simple one-volume layer or a
42
// composite structure we have both theSectors or theSingleVolume.
43
// Only one can be active at a time; not very elegant, but acceptable.
44
std::vector<MagBSector*>
theSectors
;
45
MagVolume
*
theSingleVolume
;
46
double
theRMin
;
47
48
PeriodicBinFinderInPhi<float>
*
theBinFinder
;
49
50
};
51
#endif
52
MagBLayer::theRMin
double theRMin
Definition:
MagBLayer.h:46
MagBLayer::theBinFinder
PeriodicBinFinderInPhi< float > * theBinFinder
Definition:
MagBLayer.h:48
MagBLayer::findVolume
const MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.
Definition:
MagBLayer.cc:60
PeriodicBinFinderInPhi
Definition:
MagBLayer.h:21
tolerance
const double tolerance
Definition:
HGCalGeomParameters.cc:27
MagBLayer::MagBLayer
MagBLayer(std::vector< MagBSector * > §ors, double rMin)
Constructor.
Definition:
MagBLayer.cc:21
runTauDisplay.gp
gp
Definition:
runTauDisplay.py:429
MagVolume
Definition:
MagVolume.h:13
hfnoseDigiStudy_cfi.rMin
rMin
Definition:
hfnoseDigiStudy_cfi.py:9
MagBSector
Definition:
MagBSector.h:24
MagBLayer::theSectors
std::vector< MagBSector * > theSectors
Definition:
MagBLayer.h:44
Point3DBase< float, GlobalTag >
MagBLayer::theSingleVolume
MagVolume * theSingleVolume
Definition:
MagBLayer.h:45
MagBLayer::minR
double minR() const
Lowest radius of the layer.
Definition:
MagBLayer.h:38
MagBLayer::~MagBLayer
virtual ~MagBLayer()
Destructor.
Definition:
MagBLayer.cc:48
MagBLayer
Definition:
MagBLayer.h:23
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.11