ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
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. More...
 
double fIntercept
 Intercept of the fit line. More...
 
double fSlope
 Slope of the fit line. More...
 
double fR2
 R-squared of the fit. More...
 
double fAdjR2
 R-squared adjusted for small samples. More...
 
double fChi2
 Total Chi2. More...
 
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  {}

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 }

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:
TrigL2MuonSA::TgcFit::LinStats::fCov11
double fCov11
Definition: TgcFit.h:126
TrigL2MuonSA::TgcFit::LinStats::fCov01
double fCov01
Definition: TgcFit.h:126
TrigL2MuonSA::TgcFit::LinStats::fIntercept
double fIntercept
Intercept of the fit line.
Definition: TgcFit.h:121
TrigL2MuonSA::TgcFit::LinStats::fCov00
double fCov00
Definition: TgcFit.h:126
TrigL2MuonSA::TgcFit::LinStats::fAdjR2
double fAdjR2
R-squared adjusted for small samples.
Definition: TgcFit.h:124
TrigL2MuonSA::TgcFit::LinStats::fR2
double fR2
R-squared of the fit.
Definition: TgcFit.h:123
TrigL2MuonSA::TgcFit::LinStats::fChi2
double fChi2
Total Chi2.
Definition: TgcFit.h:125
TrigL2MuonSA::TgcFit::LinStats::fSlope
double fSlope
Slope of the fit line.
Definition: TgcFit.h:122
TrigL2MuonSA::TgcFit::LinStats::n
int n
Number of points.
Definition: TgcFit.h:120
merge.status
status
Definition: merge.py:17
ATLAS_THREAD_SAFE
#define ATLAS_THREAD_SAFE
Definition: checker_macros.h:211