Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
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
PeriodicBinFinderInPhi
Definition:
MagBLayer.h:22
tolerance
const double tolerance
Definition:
HGCalGeomParameters.cc:29
MagBLayer::MagBLayer
MagBLayer(std::vector< MagBSector * > §ors, double rMin)
Constructor.
Definition:
MagBLayer.cc:21
MagVolume
Definition:
MagVolume.h:13
MagBSector
Definition:
MagBSector.h:24
MagBLayer::theSectors
std::vector< MagBSector * > theSectors
Definition:
MagBLayer.h:45
Point3DBase< float, GlobalTag >
mergeVDriftHistosByStation.sectors
tuple sectors
Definition:
mergeVDriftHistosByStation.py:60
MagBLayer::theSingleVolume
MagVolume * theSingleVolume
Definition:
MagBLayer.h:46
runTauDisplay.gp
list gp
Definition:
runTauDisplay.py:431
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.5