130{
132 if (SetCurrentParticle() == nullptr)
133 {
134 ed << "Particle is not selected yet !! Command ignored.";
136 return;
137 }
138 if( command == dumpCmd )
139 {
140
142 if (index <0)
143 {
145 }
146 else if ( index < theManager->GetProcessListLength())
147 {
148 currentProcess = (*theProcessList)(index);
149 if (currentProcess == nullptr)
150 {
151 ed << " no process at index of " << index
152 << " in the Process Vector";
154 }
155 else
156 {
158 }
159 }
160 else
161 {
162 ed << " illegal index !!! ";
164 currentProcess = nullptr;
165 }
166
167 }
168 else if( command==activateCmd )
169 {
170
173
174 }
175 else if( command==inactivateCmd )
176 {
177
180
181 }
182 else if( command==verboseCmd )
183 {
184
185
186 const char* temp = (const char*)(newValue);
187 std::istringstream is((char*)temp);
188 G4int Verbose, index;
189 is >>Verbose >>index;
190 if (index <0)
191 {
193
194 }
195 else if ( index < theManager->GetProcessListLength())
196 {
197 currentProcess = (*theProcessList)(index);
198 if (currentProcess == nullptr)
199 {
200 ed << " no process at index of " << index
201 << " in the Process Vector";
203 }
204 else
205 {
207 }
208 }
209 else
210 {
211 ed << " illegal index !!! ";
213 currentProcess = nullptr;
214 }
215 }
216}
std::ostringstream G4ExceptionDescription
G4VProcess * SetProcessActivation(G4VProcess *aProcess, G4bool fActive)
void SetVerboseLevel(G4int value)
static G4int GetNewIntValue(const char *paramString)
void CommandFailed(G4int errCode, G4ExceptionDescription &ed)
G4int ApplyCommand(const char *aCommand)
static G4UImanager * GetUIpointer()
void SetVerboseLevel(G4int value)
virtual void DumpInfo() const