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