24 for (vector<MagVolume *>::const_iterator ivol =
theVolumes.begin();
32 for(vector<MagVolume*>::const_iterator ivol =
theVolumes.begin();
38 if ( (*ivol)->inside(gp,tolerance) )
return (*ivol);
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