musrfit 1.10.0
PMsrStatisticStructure Struct Reference

#include <PMusr.h>

Public Attributes

Bool_t fValid
 flag showing if the statistics block is valid, i.e. a fit took place which converged
 
PMsrLines fStatLines
 statistics block in msr-file clear text
 
TString fDate
 string holding fitting date and time
 
Bool_t fChisq
 flag telling if min = chi2 or min = max.likelihood
 
Double_t fMin
 chisq or max. likelihood
 
PDoubleVector fMinPerHisto
 chisq or max. likelihood per histo
 
UInt_t fNdf
 number of degrees of freedom
 
Double_t fMinExpected
 expected total chi2 or max. likelihood
 
PDoubleVector fMinExpectedPerHisto
 expected pre histo chi2 or max. likelihood
 
PUIntVector fNdfPerHisto
 number of degrees of freedom per histo
 

Detailed Description

Structure containing fit statistics and results.

The STATISTIC block is automatically generated after a successful fit, containing χ² (or maximum likelihood), degrees of freedom, expected values, and per-histogram statistics. This information assesses the quality of fit and helps identify problematic data sets.

Note: This block is written by musrfit after fitting and should not be manually edited in MSR files.

Definition at line 1344 of file PMusr.h.

Member Data Documentation

◆ fChisq

Bool_t PMsrStatisticStructure::fChisq

flag telling if min = chi2 or min = max.likelihood

Definition at line 1348 of file PMusr.h.

Referenced by PMusrCanvas::UpdateInfoPad(), and PMsr2Data::WriteOutput().

◆ fDate

TString PMsrStatisticStructure::fDate

string holding fitting date and time

Definition at line 1347 of file PMusr.h.

Referenced by PMusrCanvas::UpdateInfoPad().

◆ fMin

Double_t PMsrStatisticStructure::fMin

chisq or max. likelihood

Definition at line 1349 of file PMusr.h.

Referenced by PFitter::ExecuteSave(), PMusrCanvas::UpdateInfoPad(), and PMsr2Data::WriteOutput().

◆ fMinExpected

Double_t PMsrStatisticStructure::fMinExpected

expected total chi2 or max. likelihood

Definition at line 1352 of file PMusr.h.

Referenced by PFitter::ExecuteSave().

◆ fMinExpectedPerHisto

PDoubleVector PMsrStatisticStructure::fMinExpectedPerHisto

expected pre histo chi2 or max. likelihood

Definition at line 1353 of file PMusr.h.

Referenced by PFitter::ExecuteSave().

◆ fMinPerHisto

PDoubleVector PMsrStatisticStructure::fMinPerHisto

chisq or max. likelihood per histo

Definition at line 1350 of file PMusr.h.

Referenced by PFitter::ExecuteSave().

◆ fNdf

UInt_t PMsrStatisticStructure::fNdf

number of degrees of freedom

Definition at line 1351 of file PMusr.h.

Referenced by PFitter::ExecuteSave(), PMusrCanvas::UpdateInfoPad(), and PMsr2Data::WriteOutput().

◆ fNdfPerHisto

PUIntVector PMsrStatisticStructure::fNdfPerHisto

number of degrees of freedom per histo

Definition at line 1354 of file PMusr.h.

Referenced by PFitter::ExecuteSave().

◆ fStatLines

PMsrLines PMsrStatisticStructure::fStatLines

statistics block in msr-file clear text

Definition at line 1346 of file PMusr.h.

◆ fValid

Bool_t PMsrStatisticStructure::fValid

flag showing if the statistics block is valid, i.e. a fit took place which converged

Definition at line 1345 of file PMusr.h.

Referenced by PMsr2Data::WriteOutput().


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