26 for (vector<MagVolume *>::const_iterator ivol =
theVolumes.begin();
35 for(vector<MagVolume*>::const_iterator ivol =
theVolumes.begin();
41 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.