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 30 of file BeamFit2D.hpp.

Member Data Documentation

◆ mu_x

Double_t Moments2D::mu_x = 0

Definition at line 31 of file BeamFit2D.hpp.

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

◆ mu_y

Double_t Moments2D::mu_y = 0

Weighted centroid.

Definition at line 31 of file BeamFit2D.hpp.

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

◆ rho

Double_t Moments2D::rho = 0

Correlation coefficient, in [-1, 1].

Definition at line 33 of file BeamFit2D.hpp.

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

◆ sigma_x

Double_t Moments2D::sigma_x = 0

Definition at line 32 of file BeamFit2D.hpp.

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

◆ sigma_y

Double_t Moments2D::sigma_y = 0

Weighted RMS widths.

Definition at line 32 of file BeamFit2D.hpp.

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

◆ weight

Double_t Moments2D::weight = 0

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

Definition at line 34 of file BeamFit2D.hpp.

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


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