25 for (vector<MagELayer *>::const_iterator ilay =
theLayers.begin();
39 for(vector<MagELayer*>::const_reverse_iterator ilay =
theLayers.rbegin();
42 if (Z+tolerance>(*ilay)->minZ()) {
43 if (Z-tolerance<(*ilay)->maxZ()) {
46 result = (*ilay)->findVolume(gp, tolerance);
56 if (result!=0)
return result;
const double Z[kNumberCalorimeter]
std::vector< LayerSetAndLayers > layers(const SeedingLayerSetsHits &sets)
std::vector< MagELayer * > theLayers
MagESector(std::vector< MagELayer * > &layers, Geom::Phi< float > phiMin)
Constructor.
virtual ~MagESector()
Destructor.
MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.