Import Geant4 11.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2023-12-08 10:43:34 +01:00
parent dd1f179cda
commit 860a2b92bf
3962 changed files with 139318 additions and 164259 deletions
@@ -26,6 +26,8 @@
#include "G4HnInformation.hh"
#include "G4THnToolsManager.hh"
//_____________________________________________________________________________
template <typename HT>
inline
@@ -38,7 +40,9 @@ G4bool G4ToolsAnalysisManager::WriteT(
auto activation = info->GetActivation();
// skip writing if activation is enabled and H1 is inactivated
if ( fState.GetIsActivation() && ( ! activation ) ) continue;
// or if histogram was deleted
if ( ( fState.GetIsActivation() && ( ! activation ) ) ||
( info->GetDeleted() ) ) continue;
auto name = info->GetName();
auto fileName = info->GetFileName();