#include <MagELayer.h>
Public Member Functions | |
MagVolume * | findVolume (const GlobalPoint &gp, double tolerance) const |
Find the volume containing a point, with a given tolerance. More... | |
MagELayer (std::vector< MagVolume * > volumes, double zMin, double zMax) | |
Constructor. More... | |
double | maxZ () const |
Upper Z bound. More... | |
double | minZ () const |
Lower Z bound. More... | |
virtual | ~MagELayer () |
Destructor. More... | |
Private Attributes | |
std::vector< MagVolume * > | theVolumes |
double | theZMax |
double | theZMin |
A layer of volumes in an endcap sector.
Definition at line 18 of file MagELayer.h.
MagELayer::MagELayer | ( | std::vector< MagVolume * > | volumes, |
double | zMin, | ||
double | zMax | ||
) |
|
virtual |
MagVolume * MagELayer::findVolume | ( | const GlobalPoint & | gp, |
double | tolerance | ||
) | const |
Find the volume containing a point, with a given tolerance.
Definition at line 36 of file MagELayer.cc.
References theVolumes.
|
inline |
|
inline |
|
private |
Definition at line 36 of file MagELayer.h.
Referenced by findVolume(), and ~MagELayer().
|
private |
Definition at line 38 of file MagELayer.h.
Referenced by maxZ().
|
private |
Definition at line 37 of file MagELayer.h.
Referenced by minZ().