1 #ifndef PeriodicBinFinderInPhi_H 2 #define PeriodicBinFinderInPhi_H
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
std::vector< std::vector< double > > tmp
T binPosition(int ind) const override
the middle of the bin in radians