29 :myTrackingAction(myTA)
35 TrackingFlag_Cmd =
new G4UIcmdWithAnInteger(
"/TrackingAction/TrackingFlag",
this);
38 TrackingFlag_Cmd->SetGuidance(
" 1 : Track primary electrons and optical photons only");
39 TrackingFlag_Cmd->SetGuidance(
" 2 : Track all particles except optical photons");
60 G4cout <<
"#### Calling QweakSimTrackingActionMessenger::SetNewValue() " << newValue << G4endl;
64 G4cout <<
"#### Messenger: Setting Tracking Flag to " << newValue << G4endl;
69 G4cout <<
"#### Leaving QweakSimTrackingActionMessenger::SetNewValue() " << newValue << G4endl;
G4UIcmdWithAnInteger * TrackingFlag_Cmd
Adds additional information to primary/secondary track before track starts stepping.
QweakSimTrackingActionMessenger(QweakSimTrackingAction *)
QweakSimTrackingAction * myTrackingAction
void SetNewValue(G4UIcommand *, G4String)
~QweakSimTrackingActionMessenger()
void SetTrackingFlag(G4int myflag)
G4UIdirectory * TrackingActionDir