#include <G4StatDouble.hh>
Definition at line 40 of file G4StatDouble.hh.
◆ G4StatDouble() [1/3]
G4StatDouble::G4StatDouble |
( |
| ) |
|
◆ G4StatDouble() [2/3]
G4StatDouble::G4StatDouble |
( |
G4double |
x | ) |
|
◆ ~G4StatDouble()
G4StatDouble::~G4StatDouble |
( |
| ) |
|
|
virtual |
◆ G4StatDouble() [3/3]
◆ add()
◆ fill()
◆ mean() [1/2]
◆ mean() [2/2]
Definition at line 78 of file G4StatDouble.cc.
79{
81
82
83
84 if(ext_sum_w > 0)
85 {
87 factor /= ext_sum_w;
88 }
89 return mean() * factor;
90}
References m_sum_w, and mean().
◆ n()
G4int G4StatDouble::n |
( |
| ) |
const |
|
inline |
◆ operator+=() [1/2]
◆ operator+=() [2/2]
Definition at line 70 of file G4StatDouble.hh.
71 {
73 return *this;
74 }
void add(const G4StatDouble *)
References add().
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ reset()
void G4StatDouble::reset |
( |
| ) |
|
◆ rms() [1/3]
◆ rms() [2/3]
◆ rms() [3/3]
Definition at line 92 of file G4StatDouble.cc.
94{
97 {
101
102
103
104
105
106
107
108
109
110
111 (xn / (xn - 1)) * ((ssum_wx2 / ssum_w) - (vmean * vmean));
112
114 vrms = std::sqrt(tmp);
115
116
117
118
119
120
121
122
123
124
125
126 }
128}
T max(const T t1, const T t2)
brief Return the largest of the two arguments
References m_scale, G4INCL::Math::max(), and G4InuclParticleNames::nn.
◆ scale()
void G4StatDouble::scale |
( |
G4double |
value | ) |
|
◆ sum_w()
◆ sum_w2()
◆ sum_wx()
◆ sum_wx2()
G4double G4StatDouble::sum_wx2 |
( |
| ) |
const |
|
inline |
◆ m_n
G4int G4StatDouble::m_n = 0 |
|
protected |
◆ m_scale
◆ m_sum_w
◆ m_sum_w2
◆ m_sum_wx
◆ m_sum_wx2
The documentation for this class was generated from the following files: