#include <G4StatDouble.hh>
Definition at line 46 of file G4StatDouble.hh.
◆ G4StatDouble()
G4StatDouble::G4StatDouble |
( |
| ) |
|
◆ ~G4StatDouble()
G4StatDouble::~G4StatDouble |
( |
| ) |
|
|
virtual |
◆ fill()
Definition at line 58 of file G4StatDouble.cc.
59{
65
66 if (weight <= 0.)
67 {
68 G4cout <<
"[G4StatDouble::fill] WARNING: weight<=0. "
70 }
71}
G4DLLIMPORT std::ostream G4cout
◆ mean() [1/2]
◆ mean() [2/2]
Definition at line 88 of file G4StatDouble.cc.
89{
91
92
93
94 if (ext_sum_w > 0)
95 {
97 factor /= ext_sum_w;
98 }
99 return mean() * factor;
100
101}
◆ n()
G4int G4StatDouble::n |
( |
| ) |
const |
|
inline |
◆ reset()
void G4StatDouble::reset |
( |
| ) |
|
◆ rms() [1/3]
◆ rms() [2/3]
◆ rms() [3/3]
Definition at line 103 of file G4StatDouble.cc.
105{
107 if (nn > 1)
108 {
112
113
114
115
116
117
118
119
120
121
122 (1. / (xn - 1))
123 * ((ssum_wx2 / ssum_w) - (vmean * vmean));
124
125 if (tmp < 0.) tmp=0.;
126 vrms = std::sqrt( tmp );
127
128
129
130
131
132
133
134
135
136
137 }
138 else
139 {
140 vrms = -1.;
141 }
143}
◆ scale()
void G4StatDouble::scale |
( |
G4double |
value | ) |
|
◆ sum_w()
◆ sum_w2()
◆ sum_wx()
◆ sum_wx2()
G4double G4StatDouble::sum_wx2 |
( |
| ) |
const |
|
inline |
◆ m_n
◆ 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: