61 return fabs(
mean() - anotherPoint.
mean());
67 return fabs(
rms() - anotherPoint.
rms());
111 double ret = (onePoint.
rms() + anotherPoint.
rms())/2.;
119 if(onePoint.
rms() > anotherPoint.
rms()) {
120 ret = anotherPoint.
rms();
122 ret = onePoint.
rms();
double mean() const
average cell occupancy in the layer
double deltaMean(const DTOccupancyPoint &anotherPoint) const
double computeAverageRMS(const DTOccupancyPoint &onePoint, const DTOccupancyPoint &anotherPoint)
uint32_t rawId() const
get the raw id
double deltaRMS(const DTOccupancyPoint &anotherPoint) const
double rms() const
RMS of the distribution of the cell occupancies in the layer.
double computeMinRMS(const DTOccupancyPoint &onePoint, const DTOccupancyPoint &anotherPoint)
DTOccupancyPoint()
Constructor.
bool operator==(const DTOccupancyPoint &other) const
bool operator!=(const DTOccupancyPoint &other) const
bool operator<(const DTOccupancyPoint &other) const
virtual ~DTOccupancyPoint()
Destructor.
double distance(const DTOccupancyPoint &anotherPoint) const
distance from another point in the 2D plane
void setLayerId(DTLayerId layerId)
DTLayerId layerId() const