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

Result of fitting the two-component mixture to one strip's scatter. More...

#include <RegionCuts.hpp>

Collaboration diagram for RegionFit:

Public Attributes

Gauss2D beam
 The beam-like population, pinned from its own core.
Gauss2D reac
 The reaction population above the ridge.
Double_t x_lo = 0.0
Double_t x_hi = 0.0
Double_t y_lo = 0.0
Double_t y_hi = 0.0
 Fit window.
Double_t n_beam = 0.0
 Events the mixture attributes to each component.
Double_t n_reac = 0.0
Bool_t has_reac = kTRUE
 kFALSE for a beam-only fit, as used by the ridge-band region mode.
Bool_t ok = kFALSE
 Whether the fit succeeded. Check this first.
TString why
 Why the fit failed; set only when ok is false.

Detailed Description

Result of fitting the two-component mixture to one strip's scatter.

Check ok before reading anything; why says what went wrong when it is false.

Definition at line 90 of file RegionCuts.hpp.

Member Data Documentation

◆ beam

Gauss2D RegionFit::beam

The beam-like population, pinned from its own core.

Definition at line 91 of file RegionCuts.hpp.

Referenced by RegionCutFinder::FitBeam(), RegionCutFinder::FitMixture(), RegionCutStore::LoadFit(), main(), and RegionCutFinder::SaveFigures().

◆ has_reac

Bool_t RegionFit::has_reac = kTRUE

kFALSE for a beam-only fit, as used by the ridge-band region mode.

reac is then a copy of beam with zero amplitude, and nothing draws or counts it.

Definition at line 105 of file RegionCuts.hpp.

Referenced by RegionCutFinder::FitBeam(), and RegionCutFinder::SaveFigures().

◆ n_beam

Double_t RegionFit::n_beam = 0.0

Events the mixture attributes to each component.

Where the island sits on the beam's tail, this is the count a person drawing a tight region gets, and what a geometric cut cannot give: the region's ellipse also holds whatever tail lies under it, and the beam's real tail is far heavier than its Gaussian, so no model subtraction recovers it.

Definition at line 101 of file RegionCuts.hpp.

Referenced by RegionCutFinder::FitMixture(), and RegionCutStore::LoadFit().

◆ n_reac

Double_t RegionFit::n_reac = 0.0

Definition at line 101 of file RegionCuts.hpp.

Referenced by RegionCutFinder::FitMixture(), RegionCutStore::LoadFit(), and main().

◆ ok

Bool_t RegionFit::ok = kFALSE

Whether the fit succeeded. Check this first.

Definition at line 106 of file RegionCuts.hpp.

Referenced by RegionCutFinder::FitBeam(), RegionCutFinder::FitMixture(), RegionCutStore::LoadFit(), and main().

◆ reac

Gauss2D RegionFit::reac

The reaction population above the ridge.

Definition at line 92 of file RegionCuts.hpp.

Referenced by RegionCutFinder::FitBeam(), RegionCutFinder::FitMixture(), RegionCutStore::LoadFit(), main(), and RegionCutFinder::SaveFigures().

◆ why

TString RegionFit::why

Why the fit failed; set only when ok is false.

Definition at line 107 of file RegionCuts.hpp.

Referenced by RegionCutFinder::FitBeam(), RegionCutFinder::FitMixture(), and main().

◆ x_hi

Double_t RegionFit::x_hi = 0.0

◆ x_lo

Double_t RegionFit::x_lo = 0.0

◆ y_hi

Double_t RegionFit::y_hi = 0.0

◆ y_lo

Double_t RegionFit::y_lo = 0.0

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