Skip to content
Snippets Groups Projects
Commit 0ded21a4 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'DropUnsusedUICommand_ATLASSIM-3454_master' into 'master'

Manual Sweep of !8494 from '21.0' to 'master': Dropping unnecessary Geant4 UI command calls

See merge request atlas/athena!8674
parents 3b36aeb7 7cd53066
No related merge requests found
...@@ -198,8 +198,6 @@ void G4AtlasAlg::initializeOnce() ...@@ -198,8 +198,6 @@ void G4AtlasAlg::initializeOnce()
ui->ApplyCommand("/MagneticField/Initialize"); ui->ApplyCommand("/MagneticField/Initialize");
} }
ui->ApplyCommand("/geometry/navigator/check_mode true");
// Send UI commands // Send UI commands
for (auto g4command : m_g4commands) { for (auto g4command : m_g4commands) {
ui->ApplyCommand( g4command ); ui->ApplyCommand( g4command );
......
...@@ -171,9 +171,6 @@ void iGeant4::G4TransportTool::initializeOnce() ...@@ -171,9 +171,6 @@ void iGeant4::G4TransportTool::initializeOnce()
ui->ApplyCommand("/MagneticField/Initialize"); ui->ApplyCommand("/MagneticField/Initialize");
} }
ATH_MSG_DEBUG("Setting checkmode to true");
ui->ApplyCommand("/geometry/navigator/check_mode true");
if (m_rndmGen=="athena" || m_rndmGen=="ranecu") { if (m_rndmGen=="athena" || m_rndmGen=="ranecu") {
// Set the random number generator to AtRndmGen // Set the random number generator to AtRndmGen
if (m_rndmGenSvc.retrieve().isFailure()) { if (m_rndmGenSvc.retrieve().isFailure()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment