1 #ifndef DetLayers_PeriodicBinFinderInZ_H
2 #define DetLayers_PeriodicBinFinderInZ_H
19 std::vector<const GeomDet*>::const_iterator
last) :
22 float zFirst = (**first).surface().position().z();
virtual int binIndex(int i) const
returns an index in the valid range
virtual T binPosition(int ind) const
the middle of the bin
virtual int binIndex(T z) const
returns an index in the valid range for the bin that contains Z
const T & max(const T &a, const T &b)
PeriodicBinFinderInZ(std::vector< const GeomDet * >::const_iterator first, std::vector< const GeomDet * >::const_iterator last)