DiffractionSpot: Remove unused functions
This commit is contained in:
@@ -47,10 +47,6 @@ int64_t DiffractionSpot::PixelCount() const {
|
||||
return pixel_count;
|
||||
}
|
||||
|
||||
double DiffractionSpot::GetResolution(const DiffractionGeometry &geom) const {
|
||||
return geom.PxlToRes(x / (float)photons, y / (float)photons);
|
||||
}
|
||||
|
||||
void DiffractionSpot::AddPixel(uint32_t col, uint32_t line, int64_t photons) {
|
||||
this->x += col * (float) photons;
|
||||
this->y += line * (float) photons;
|
||||
|
||||
@@ -16,9 +16,6 @@ class DiffractionSpot {
|
||||
int64_t pixel_count = 0;
|
||||
int64_t photons = 0; // total photon count
|
||||
int64_t max_photons = INT64_MIN; // maximum number of counts per pixel in the spot
|
||||
|
||||
double GetResolution(const DiffractionGeometry &experiment) const;
|
||||
static bool IsIceRing(float d_A);
|
||||
public:
|
||||
DiffractionSpot() = default;
|
||||
DiffractionSpot(uint32_t col, uint32_t line, int64_t photons);
|
||||
|
||||
Reference in New Issue
Block a user