1 #ifndef PeriodicBinFinderInPhi_H
2 #define PeriodicBinFinderInPhi_H
40 static T pi() {
return 3.141592653589793238;}
PeriodicBinFinderInPhi(T firstPhi, int nbins)
virtual int binIndex(T phi) const
returns an index in the valid range for the bin that contains phi
virtual T binPosition(int ind) const
the middle of the bin in radians
virtual int binIndex(int i) const
returns an index in the valid range, modulo Nbins
std::vector< std::vector< double > > tmp