From e9558144ef795fbb3be367e664513f6a66d1e131 Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Sat, 3 Feb 2024 17:27:50 -0600
Subject: [PATCH] feat: print Geant4TestActions properties at destruction

---
 DDG4/src/Geant4TestActions.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/DDG4/src/Geant4TestActions.cpp b/DDG4/src/Geant4TestActions.cpp
index 50c048aef..28ed166fd 100644
--- a/DDG4/src/Geant4TestActions.cpp
+++ b/DDG4/src/Geant4TestActions.cpp
@@ -47,6 +47,7 @@ Geant4TestBase::Geant4TestBase(Geant4Action* a, const std::string& typ)
 }
 /// Default destructor
 Geant4TestBase::~Geant4TestBase() {
+  printout(VERBOSE, m_type, "properties at destruction: %d, %f, %s", m_value1, m_value2, m_value3.c_str());
   InstanceCount::decrement(this);
 }
 
-- 
GitLab