Skip to content

Commit

Permalink
update command states
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelHu authored Dec 3, 2024
1 parent 831268a commit 650583d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RMGTrackingAction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,15 @@ void RMGTrackingAction::DefineCommands() {
.SetGuidance("If the initial step is a radioactive decay, reset the global time of all its "
"secondary tracks to 0.")
.SetDefaultValue("true")
.SetStates(G4State_PreInit);
.SetStates(G4State_Idle);

fMessenger
->DeclareMethodWithUnit("LargeGlobalTimeUncertaintyWarning", "us",
&RMGTrackingAction::SetLongGlobalTimeUncertaintyWarning)
.SetGuidance("Warn if the global times of tracks get too large to provide the requested time "
"uncertainty.")
.SetDefaultValue("1")
.SetStates(G4State_PreInit);
.SetStates(G4State_Idle);
}

// vim: tabstop=2 shiftwidth=2 expandtab

0 comments on commit 650583d

Please sign in to comment.