ATLAS Offline Software
Loading...
Searching...
No Matches
TrigL2MuonSA::TgcFit::LinStats Struct Reference

#include <TgcFit.h>

Collaboration diagram for TrigL2MuonSA::TgcFit::LinStats:

Public Member Functions

 LinStats ()
void clear ()
double eval (double fX) const

Public Attributes

int n
 Number of points.
double fIntercept
 Intercept of the fit line.
double fSlope
 Slope of the fit line.
double fR2
 R-squared of the fit.
double fAdjR2
 R-squared adjusted for small samples.
double fChi2
 Total Chi2.
double fCov00
double fCov01
double fCov11

Detailed Description

Definition at line 118 of file TgcFit.h.

Constructor & Destructor Documentation

◆ LinStats()

TrigL2MuonSA::TgcFit::LinStats::LinStats ( )
inline

Definition at line 131 of file TgcFit.h.

131 :
132 n(0), fIntercept(0.0), fSlope(0.0), fR2(0.0), fAdjR2(0.0), fChi2(0.0),
133 fCov00(0.0), fCov01(0.0), fCov11(0.0)
134 {}
double fIntercept
Intercept of the fit line.
Definition TgcFit.h:121
int n
Number of points.
Definition TgcFit.h:120
double fAdjR2
R-squared adjusted for small samples.
Definition TgcFit.h:124
double fChi2
Total Chi2.
Definition TgcFit.h:125
double fSlope
Slope of the fit line.
Definition TgcFit.h:122
double fR2
R-squared of the fit.
Definition TgcFit.h:123

Member Function Documentation

◆ clear()

void TrigL2MuonSA::TgcFit::LinStats::clear ( )
inline

Definition at line 138 of file TgcFit.h.

139 {
140 n = 0;
141 fIntercept = fSlope = fR2 = fAdjR2 = fChi2 = fCov00 = fCov01 = fCov11 = 0.0;
142 }

◆ eval()

double TrigL2MuonSA::TgcFit::LinStats::eval ( double fX) const

Definition at line 42 of file TgcFit.cxx.

43{
44 double fY, fYerr;
45 // suppress thread-checker warning about unchecked code (gsl is thread-safe)
46 int status [[maybe_unused]] ATLAS_THREAD_SAFE =
47 gsl_fit_linear_est(fX, fIntercept, fSlope, fCov00, fCov01, fCov11, &fY, &fYerr);
48 return fY;
49}
#define ATLAS_THREAD_SAFE
status
Definition merge.py:16

Member Data Documentation

◆ fAdjR2

double TrigL2MuonSA::TgcFit::LinStats::fAdjR2

R-squared adjusted for small samples.

Definition at line 124 of file TgcFit.h.

◆ fChi2

double TrigL2MuonSA::TgcFit::LinStats::fChi2

Total Chi2.

Definition at line 125 of file TgcFit.h.

◆ fCov00

double TrigL2MuonSA::TgcFit::LinStats::fCov00

Definition at line 126 of file TgcFit.h.

◆ fCov01

double TrigL2MuonSA::TgcFit::LinStats::fCov01

Definition at line 126 of file TgcFit.h.

◆ fCov11

double TrigL2MuonSA::TgcFit::LinStats::fCov11

Definition at line 126 of file TgcFit.h.

◆ fIntercept

double TrigL2MuonSA::TgcFit::LinStats::fIntercept

Intercept of the fit line.

Definition at line 121 of file TgcFit.h.

◆ fR2

double TrigL2MuonSA::TgcFit::LinStats::fR2

R-squared of the fit.

Definition at line 123 of file TgcFit.h.

◆ fSlope

double TrigL2MuonSA::TgcFit::LinStats::fSlope

Slope of the fit line.

Definition at line 122 of file TgcFit.h.

◆ n

int TrigL2MuonSA::TgcFit::LinStats::n

Number of points.

Definition at line 120 of file TgcFit.h.


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