Import Geant4 11.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2022-12-09 14:43:28 +01:00
parent c07cea1fe0
commit 9f34590941
3810 changed files with 200490 additions and 182326 deletions
@@ -34,13 +34,13 @@
#include "G4UIcmdWithAString.hh"
#include "G4UIdirectory.hh"
#include "PhysicsList.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
PhysicsListMessenger::PhysicsListMessenger(PhysicsList* pPhys)
: G4UImessenger()
, fPhysicsList(pPhys)
: G4UImessenger(), fPhysicsList(pPhys)
{
fModeCmd.reset(new G4UIcmdWithAString("/setMode", this));
fModeCmd->SetGuidance("Add physics mode.");
@@ -57,8 +57,7 @@ PhysicsListMessenger::~PhysicsListMessenger() = default;
void PhysicsListMessenger::SetNewValue(G4UIcommand* command, G4String newValue)
{
if(command == fModeCmd.get())
{
if (command == fModeCmd.get()) {
fPhysicsList->SetMode(newValue);
}
}