ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
Muon::Fit2D::SimpleStats Struct Reference

#include <Fit2D.h>

Collaboration diagram for Muon::Fit2D::SimpleStats:

Public Member Functions

 SimpleStats ()
 
void clear ()
 
std::string toString () const
 

Public Attributes

int n
 
double fMean
 
double fStd
 
double fChi2
 

Detailed Description

Definition at line 61 of file Fit2D.h.

Constructor & Destructor Documentation

◆ SimpleStats()

Muon::Fit2D::SimpleStats::SimpleStats ( )
inline

Definition at line 149 of file Fit2D.h.

149  :
150  n(0),
151  fMean(0.0),
152  fStd(0.0),
153  fChi2(0.0)
154  {
155  }

Member Function Documentation

◆ clear()

void Muon::Fit2D::SimpleStats::clear ( )
inline

Definition at line 157 of file Fit2D.h.

158  {
159  n = 0;
160  fMean = fStd = fChi2 = 0.0;
161  }

◆ toString()

std::string Muon::Fit2D::SimpleStats::toString ( ) const

Definition at line 15 of file Fit2D.cxx.

16 {
17  std::ostringstream oss;
18  oss << "Mean=" << fMean
19  << ", Std=" << fStd
20  << ", N=" << n
21  << ", Chi2=" << fChi2;
22 
23  return oss.str();
24 }

Member Data Documentation

◆ fChi2

double Muon::Fit2D::SimpleStats::fChi2

Definition at line 66 of file Fit2D.h.

◆ fMean

double Muon::Fit2D::SimpleStats::fMean

Definition at line 64 of file Fit2D.h.

◆ fStd

double Muon::Fit2D::SimpleStats::fStd

Definition at line 65 of file Fit2D.h.

◆ n

int Muon::Fit2D::SimpleStats::n

Definition at line 63 of file Fit2D.h.


The documentation for this struct was generated from the following files:
Muon::Fit2D::SimpleStats::n
int n
Definition: Fit2D.h:63
Muon::Fit2D::SimpleStats::fStd
double fStd
Definition: Fit2D.h:65
Muon::Fit2D::SimpleStats::fChi2
double fChi2
Definition: Fit2D.h:66
Muon::Fit2D::SimpleStats::fMean
double fMean
Definition: Fit2D.h:64