27 #include "ExExChStackingActionMessenger.hh" 34 ExExChStackingActionMessenger::
38 fKillAllSecondariesCmd =
40 fKillAllSecondariesCmd->SetGuidance(
"Kill all secondary particles");
41 fKillAllSecondariesCmd->SetParameterName(
"killall",
true);
42 fKillAllSecondariesCmd->SetDefaultValue(
false);
47 ExExChStackingActionMessenger::~ExExChStackingActionMessenger()
49 delete fKillAllSecondariesCmd;
54 void ExExChStackingActionMessenger::SetNewValue(
G4UIcommand* command,
57 if(command == fKillAllSecondariesCmd) {
58 fStackAction->SetKillStatus(
59 fKillAllSecondariesCmd->GetNewBoolValue(newValue));