4 : theNbins(utheDets.
size()), isPhiPeriodic_(
false), isPhiOverlapping_(
false) {
5 std::vector<const Det*> theDets = utheDets;
15 std::vector<double> spread(
theNbins);
16 std::vector<std::pair<double, double> > phiEdge;
27 if (plane ==
nullptr) {
29 throw cms::Exception(
"UnexpectedState") << (
"PhiBorderFinder: det surface is not a BoundPlane");
35 for (std::vector<GlobalPoint>::const_iterator
pt = dc.begin();
pt != dc.end();
pt++) {
36 float phi = (*pt).phi();
48 phiEdge.push_back(std::pair<double, double>(
phimin,
phimax));
86 throw cms::Exception(
"UnexpectedState") <<
"PhiBorderFinder: consistency error";
const std::string metname
double positiveRange(double phi) const
U second(std::pair< T, U > const &p)
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
std::vector< double > thePhiBorders
double stat_RMS(const CONT &cont)
void precomputed_value_sort(RandomAccessIterator begin, RandomAccessIterator end, const Extractor &extr, const Compare &comp)
geomsort::ExtractPhi< Det, float > DetPhi
int binIndex(int i) const
static std::vector< GlobalPoint > corners(const Plane &)
static int position[264][3]
std::vector< double > thePhiBins
T1 value() const
Explicit access to value in case implicit conversion not OK.
PhiBorderFinder(const std::vector< const Det *> &utheDets)