Skip to content

Commit

Permalink
restrict allowed states for two physics commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelHu committed Apr 4, 2024
1 parent 4c8be7c commit 7bcf55c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RMGPhysics.cc
Original file line number Diff line number Diff line change
Expand Up @@ -359,12 +359,12 @@ void RMGPhysics::DefineCommands() {

fMessenger->DeclareProperty("OpticalPhysics", fConstructOptical)
.SetGuidance("Add optical processes to the physics list")
.SetStates(G4State_PreInit, G4State_Idle);
.SetStates(G4State_PreInit);

fMessenger->DeclareMethod("LowEnergyEMPhysics", &RMGPhysics::SetLowEnergyEMOptionString)
.SetGuidance("Add low energy electromagnetic processes to the physics list")
.SetCandidates(RMGTools::GetCandidates<RMGPhysics::LowEnergyEMOption>())
.SetStates(G4State_PreInit, G4State_Idle);
.SetStates(G4State_PreInit);

fMessenger->DeclareMethod("EnableGammaAngularCorrelation", &RMGPhysics::SetUseGammaAngCorr)
.SetGuidance("")
Expand Down

0 comments on commit 7bcf55c

Please sign in to comment.