1 #ifndef DetLayers_PeriodicBinFinderInZ_H
2 #define DetLayers_PeriodicBinFinderInZ_H
18 std::vector<const GeomDet*>::const_iterator
last)
20 float zFirst = (**first).surface().position().z();
21 theZStep = ((**(last - 1)).surface().position().z() - zFirst) / (
theNbins - 1);
int binIndex(T z) const override
returns an index in the valid range for the bin that contains Z
T binPosition(int ind) const override
the middle of the bin
PeriodicBinFinderInZ(std::vector< const GeomDet * >::const_iterator first, std::vector< const GeomDet * >::const_iterator last)
int binIndex(int i) const override
returns an index in the valid range