#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 (const 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 16 of file MagELayer.h.
MagELayer::MagELayer | ( | const 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 34 of file MagELayer.cc.
References theVolumes.
|
inline |
|
inline |
|
private |
Definition at line 34 of file MagELayer.h.
Referenced by findVolume(), and ~MagELayer().
|
private |
Definition at line 36 of file MagELayer.h.
Referenced by maxZ().
|
private |
Definition at line 35 of file MagELayer.h.
Referenced by minZ().