19 : theSlabs(slabs), thePhiMin(phiMin), theBinFinder(nullptr) {
24 vector<double> zBorders;
25 for (vector<MagBSlab *>::const_iterator islab =
theSlabs.begin(); islab !=
theSlabs.end(); ++islab) {
26 LogTrace(
"MagGeoBuilder") <<
" MagBSlab minZ=" << (*islab)->minZ() << endl;
28 zBorders.push_back((*islab)->minZ());
37 for (vector<MagBSlab *>::const_iterator islab =
theSlabs.begin(); islab !=
theSlabs.end(); ++islab) {
51 LogTrace(
"MagGeometry") <<
" Trying slab at Z " <<
theSlabs[
bin]->minZ() <<
" " << Z << endl;
53 LogTrace(
"MagGeometry") <<
"***In guessed bslab" << (result ==
nullptr ?
" failed " :
" OK ") << endl;
MagBinFinders::GeneralBinFinderInZ< double > * theBinFinder
const MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.
int binIndex(T z) const override
returns an index in the valid range for the bin closest to Z
virtual ~MagBRod()
Destructor.
MagBRod(std::vector< MagBSlab * > &slabs, Geom::Phi< float > phiMin)
Constructor.
std::vector< MagBSlab * > theSlabs