Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
MagneticField
Layers
interface
MagBSector.h
Go to the documentation of this file.
1
#ifndef MagBSector_H
2
#define MagBSector_H
3
18
#include <vector>
19
20
class
MagBRod
;
21
class
MagVolume
;
22
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
23
24
class
MagBSector
{
25
public
:
27
MagBSector
(std::vector<MagBRod*>& rods,
Geom::Phi<float>
phiMin);
28
30
virtual
~MagBSector
();
31
33
MagVolume
*
findVolume
(
const
GlobalPoint
& gp,
double
tolerance)
const
;
34
36
Geom::Phi<float>
minPhi
()
const
{
return
thePhiMin
;}
37
38
private
:
39
std::vector<MagBRod*>
theRods
;
40
Geom::Phi<float>
thePhiMin
;
41
};
42
#endif
43
MagBSector::MagBSector
MagBSector(std::vector< MagBRod * > &rods, Geom::Phi< float > phiMin)
Constructor.
Definition:
MagBSector.cc:18
MagBSector::findVolume
MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.
Definition:
MagBSector.cc:30
MagBSector::minPhi
Geom::Phi< float > minPhi() const
Phi of sector start.
Definition:
MagBSector.h:36
MagBSector::theRods
std::vector< MagBRod * > theRods
Definition:
MagBSector.h:39
MagBRod
Definition:
MagBRod.h:25
MagBSector::thePhiMin
Geom::Phi< float > thePhiMin
Definition:
MagBSector.h:40
MagVolume
Definition:
MagVolume.h:14
MagBSector
Definition:
MagBSector.h:24
Point3DBase< float, GlobalTag >
Geom::Phi< float >
GlobalPoint.h
MagBSector::~MagBSector
virtual ~MagBSector()
Destructor.
Definition:
MagBSector.cc:23
Generated for CMSSW Reference Manual by
1.8.5