Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4StatDouble.hh>
Public Member Functions | |
G4StatDouble () | |
G4StatDouble (G4double) | |
virtual | ~G4StatDouble () |
G4StatDouble (const G4StatDouble &)=default | |
G4StatDouble & | operator= (const G4double &rhs) |
G4StatDouble & | operator= (const G4StatDouble &rhs) |
G4StatDouble & | operator+= (const G4double &rhs) |
G4StatDouble & | operator+= (const G4StatDouble &rhs) |
void | reset () |
void | fill (G4double x, G4double weight=1.) |
void | scale (G4double) |
G4double | mean () const |
G4double | rms () |
G4double | mean (G4double ext_sum_w) const |
G4double | rms (G4double ext_sum_w, G4int ext_n) |
void | add (const G4StatDouble *) |
G4int | n () const |
G4double | sum_w () const |
G4double | sum_w2 () const |
G4double | sum_wx () const |
G4double | sum_wx2 () const |
Protected Member Functions | |
G4double | rms (G4double sum_wx, G4double sum_wx2, G4double sum_w, G4int n) |
Protected Attributes | |
G4double | m_sum_wx = 0.0 |
G4double | m_sum_wx2 = 0.0 |
G4int | m_n = 0 |
G4double | m_sum_w = 0.0 |
G4double | m_sum_w2 = 0.0 |
G4double | m_scale = 0.0 |
Definition at line 40 of file G4StatDouble.hh.
G4StatDouble::G4StatDouble | ( | ) |
Definition at line 33 of file G4StatDouble.cc.
G4StatDouble::G4StatDouble | ( | G4double | x | ) |
Definition at line 35 of file G4StatDouble.cc.
|
virtual |
Definition at line 47 of file G4StatDouble.cc.
|
default |
void G4StatDouble::add | ( | const G4StatDouble * | ptr | ) |
Definition at line 49 of file G4StatDouble.cc.
Referenced by G4StatDouble(), operator+=(), and operator=().
G4double G4StatDouble::mean | ( | ) | const |
Definition at line 68 of file G4StatDouble.cc.
Referenced by mean().
Definition at line 78 of file G4StatDouble.cc.
|
inline |
|
inline |
Definition at line 65 of file G4StatDouble.hh.
|
inline |
Definition at line 70 of file G4StatDouble.hh.
|
inline |
Definition at line 49 of file G4StatDouble.hh.
|
inline |
void G4StatDouble::reset | ( | ) |
Definition at line 37 of file G4StatDouble.cc.
Referenced by G4StatDouble(), and operator=().
G4double G4StatDouble::rms | ( | ) |
Definition at line 130 of file G4StatDouble.cc.
Referenced by rms().
Definition at line 138 of file G4StatDouble.cc.
Definition at line 92 of file G4StatDouble.cc.
void G4StatDouble::scale | ( | G4double | value | ) |
Definition at line 66 of file G4StatDouble.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 106 of file G4StatDouble.hh.
Referenced by add(), fill(), n(), operator=(), reset(), and rms().
|
protected |
Definition at line 109 of file G4StatDouble.hh.
Referenced by mean(), operator=(), reset(), rms(), and scale().
|
protected |
Definition at line 107 of file G4StatDouble.hh.
Referenced by add(), fill(), mean(), operator=(), reset(), rms(), and sum_w().
|
protected |
Definition at line 108 of file G4StatDouble.hh.
Referenced by add(), fill(), operator=(), reset(), and sum_w2().
|
protected |
Definition at line 104 of file G4StatDouble.hh.
Referenced by add(), fill(), mean(), operator=(), reset(), rms(), and sum_wx().
|
protected |
Definition at line 105 of file G4StatDouble.hh.
Referenced by add(), fill(), operator=(), reset(), rms(), and sum_wx2().