MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
Loading...
Searching...
No Matches
Moments2D Struct Reference

Second moments of a 2-D distribution over a bin range. More...

#include <BeamFit2D.hpp>

Public Attributes

Double_t mu_x = 0
Double_t mu_y = 0
 Weighted centroid.
Double_t sigma_x = 0
Double_t sigma_y = 0
 Weighted RMS widths.
Double_t rho = 0
 Correlation coefficient, in [-1, 1].
Double_t weight = 0
 Total weight included; zero means the range held nothing above threshold.

Detailed Description

Second moments of a 2-D distribution over a bin range.

The cheap alternative to a fit: computed directly from the histogram contents, and used to seed BeamFit2D or when a fit is not warranted.

Definition at line 33 of file BeamFit2D.hpp.

Member Data Documentation

◆ mu_x

◆ mu_y

Double_t Moments2D::mu_y = 0

◆ rho

Double_t Moments2D::rho = 0

Correlation coefficient, in [-1, 1].

Definition at line 36 of file BeamFit2D.hpp.

Referenced by BeamFitUtils::ClippedMoments(), BeamFitUtils::ComputeMoments(), BeamFitUtils::FitSpot(), and BeamFitUtils::FitSpotFromPoints().

◆ sigma_x

◆ sigma_y

Double_t Moments2D::sigma_y = 0

◆ weight

Double_t Moments2D::weight = 0

Total weight included; zero means the range held nothing above threshold.

Definition at line 37 of file BeamFit2D.hpp.

Referenced by BeamFitUtils::ClippedMoments(), BeamFitUtils::ComputeMoments(), and FindBeamGateStrips().


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