26 for (vector<MagVolume *>::const_iterator ivol =
theVolumes.begin();
34 for(vector<MagVolume*>::const_iterator ivol =
theVolumes.begin();
40 if ( (*ivol)->inside(gp,tolerance) )
return (*ivol);
MagBSlab(const std::vector< MagVolume * > &volumes, double zMin)
Constructor.
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