Import Geant4 10.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-12-09 12:35:28 +01:00
parent 4ec577e5c4
commit a3452e42ac
3514 changed files with 210500 additions and 89628 deletions
@@ -47,8 +47,31 @@ class G4StatDouble
public:
G4StatDouble();
G4StatDouble(G4double);
virtual ~G4StatDouble();
public:
G4StatDouble& operator=(const G4double &rhs)
{
reset();
fill(rhs);
return *this;
}
G4StatDouble& operator=(const G4StatDouble &rhs)
{
m_sum_wx = rhs.m_sum_wx;
m_sum_wx2 = rhs.m_sum_wx2;
m_n = rhs.m_n;
m_sum_w = rhs.m_sum_w;
m_sum_w2 = rhs.m_sum_w2;
m_scale = rhs.m_scale;
return *this;
}
G4StatDouble& operator+=(const G4double &rhs)
{ fill(rhs); return *this; }
G4StatDouble& operator+=(const G4StatDouble &rhs)
{ add(&rhs); return *this; }
public:
void reset();