1 #ifndef TrackingTools_DetLayers_PhiBorderFinder_H 2 #define TrackingTools_DetLayers_PhiBorderFinder_H 70 int ind = i % (
int)theNbins;
71 return (ind < 0) ? ind+theNbins : ind;
geomsort::ExtractPhi< Det, float > DetPhi
virtual ~PhiBorderFinder()
const std::vector< double > & phiBorders() const
std::vector< double > thePhiBorders
PhiBorderFinder(const std::vector< const Det * > &utheDets)
bool isPhiPeriodic() const
Returns true if the Dets are periodic in phi.
double positiveRange(double phi) const
std::vector< double > thePhiBins
bool isPhiOverlapping() const
Returns true if any 2 of the Det overlap in phi.
int binIndex(int i) const
const std::vector< double > & phiBins() const
The centers of the Dets.