28 for (vector<MagVolume *>::const_iterator ivol =
theVolumes.begin();
37 for(vector<MagVolume*>::const_iterator ivol =
theVolumes.begin();
43 if ( (*ivol)->inside(gp,tolerance) )
return (*ivol);
std::vector< MagVolume * > theVolumes
virtual ~MagELayer()
Destructor.
MagELayer(std::vector< MagVolume * > volumes, double zMin, double zMax)
Constructor.
MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.