Import Geant4 11.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2021-12-10 14:46:44 +01:00
committed by Ben Morgan
parent 6399a014b6
commit 80e2389dd8
3932 changed files with 202519 additions and 246221 deletions
@@ -79,7 +79,6 @@ class G4TScoreHistFiller : public G4VScoreHistFiller
// data members
T* fAnalysisManager = nullptr;
G4int fVerboseLevel = 0;
G4bool fHasAnalysisManager = false;
G4bool fIsInitialized = false;
};
@@ -42,18 +42,12 @@ G4TScoreHistFiller<T>::G4TScoreHistFiller()
template <typename T>
G4TScoreHistFiller<T>::~G4TScoreHistFiller()
{
if(fHasAnalysisManager)
{
delete fAnalysisManager;
}
}
template <typename T>
void G4TScoreHistFiller<T>::CreateAnalysisManager()
{
// create analysis manager
if(!T::IsInstance())
fHasAnalysisManager = true;
// get/create analysis manager
fAnalysisManager = T::Instance();
fAnalysisManager->SetVerboseLevel(fVerboseLevel);