#include <G4TrackingMessenger.hh>
Definition at line 51 of file G4TrackingMessenger.hh.
◆ G4TrackingMessenger()
Definition at line 50 of file G4TrackingMessenger.cc.
52 : trackingManager(trMan)
53{
55
57 TrackingDirectory->
SetGuidance(
"TrackingManager and SteppingManager control commands.");
58
60 AbortCmd->
SetGuidance(
"Abort current G4Track processing.");
61
63 ResumeCmd->
SetGuidance(
"Resume current G4Track processing.");
64
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");
76
78#ifdef G4VERBOSE
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 ");
93#else
94 VerboseCmd->
SetGuidance(
"You need to recompile the tracking category defining G4VERBOSE ");
95#endif
96}
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 99 of file G4TrackingMessenger.cc.
101{
102 delete TrackingDirectory;
103 delete AbortCmd;
104 delete ResumeCmd;
105 delete StoreTrajectoryCmd;
106 delete VerboseCmd;
107}
◆ GetCurrentValue()
Reimplemented from G4UImessenger.
Definition at line 153 of file G4TrackingMessenger.cc.
155{
156 if( command == VerboseCmd )
157 {
159 }
160 else if( command == StoreTrajectoryCmd )
161 {
162 return StoreTrajectoryCmd
164 }
166}
G4int GetVerboseLevel() const
G4int GetStoreTrajectory() const
static G4String ConvertToString(G4bool boolVal)
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 110 of file G4TrackingMessenger.cc.
112{
113 if( command == VerboseCmd )
114 {
116 }
117
118 if( command == AbortCmd )
119 {
122 }
123
124 if( command == ResumeCmd )
125 {
127 }
128
131 if(auxiliaryPointsFilter == nullptr)
132 {
134 }
135 if( command == StoreTrajectoryCmd )
136 {
138 if(trajType==2||trajType==4)
139 {
142 }
143 else
144 {
147 }
149 }
150}
void SetTrajectoryFilter(G4VCurvedTrajectoryFilter *filter)
G4Track * GetTrack() const
void SetTrackStatus(const G4TrackStatus aTrackStatus)
void SetVerboseLevel(G4int vLevel)
void SetStoreTrajectory(G4int value)
static G4TransportationManager * GetTransportationManager()
G4PropagatorInField * GetPropagatorInField() const
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: