21 for (vector<MagVolume*>::const_iterator ivol =
theVolumes.begin(); ivol !=
theVolumes.end(); ++ivol) {
27 for (vector<MagVolume*>::const_iterator ivol =
theVolumes.begin(); ivol !=
theVolumes.end(); ++ivol) {
32 if ((*ivol)->inside(gp, tolerance))
MagBSlab(const std::vector< MagVolume * > &volumes, double zMin)
Constructor.
const MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.
virtual ~MagBSlab()
Destructor.
std::vector< MagVolume * > theVolumes
static constexpr bool debugOut