53 : trackingManager(trMan)
58 TrackingDirectory->
SetGuidance(
"TrackingManager and SteppingManager control commands.");
61 AbortCmd->
SetGuidance(
"Abort current G4Track processing.");
64 ResumeCmd->
SetGuidance(
"Resume current G4Track processing.");
67 StoreTrajectoryCmd->
SetGuidance(
"Store trajectories or not.");
68 StoreTrajectoryCmd->
SetGuidance(
" 0 : Don't Store trajectories.");
69 StoreTrajectoryCmd->
SetGuidance(
" !=0 : Store trajectories.");
70 StoreTrajectoryCmd->
SetGuidance(
" 1 : Choose G4Trajectory as default.");
71 StoreTrajectoryCmd->
SetGuidance(
" 2 : Choose G4SmoothTrajectory as default.");
72 StoreTrajectoryCmd->
SetGuidance(
" 3 : Choose G4RichTrajectory as default.");
73 StoreTrajectoryCmd->
SetGuidance(
" 4 : Choose G4RichTrajectory with auxiliary points as default.");
76 StoreTrajectoryCmd->
SetRange(
"Store >=0 && Store <= 4");
80 VerboseCmd->
SetGuidance(
"Set Verbose level of tracking category.");
83 VerboseCmd->
SetGuidance(
" 1 : Minimum information of each Step.");
84 VerboseCmd->
SetGuidance(
" 2 : Addition to Level=1, info of secondary particles.");
85 VerboseCmd->
SetGuidance(
" 3 : Addition to Level=1, pre/postStepoint information");
86 VerboseCmd->
SetGuidance(
" after all AlongStep/PostStep process executions.");
87 VerboseCmd->
SetGuidance(
" 4 : Addition to Level=3, pre/postStepoint information");
88 VerboseCmd->
SetGuidance(
" at each AlongStepPostStep process execution.");
89 VerboseCmd->
SetGuidance(
" 5 : Addition to Level=4, proposed Step length information");
90 VerboseCmd->
SetGuidance(
" from each AlongStepPostStep process.");
93 VerboseCmd->
SetRange(
"verbose_level >=-1 ");
95 VerboseCmd->
SetGuidance(
"You need to recompile the tracking category defining G4VERBOSE ");
103 delete TrackingDirectory;
106 delete StoreTrajectoryCmd;
108 delete auxiliaryPointsFilter;
115 if (command == VerboseCmd) {
119 if (command == AbortCmd) {
124 if (command == ResumeCmd) {
128 if (command == StoreTrajectoryCmd) {
130 if (trajType == 2 || trajType == 4) {
132 if (
nullptr == auxiliaryPointsFilter) {
152 if (command == VerboseCmd) {
155 if (command == StoreTrajectoryCmd) {
void SetTrajectoryFilter(G4VCurvedTrajectoryFilter *filter)
G4Track * GetTrack() const
void SetTrackStatus(const G4TrackStatus aTrackStatus)
G4int GetVerboseLevel() const
void SetVerboseLevel(G4int vLevel)
G4SteppingManager * GetSteppingManager() const
void SetStoreTrajectory(G4int value)
G4int GetStoreTrajectory() const
~G4TrackingMessenger() override
G4TrackingMessenger(G4TrackingManager *trMan)
void SetNewValue(G4UIcommand *command, G4String newValues) override
G4String GetCurrentValue(G4UIcommand *command) override
static G4TransportationManager * GetTransportationManager()
G4PropagatorInField * GetPropagatorInField() const
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4int defVal)
static G4String ConvertToString(G4bool boolVal)
void SetGuidance(const char *aGuidance)
static G4int ConvertToInt(const char *st)
void SetRange(const char *rs)
G4int ApplyCommand(const char *aCommand)
static G4UImanager * GetUIpointer()