Import Geant4 10.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2017-12-08 12:52:30 +01:00
parent 98e455a940
commit fc6af9e721
2166 changed files with 276760 additions and 100873 deletions
@@ -244,6 +244,21 @@ public:
m_edges = a_from.m_edges;
return *this;
}
public:
bool equals(const axis& a_from) const {
if(&a_from==this) return true;
if(m_offset!=a_from.m_offset) return false;
if(m_number_of_bins!=a_from.m_number_of_bins) return false;
if(m_minimum_value!=a_from.m_minimum_value) return false;
if(m_maximum_value!=a_from.m_maximum_value) return false;
if(m_fixed!=a_from.m_fixed) return false;
if(m_bin_width!=a_from.m_bin_width) return false;
if(m_edges!=a_from.m_edges) return false;
return true;
}
bool operator==(const axis& a_from) const {return equals(a_from);}
bool operator!=(const axis& a_from) const {return !equals(a_from);}
public:
TO m_offset;