45 statusCmd->
SetGuidance(
"List current status of the stack.");
49 clearCmd->
SetGuidance(
" 2 : clear all tracks in all stacks");
50 clearCmd->
SetGuidance(
" 1 : clear tracks in the urgent and waiting stacks");
51 clearCmd->
SetGuidance(
" 0 : clear tracks in the waiting stack (default)");
52 clearCmd->
SetGuidance(
"-1 : clear tracks in the urgent stack");
53 clearCmd->
SetGuidance(
"-2 : clear tracks in the postponed stack");
56 clearCmd->
SetRange(
"level>=-2&&level<=2");
60 verboseCmd->
SetGuidance(
"Set verbose level for G4StackManager");
64 verboseCmd->
SetGuidance(
"Note - this value is overwritten by /event/verbose command.");
77 if( command==statusCmd )
79 G4cout <<
"========================== Current status of the stack =====" <<
G4endl;
85 else if( command==clearCmd )
105 else if( command==verboseCmd )
G4DLLIMPORT std::ostream G4cout
G4int GetNUrgentTrack() const
G4int GetNPostponedTrack() const
void SetVerboseLevel(G4int const value)
void ClearPostponeStack()
G4int GetNWaitingTrack(int i=0) const
void ClearWaitingStack(int i=0)
G4StackingMessenger(G4StackManager *fCont)
void SetNewValue(G4UIcommand *command, G4String newValues)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
void SetDefaultValue(G4int defVal)
void SetGuidance(const char *aGuidance)
void SetRange(const char *rs)
void AvailableForStates(G4ApplicationState s1)