Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
MagneticField
Layers
interface
MagBLayer.h
Go to the documentation of this file.
1
#ifndef MagBLayer_H
2
#define MagBLayer_H
3
18
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
19
#include <vector>
20
21
class
MagBSector
;
22
class
MagVolume
;
23
template
<
class
T>
class
PeriodicBinFinderInPhi
;
24
25
class
MagBLayer
{
26
public
:
28
MagBLayer
(std::vector<MagBSector*>&
sectors
,
double
rMin);
29
31
MagBLayer
(
MagVolume
* aVolume,
double
rMin);
32
34
virtual
~MagBLayer
();
35
37
MagVolume
*
findVolume
(
const
GlobalPoint
& gp,
double
tolerance)
const
;
38
40
double
minR
()
const
{
return
theRMin
;}
41
42
private
:
43
// To support either the case of a simple one-volume layer or a
44
// composite structure we have both theSectors or theSingleVolume.
45
// Only one can be active at a time; not very elegant, but acceptable.
46
std::vector<MagBSector*>
theSectors
;
47
MagVolume
*
theSingleVolume
;
48
double
theRMin
;
49
50
PeriodicBinFinderInPhi<float>
*
theBinFinder
;
51
52
};
53
#endif
54
MagBLayer::theRMin
double theRMin
Definition:
MagBLayer.h:48
MagBLayer::theBinFinder
PeriodicBinFinderInPhi< float > * theBinFinder
Definition:
MagBLayer.h:50
PeriodicBinFinderInPhi
Definition:
MagBLayer.h:23
MagBLayer::MagBLayer
MagBLayer(std::vector< MagBSector * > §ors, double rMin)
Constructor.
Definition:
MagBLayer.cc:23
MagBLayer::findVolume
MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.
Definition:
MagBLayer.cc:62
MagVolume
Definition:
MagVolume.h:14
MagBSector
Definition:
MagBSector.h:26
MagBLayer::theSectors
std::vector< MagBSector * > theSectors
Definition:
MagBLayer.h:46
Point3DBase< float, GlobalTag >
mergeVDriftHistosByStation.sectors
tuple sectors
Definition:
mergeVDriftHistosByStation.py:59
MagBLayer::theSingleVolume
MagVolume * theSingleVolume
Definition:
MagBLayer.h:47
MagBLayer::minR
double minR() const
Lowest radius of the layer.
Definition:
MagBLayer.h:40
MagBLayer::~MagBLayer
virtual ~MagBLayer()
Destructor.
Definition:
MagBLayer.cc:50
MagBLayer
Definition:
MagBLayer.h:25
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.5