Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
@@ -19,6 +19,12 @@ namespace tools {
namespace wroot {
class base_pntuple {
#ifdef TOOLS_MEM
static const std::string& s_class() {
static const std::string s_v("tools::wroot::base_pntuple");
return s_v;
}
#endif
public:
#include "columns.icc"
@@ -29,13 +35,24 @@ public:
,m_seek_directory(a_seek_directory)
,m_name(a_name)
,m_title(a_title)
{}
{
#ifdef TOOLS_MEM
mem::increment(s_class().c_str());
#endif
}
virtual ~base_pntuple() {
safe_clear<icol>(m_cols);
#ifdef TOOLS_MEM
mem::decrement(s_class().c_str());
#endif
}
protected:
base_pntuple(const base_pntuple& a_from):m_out(a_from.m_out){}
base_pntuple(const base_pntuple& a_from):m_out(a_from.m_out){
#ifdef TOOLS_MEM
mem::increment(s_class().c_str());
#endif
}
base_pntuple& operator=(const base_pntuple&){return *this;}
public:
const std::vector<icol*>& columns() const {return m_cols;}