21 : theMean(mean), theRMS(rms), theLayerId(layerId) {
36 return fabs(
mean() - anotherPoint.
mean());
40 return fabs(
rms() - anotherPoint.
rms());
75 double ret = (onePoint.
rms() + anotherPoint.
rms()) / 2.;
81 if (onePoint.
rms() > anotherPoint.
rms()) {
82 ret = anotherPoint.
rms();
tuple ret
prodAgent to be discontinued
double mean() const
average cell occupancy in the layer
constexpr uint32_t rawId() const
get the raw id
double deltaMean(const DTOccupancyPoint &anotherPoint) const
double computeAverageRMS(const DTOccupancyPoint &onePoint, const DTOccupancyPoint &anotherPoint)
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