#include <G4TrackingMessenger.hh>
Definition at line 56 of file G4TrackingMessenger.hh.
◆ G4TrackingMessenger()
Definition at line 57 of file G4TrackingMessenger.cc.
59: trackingManager(trMan)
60{
62
64 TrackingDirectory->
SetGuidance(
"TrackingManager and SteppingManager control commands.");
65
67 AbortCmd->
SetGuidance(
"Abort current G4Track processing.");
68
69
71 ResumeCmd->
SetGuidance(
"Resume current G4Track processing.");
72
74 StoreTrajectoryCmd->
SetGuidance(
"Store trajectories or not.");
75 StoreTrajectoryCmd->
SetGuidance(
" 0 : Don't Store trajectories.");
76 StoreTrajectoryCmd->
SetGuidance(
" !=0 : Store trajectories.");
77 StoreTrajectoryCmd->
SetGuidance(
" 1 : Choose G4Trajectory as default.");
78 StoreTrajectoryCmd->
SetGuidance(
" 2 : Choose G4SmoothTrajectory as default.");
79 StoreTrajectoryCmd->
SetGuidance(
" 3 : Choose G4RichTrajectory as default.");
82 StoreTrajectoryCmd->
SetRange(
"Store >=0 && Store <= 3");
83
84
86#ifdef G4VERBOSE
87 VerboseCmd->
SetGuidance(
"Set Verbose level of tracking category.");
90 VerboseCmd->
SetGuidance(
" 1 : Minium information of each Step.");
91 VerboseCmd->
SetGuidance(
" 2 : Addition to Level=1, info of secondary particles.");
92 VerboseCmd->
SetGuidance(
" 3 : Addition to Level=1, pre/postStepoint information");
93 VerboseCmd->
SetGuidance(
" after all AlongStep/PostStep process executions.");
94 VerboseCmd->
SetGuidance(
" 4 : Addition to Level=3, pre/postStepoint information");
95 VerboseCmd->
SetGuidance(
" at each AlongStepPostStep process execuation.");
96 VerboseCmd->
SetGuidance(
" 5 : Addition to Level=4, proposed Step length information");
97 VerboseCmd->
SetGuidance(
" from each AlongStepPostStep process.");
100 VerboseCmd->
SetRange(
"verbose_level >=-1 ");
101#else
102 VerboseCmd->
SetGuidance(
"You need to recompile the tracking category defining G4VERBOSE ");
103#endif
104}
G4SteppingManager * GetSteppingManager() const
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4int defVal)
void SetGuidance(const char *aGuidance)
void SetRange(const char *rs)
◆ ~G4TrackingMessenger()
G4TrackingMessenger::~G4TrackingMessenger |
( |
| ) |
|
Definition at line 107 of file G4TrackingMessenger.cc.
109{
110 delete TrackingDirectory;
111 delete AbortCmd;
112 delete ResumeCmd;
113 delete StoreTrajectoryCmd;
114 delete VerboseCmd;
115}
◆ GetCurrentValue()
Reimplemented from G4UImessenger.
Definition at line 141 of file G4TrackingMessenger.cc.
143{
144 if( command == VerboseCmd ){
146 }
147 else if( command == StoreTrajectoryCmd ){
149 }
151}
G4int GetVerboseLevel() const
G4int GetStoreTrajectory() const
static G4String ConvertToString(G4bool boolVal)
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 118 of file G4TrackingMessenger.cc.
120{
121 if( command == VerboseCmd ){
123 }
124
125 if( command == AbortCmd ){
128 }
129
130 if( command == ResumeCmd ){
132 }
133
134 if( command == StoreTrajectoryCmd ){
136 }
137}
G4Track * GetTrack() const
void SetTrackStatus(const G4TrackStatus aTrackStatus)
void SetVerboseLevel(G4int vLevel)
void SetStoreTrajectory(G4int value)
static G4int ConvertToInt(const char *st)
G4int ApplyCommand(const char *aCommand)
static G4UImanager * GetUIpointer()
The documentation for this class was generated from the following files: