Skip to content

Commit

Permalink
Update to g411
Browse files Browse the repository at this point in the history
Do not delete the G4AnalysisManager in G4.11 or higher
  • Loading branch information
lopezzot committed May 2, 2023
1 parent c2c5842 commit d03f902
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/CaliceRunAction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ CaliceRunAction::~CaliceRunAction() {

//Delete G4AnalysisManager
//
delete G4AnalysisManager::Instance();
#if G4VERSION_NUMBER < 1100
delete G4AnalysisManager::Instance(); // not needed for G4 v11 and up
#endif

}

Expand Down

0 comments on commit d03f902

Please sign in to comment.