43#ifndef G4StatAnalysis_hh
44#define G4StatAnalysis_hh 1
104 inline void PrintInfo(std::ostream& os,
const std::string& =
"")
const;
113 inline void*
operator new(std::size_t);
114 inline void operator delete(
void*);
122 if(_instance == std::nullopt)
125 times(&_instance.value());
127 return &_instance.value();
167#include "G4StatAnalysis.icc"
G4double GetCoeffVariation() const
G4StatAnalysis & operator/=(const G4double &_val)
const G4double & GetSum() const
void SetSumSquared(const G4double &val)
void Add(const G4double &_val, const G4double &_weight=1.0)
const G4double & GetSum1() const
static void ResetCpuClock()
void SetSum1(const G4double &val)
void SetSum(const G4double &val)
const G4double & GetSum2() const
G4StatAnalysis & operator-=(const G4StatAnalysis &)
G4double GetStdDev() const
const G4int & GetHits() const
G4double GetVariance() const
friend std::ostream & operator<<(std::ostream &os, const G4StatAnalysis &obj)
G4double GetCpuTime() const
G4int GetNumNonZero() const
const G4double & GetSumSquared() const
G4double GetEfficiency() const
void SetHits(const G4int &val)
G4double GetR2Eff() const
static tms * GetCpuClock()
G4double GetRelativeError() const
void SetZero(const G4int &val)
G4StatAnalysis & operator+=(const G4double &_val)
G4StatAnalysis & operator+=(const G4StatAnalysis &)
friend const G4StatAnalysis operator+(const G4StatAnalysis &lhs, const G4StatAnalysis &rhs)
friend const G4StatAnalysis operator-(const G4StatAnalysis &lhs, const G4StatAnalysis &rhs)
void PrintInfo(std::ostream &os, const std::string &="") const
G4double GetR2Int() const
void SetSum2(const G4double &val)
void Rescale(const G4double &factor)
#define G4ThreadLocalStatic