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);
MagELayer(const std::vector< MagVolume * > &volumes, double zMin, double zMax)
Constructor.
std::vector< MagVolume * > theVolumes
virtual ~MagELayer()
Destructor.
MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.