52 : trackingManager(trMan)
57 TrackingDirectory->
SetGuidance(
"TrackingManager and SteppingManager control commands.");
60 AbortCmd->
SetGuidance(
"Abort current G4Track processing.");
63 ResumeCmd->
SetGuidance(
"Resume current G4Track processing.");
66 StoreTrajectoryCmd->
SetGuidance(
"Store trajectories or not.");
67 StoreTrajectoryCmd->
SetGuidance(
" 0 : Don't Store trajectories.");
68 StoreTrajectoryCmd->
SetGuidance(
" !=0 : Store trajectories.");
69 StoreTrajectoryCmd->
SetGuidance(
" 1 : Choose G4Trajectory as default.");
70 StoreTrajectoryCmd->
SetGuidance(
" 2 : Choose G4SmoothTrajectory as default.");
71 StoreTrajectoryCmd->
SetGuidance(
" 3 : Choose G4RichTrajectory as default.");
72 StoreTrajectoryCmd->
SetGuidance(
" 4 : Choose G4RichTrajectory with auxiliary points as default.");
75 StoreTrajectoryCmd->
SetRange(
"Store >=0 && Store <= 4");
79 VerboseCmd->
SetGuidance(
"Set Verbose level of tracking category.");
82 VerboseCmd->
SetGuidance(
" 1 : Minimum information of each Step.");
83 VerboseCmd->
SetGuidance(
" 2 : Addition to Level=1, info of secondary particles.");
84 VerboseCmd->
SetGuidance(
" 3 : Addition to Level=1, pre/postStepoint information");
85 VerboseCmd->
SetGuidance(
" after all AlongStep/PostStep process executions.");
86 VerboseCmd->
SetGuidance(
" 4 : Addition to Level=3, pre/postStepoint information");
87 VerboseCmd->
SetGuidance(
" at each AlongStepPostStep process execution.");
88 VerboseCmd->
SetGuidance(
" 5 : Addition to Level=4, proposed Step length information");
89 VerboseCmd->
SetGuidance(
" from each AlongStepPostStep process.");
92 VerboseCmd->
SetRange(
"verbose_level >=-1 ");
94 VerboseCmd->
SetGuidance(
"You need to recompile the tracking category defining G4VERBOSE ");
102 delete TrackingDirectory;
105 delete StoreTrajectoryCmd;
113 if( command == VerboseCmd )
118 if( command == AbortCmd )
124 if( command == ResumeCmd )
131 if(auxiliaryPointsFilter ==
nullptr)
135 if( command == StoreTrajectoryCmd )
138 if(trajType==2||trajType==4)
156 if( command == VerboseCmd )
160 else if( command == StoreTrajectoryCmd )
162 return 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(G4TrackingManager *trMan)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValues)
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()