22 : theSectors(sectors), theSingleVolume(nullptr), theRMin(rMin), theBinFinder(nullptr) {
40 for (vector<MagBSector*>::const_iterator isec =
theSectors.begin(); isec !=
theSectors.end(); ++isec) {
65 LogTrace(
"MagGeometry") <<
" Trying sector at phi " <<
theSectors[
bin]->minPhi() <<
" " << phi << endl;
67 LogTrace(
"MagGeometry") <<
"***In guessed bsector" << (result ==
nullptr ?
" failed " :
" OK ") << endl;
69 if (result ==
nullptr) {
71 <<
" " << phi << endl;
74 LogTrace(
"MagGeometry") <<
"***In previous bsector" << (result ==
nullptr ?
" failed " :
" OK ") << endl;
PeriodicBinFinderInPhi< float > * theBinFinder
int binIndex(T phi) const override
returns an index in the valid range for the bin that contains phi
const MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.
Geom::Phi< T > phi() const
MagBLayer(std::vector< MagBSector * > §ors, double rMin)
Constructor.
virtual bool inside(const GlobalPoint &gp, double tolerance=0.) const =0
std::vector< MagBSector * > theSectors
MagVolume * theSingleVolume
virtual ~MagBLayer()
Destructor.