1 #ifndef PeriodicBinFinderInPhi_H 2 #define PeriodicBinFinderInPhi_H 35 return ind < 0 ? ind +
theNbins : ind;
int binIndex(T phi) const override
returns an index in the valid range for the bin that contains phi
PeriodicBinFinderInPhi(T firstPhi, int nbins)
static constexpr T twoPi()
static constexpr T twoPiC
int binIndex(int i) const override
returns an index in the valid range, modulo Nbins
T binPosition(int ind) const override
the middle of the bin in radians