#include <MagELayer.h>
Public Member Functions | |
const 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 | ||
) |
Constructor.
Definition at line 18 of file MagELayer.cc.
|
virtual |
Destructor.
Definition at line 21 of file MagELayer.cc.
References theVolumes.
const MagVolume * MagELayer::findVolume | ( | const GlobalPoint & | gp, |
double | tolerance | ||
) | const |
Find the volume containing a point, with a given tolerance.
Definition at line 27 of file MagELayer.cc.
References MagVolume6Faces::copyno, runTauDisplay::gp, createfilelist::int, LogTrace, theVolumes, tolerance, and MagVolume6Faces::volumeNo.
|
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().