npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::Peak2D Struct Reference

#include <findPeak2D.hh>

Public Member Functions

void rescaleCoords (double centerCellCoordinateInX, double gridCellWidthInX, double centerCellCoordinateInY, double gridCellWidthInY)
 

Public Attributes

double x
 Peak x coordinate.
 
double y
 Peak y coordinate.
 
double magnitude
 Value of the quadratic fit at the peak position.
 
double hessian [3]
 Hessian of the fitted quadratic polynomial. More...
 
bool valid
 True if the Hessian is negative-definite.
 
bool inside
 True if the peak is inside the fitted patch.
 

Detailed Description

Structure to store peak finding results

Member Function Documentation

◆ rescaleCoords()

void npstat::Peak2D::rescaleCoords ( double  centerCellCoordinateInX,
double  gridCellWidthInX,
double  centerCellCoordinateInY,
double  gridCellWidthInY 
)

Shift and scale the peak coordinates

Member Data Documentation

◆ hessian

double npstat::Peak2D::hessian[3]

Hessian of the fitted quadratic polynomial.

hessian[0] = Hxx, hessian[1] = Hxy, hessian[2] = Hyy.


The documentation for this struct was generated from the following file: