19 : theVolumes(volumes), theZMin(zMin), theZMax(zMax) {}
22 for (vector<MagVolume*>::const_iterator ivol =
theVolumes.begin(); ivol !=
theVolumes.end(); ++ivol) {
28 for (vector<MagVolume*>::const_iterator ivol =
theVolumes.begin(); ivol !=
theVolumes.end(); ++ivol) {
36 if ((*ivol)->inside(gp, tolerance))
MagELayer(const std::vector< MagVolume * > &volumes, double zMin, double zMax)
Constructor.
const MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.
std::vector< MagVolume * > theVolumes
virtual ~MagELayer()
Destructor.