21 for (vector<MagBRod*>::const_iterator irod =
theRods.begin(); irod !=
theRods.end(); ++irod) {
31 for (vector<MagBRod*>::const_iterator irod =
theRods.begin(); irod !=
theRods.end(); ++irod) {
32 LogTrace(
"MagGeometry") <<
" Trying rod at phi " << (*irod)->minPhi() <<
" " << phi << endl;
33 result = (*irod)->findVolume(gp, tolerance);
34 if (result !=
nullptr)
MagBSector(std::vector< MagBRod * > &rods, Geom::Phi< float > phiMin)
Constructor.
const MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.
std::vector< MagBRod * > theRods
Geom::Phi< T > phi() const
virtual ~MagBSector()
Destructor.