#include <G4TrackingMessenger.hh>
Definition at line 52 of file G4TrackingMessenger.hh.
◆ G4TrackingMessenger()
Definition at line 51 of file G4TrackingMessenger.cc.
53 : trackingManager(trMan)
54{
56
58 TrackingDirectory->
SetGuidance(
"TrackingManager and SteppingManager control commands.");
59
61 AbortCmd->
SetGuidance(
"Abort current G4Track processing.");
62
64 ResumeCmd->
SetGuidance(
"Resume current G4Track processing.");
65
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");
77
79#ifdef G4VERBOSE
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 ");
94#else
95 VerboseCmd->
SetGuidance(
"You need to recompile the tracking category defining G4VERBOSE ");
96#endif
97}
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 |
( |
| ) |
|
|
override |
Definition at line 100 of file G4TrackingMessenger.cc.
102{
103 delete TrackingDirectory;
104 delete AbortCmd;
105 delete ResumeCmd;
106 delete StoreTrajectoryCmd;
107 delete VerboseCmd;
108 delete auxiliaryPointsFilter;
109}
◆ GetCurrentValue()
Reimplemented from G4UImessenger.
Definition at line 149 of file G4TrackingMessenger.cc.
151{
152 if (command == VerboseCmd) {
154 }
155 if (command == StoreTrajectoryCmd) {
157 }
159}
G4int GetVerboseLevel() const
G4int GetStoreTrajectory() const
static G4String ConvertToString(G4bool boolVal)
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 112 of file G4TrackingMessenger.cc.
114{
115 if (command == VerboseCmd) {
117 }
118
119 if (command == AbortCmd) {
122 }
123
124 if (command == ResumeCmd) {
126 }
127
128 if (command == StoreTrajectoryCmd) {
130 if (trajType == 2 || trajType == 4) {
131
132 if (nullptr == auxiliaryPointsFilter) {
134 }
138 }
139 else {
143 }
145 }
146}
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: