Go to the documentation of this file.
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()) {
ret
prodAgent to be discontinued
bool operator==(const DTOccupancyPoint &other) const
double deltaMean(const DTOccupancyPoint &anotherPoint) const
DTLayerId layerId() const
bool operator!=(const DTOccupancyPoint &other) const
double deltaRMS(const DTOccupancyPoint &anotherPoint) const
DTOccupancyPoint()
Constructor.
double computeAverageRMS(const DTOccupancyPoint &onePoint, const DTOccupancyPoint &anotherPoint)
double mean() const
average cell occupancy in the layer
bool operator<(const DTOccupancyPoint &other) const
double computeMinRMS(const DTOccupancyPoint &onePoint, const DTOccupancyPoint &anotherPoint)
constexpr uint32_t rawId() const
get the raw id
void setLayerId(DTLayerId layerId)
virtual ~DTOccupancyPoint()
Destructor.
double distance(const DTOccupancyPoint &anotherPoint) const
distance from another point in the 2D plane
double rms() const
RMS of the distribution of the cell occupancies in the layer.